]> git.openstreetmap.org Git - nominatim.git/commit
remove special status of partial tokens
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Jul 2021 20:17:17 +0000 (22:17 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Jul 2021 20:17:17 +0000 (22:17 +0200)
commit143ff1446656ee995356c7a7b5eaa624140c70d8
tree1e96fe1e64efcf12f556c5e652f3fb7c4e968193
parent6070c3d1d58fb8737b387e8a3ef1f17fb1eb5d54
remove special status of partial tokens

Full-word tokens are no longer marked by a space at the
beginning of the token. Use the new Partial token category
instead. This removes a couple of special casing, we don't
really need.

The word table still has the space for compatibility reasons,
so the tokenizer code needs to get rid of it when loading the
tokens.
lib-php/Geocode.php
lib-php/SearchDescription.php
lib-php/TokenList.php
lib-php/tokenizer/legacy_icu_tokenizer.php
lib-php/tokenizer/legacy_tokenizer.php