]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/icu_token_analysis.py
Merge pull request #2775 from lonvia/remove-centos-instructions
[nominatim.git] / nominatim / tokenizer / icu_token_analysis.py
index 62e6a80a28d9df2b0c21c6074a92902263017239..3c4d729885450c5907283f9f7801f2df01296973 100644 (file)
@@ -23,7 +23,7 @@ class ICUTokenAnalysis:
     """
 
     def __init__(self, norm_rules: str, trans_rules: str,
-                 analysis_rules: Mapping[Optional[str], 'TokenAnalyzerRule[Any]']):
+                 analysis_rules: Mapping[Optional[str], 'TokenAnalyzerRule']):
         self.normalizer = Transliterator.createFromRules("icu_normalization",
                                                          norm_rules)
         trans_rules += ";[:Space:]+ > ' '"