]> git.openstreetmap.org Git - nominatim.git/commit
icu tokenizer: move transliteration rules in separate file
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 26 May 2021 18:50:34 +0000 (20:50 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 4 Jul 2021 08:28:20 +0000 (10:28 +0200)
commit6ba00e6aee2645ad958857a0df170915c8e59cdb
tree34722ea91dfbb6046f014d46ed9313c7da148327
parentde4fac33dcf7f5bfa09d4ecb102f37b7f45f1ccc
icu tokenizer: move transliteration rules in separate file

The tokenizer configuration has become difficult to handle
due to the additional manual transliteration rules. Allow
to have a separate rule file that is given to the ICU library
as is.
CMakeLists.txt
nominatim/tokenizer/legacy_icu_tokenizer.py
settings/icu_transliteration.rules [new file with mode: 0644]
settings/legacy_icu_tokenizer.json