pelias / parser

natural language classification engine for geocoding
https://parser.demo.geocode.earth
MIT License
55 stars 27 forks source link

Street type '-plein' not recognised in Netherlands addresses #128

Closed emacgillavry closed 3 years ago

emacgillavry commented 3 years ago

Passing in "Rembrandtplein, Amsterdam", only Amsterdam is handled as a locality, but Rembrandtplein is not recognised as a street.

This bug is to track "Rembrandtplein", as part of PR #126 .

missinglink commented 3 years ago

Is this suffix 'separable', ie. do you ever see street names in the form "Rembrandt Plein" (two words)?

If so then we have some code to handle generating alternative forms, as it's also common in DE/CH where people may interchangeably use "Hauptstrasse" or "Haupt Strasse" or "Haupt-strasse" if they're unsure which form it should be written in.

https://github.com/openvenues/libpostal/blob/master/resources/dictionaries/nl/concatenated_suffixes_separable.txt