]> git.openstreetmap.org Git - nominatim.git/commit
contract duplicate spaces in transliteration string
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 2 Dec 2022 09:15:02 +0000 (10:15 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 22 Mar 2023 09:14:15 +0000 (10:14 +0100)
commit3313369a395b9bd6bc57e0fe81a86a82f644d881
treeb4dd6ffbb92339f0211c025272fd3941cf6d9a0c
parent7d140970b76176bcb380fda92d7f615943540869
contract duplicate spaces in transliteration string

There are some pathological cases where an isolated letter may
be deleted because it is in itself meaningless. If this happens in
the middle of a sentence, then the transliteration contains two
consecutive spaces. Add a final rule to fix this.

See #2909.
settings/icu_tokenizer.yaml