Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider umlaut forms when building tokenized map
Allows for writing broadcast player replacements using umlaut form (i.e "Blübaum" instead of "Bluebaum") and have replacement happen even if the name in the PGN is spelled "Bluebaum". Previously each player replacement name was mapped into a single token string which identifies the replacement info: "Matthias Blübaum" -> Map("blubaum matthias" -> ReplacementInfo) Now names with umlauts will make an additional mapping: "Matthias Blübaum" -> Map("blubaum matthias" -> ReplacementInfo, "bluebaum matthias" -> ReplacementInfo) Relates: lichess-org#15152
- Loading branch information