]> git.openstreetmap.org Git - nominatim.git/commit
improve penalty for token-split words
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 12 Aug 2023 09:26:02 +0000 (11:26 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 12 Aug 2023 09:26:02 +0000 (11:26 +0200)
commit3d0bc85b4d33c8e88321785762edb50e531aac55
tree320afc9ed484e0fb99a27e41793690a665092130
parent926c4a7d0444321b713e52deadfb0c9ab2b4f91d
improve penalty for token-split words

The rematch penalty for partial words created by the transliteration
need to take into account that they are rematched against the full word.
That means that missing beginning and end should not get a significant
penalty.
nominatim/api/search/icu_tokenizer.py