]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/icu_tokenizer.yaml
documentation: clarify osm2pgsql isnt in project directory by default
[nominatim.git] / settings / icu_tokenizer.yaml
index 7f53c5a7a19e71b171c8bce33a1d62f8862f5f72..bebd49e924bcf08fa3da5cbb04c5cf4d3c486533 100644 (file)
@@ -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