mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 13:54:07 +00:00
fix name of transliterator
Should be different from the normalisation rules.
This commit is contained in:
@@ -127,7 +127,7 @@ class LegacyICUTokenizer:
|
|||||||
Analyzers are not thread-safe. You need to instantiate one per thread.
|
Analyzers are not thread-safe. You need to instantiate one per thread.
|
||||||
"""
|
"""
|
||||||
norm = Transliterator.createFromRules("normalizer", self.normalization)
|
norm = Transliterator.createFromRules("normalizer", self.normalization)
|
||||||
trans = Transliterator.createFromRules("normalizer", self.transliteration)
|
trans = Transliterator.createFromRules("trans", self.transliteration)
|
||||||
return LegacyICUNameAnalyzer(self.dsn, norm, trans, self.abbreviations)
|
return LegacyICUNameAnalyzer(self.dsn, norm, trans, self.abbreviations)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user