X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a79a3210e69c648e3e5c1123b4049ce0419b484c..ef98a85b05f02068ada85dd50b15f2e960ca35bc:/settings/icu_tokenizer.yaml diff --git a/settings/icu_tokenizer.yaml b/settings/icu_tokenizer.yaml index 7f53c5a7..bebd49e9 100644 --- a/settings/icu_tokenizer.yaml +++ b/settings/icu_tokenizer.yaml @@ -30,7 +30,7 @@ sanitizers: - housenumber - conscriptionnumber - streetnumber - is-a-name: + convert-to-name: - (\A|.*,)[^\d,]{3,}(,.*|\Z) - step: split-name-list - step: strip-brace-terms @@ -41,6 +41,8 @@ sanitizers: mode: append token-analysis: - analyzer: generic + - id: "@housenumber" + analyzer: housenumbers - id: bg analyzer: generic mode: variant-only