]> git.openstreetmap.org Git - nominatim.git/commit
move special hack for US states to legacy tokenizer
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 17 Aug 2021 12:28:55 +0000 (14:28 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 17 Aug 2021 12:28:55 +0000 (14:28 +0200)
commitf00b8dd1c315e0b887df340b1dc4f6cced3b06c2
treefdc1861d096ac7d28cfdfe10255f74891c0c47bb
parent5f2b9e317a2629da97178c37fe4fa816b39fb38f
move special hack for US states to legacy tokenizer

The hack for IL, AL and LA is only needed because these abbreviations
are removed by the legacy tokenizer as a stop word. There is no need
to keep the hack for future tokenizers. Move it therefore to the
token extraction function.
lib-php/Geocode.php
lib-php/Phrase.php
lib-php/tokenizer/legacy_tokenizer.php