]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_tokenizer_legacy_icu.py
make compund decomposition pure import feature
[nominatim.git] / test / python / test_tokenizer_legacy_icu.py
index b687d0e4203f182263070c380170f03354ec8d41..b86925ee5dd22b134bd66b7419db8b7c7b45f9d1 100644 (file)
@@ -151,8 +151,9 @@ def test_init_word_table(tokenizer_factory, test_config, place_row, word_table):
     tok = tokenizer_factory()
     tok.init_new_db(test_config)
 
-    assert word_table.get_partial_words() == {('te', 1), ('st', 1), ('52', 1),
+    assert word_table.get_partial_words() == {('test', 1), ('52', 1),
                                               ('no', 1), ('area', 2),
+                                              ('holzstrasse', 1), ('holzstr', 1),
                                               ('holz', 1), ('strasse', 1),
                                               ('str', 1)}