X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6c6bbe574725464d302f2cea71b22515c5d1ad1a..95d4061b2aa67d7fd3d29099cc1cfd9f2b4022c8:/nominatim/tokenizer/icu_token_analysis.py diff --git a/nominatim/tokenizer/icu_token_analysis.py b/nominatim/tokenizer/icu_token_analysis.py index 62e6a80a..3c4d7298 100644 --- a/nominatim/tokenizer/icu_token_analysis.py +++ b/nominatim/tokenizer/icu_token_analysis.py @@ -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:]+ > ' '"