]> git.openstreetmap.org Git - nominatim.git/commit
remove automatic setup of tokenizer directory
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Apr 2025 18:20:04 +0000 (20:20 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Apr 2025 18:20:04 +0000 (20:20 +0200)
commit186f562dd7208ce7174d12c8cbe18428f185fd36
treec720336104563572a76874cd7c779ca3fa46932b
parent9cf5eee5d4db2f6729318bd352aaf9faec46cbae
remove automatic setup of tokenizer directory

ICU tokenizer doesn't need any extra data anymore, so it doesn't
make sense to create a directory which then remains empty. If a
tokenizer needs such a directory in the future, it needs to create
it on its own and make sure to handle the situation correctly where
no project directory is used at all.
src/nominatim_db/tokenizer/base.py
src/nominatim_db/tokenizer/factory.py
src/nominatim_db/tokenizer/icu_tokenizer.py
test/python/conftest.py
test/python/dummy_tokenizer.py
test/python/tokenizer/test_factory.py
test/python/tokenizer/test_icu.py
test/python/tools/test_postcodes.py