pelias / parser

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

Recognise 'Lang' and 'Lange' as a prefix in streetname #136

Open emacgillavry opened 3 years ago

emacgillavry commented 3 years ago

The suffix 'Lange' (= long) should be treated just like 'Korte' (= short), but is currently also classified as an Area/Locality:

emacgillavry commented 3 years ago

"Lange" as part of the street name is however recognised as a locality/area. This classification is a result of the WhosOnFirstClassifier which derives "Lang" and "Lange" from the file name:eng_x_preferred.txt:

Ignoring these lines in a newly added file name:nld_x_preferred.txt like this:

lang !lange langé

does not work.

Looking for suggestions how to proceed @orangejulius @missinglink