]> git.openstreetmap.org Git - nominatim.git/commit
housenumber analyzer: avoid creating too many variants
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 16 Feb 2022 19:36:30 +0000 (20:36 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 1 Mar 2022 08:34:32 +0000 (09:34 +0100)
commit13ed184efd71c76fc0c69d9ab800ae44d82f9994
tree106118050bf9f7d0a888fb169bd3493088bc611d
parentf03a05f6bb33918712691657a2179c96da26e93b
housenumber analyzer: avoid creating too many variants

Housenumber fields with lots of text are likely bad data. So is
data with many changes from letter to digit. Exclude them from adding
optional spaces.
nominatim/tokenizer/token_analysis/housenumbers.py