]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/legacy_icu_tokenizer.py
new word table layout for icu tokenizer
[nominatim.git] / nominatim / tokenizer / legacy_icu_tokenizer.py
index 6d3d11c163eed81995b8c2c7c71f7870de5395ec..59ad09aab86df60ac7afb5566668766e0cedb8da 100644 (file)
@@ -152,7 +152,7 @@ class LegacyICUTokenizer:
         """
         with connect(self.dsn) as conn:
             sqlp = SQLPreprocessor(conn, config)
-            sqlp.run_sql_file(conn, 'tokenizer/legacy_tokenizer_tables.sql')
+            sqlp.run_sql_file(conn, 'tokenizer/icu_tokenizer_tables.sql')
             conn.commit()
 
             LOG.warning("Precomputing word tokens")