mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +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.
|
||||
"""
|
||||
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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user