]> git.openstreetmap.org Git - nominatim.git/commit
unify ICUNameProcessorRules and ICURuleLoader
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 29 Sep 2021 15:37:04 +0000 (17:37 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 1 Oct 2021 10:27:24 +0000 (12:27 +0200)
commit16daa57e4757e4daeffec1e61630f989727dc563
tree0cf955cd20dfb36409f3515f83e6be95893ee26f
parent5e5addcdbf20022b3fd76dc8c2275a1eecf12a3c
unify ICUNameProcessorRules and ICURuleLoader

There is no need for the additional layer of indirection that
the ICUNameProcessorRules class adds. The ICURuleLoader can
fill the database properties directly.
14 files changed:
nominatim/tokenizer/base.py
nominatim/tokenizer/factory.py
nominatim/tokenizer/icu_name_processor.py
nominatim/tokenizer/icu_rule_loader.py
nominatim/tokenizer/icu_tokenizer.py
nominatim/tokenizer/icu_variants.py
nominatim/tokenizer/legacy_tokenizer.py
nominatim/tools/check_database.py
test/python/dummy_tokenizer.py
test/python/test_tokenizer_icu.py
test/python/test_tokenizer_icu_name_processor.py
test/python/test_tokenizer_icu_rule_loader.py
test/python/test_tokenizer_legacy.py
test/python/test_tools_check_database.py