-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyphenated names #65
Comments
this is how the |
|
Add acceptance-tests in order to gauge impact. |
Just checked, this is still an area we could improve. Something to think about for the near-ish future |
This feature will require
moving to alt-names milestone as it can only be solved for a maximum of 2 cases before then. |
I am facing a similar (maybe simpler ?) issue with french names. Would it help to add a hyphen |
As of the last time we checked in, we were waiting for good alt-names support before tackling this feature. We now have that functionality, and its worth looking at this again. My guess is that we would want to parse any streetnames coming in with formats like "Friedrich-Richter-Straße or Friedrich Richter Straße and store an alt-name of "FriedrichRichterStraße". This combined with proper hyphen handling would allow us to handle all 3 cases. Some questions: |
Yes, that sounds correct
I think tokenizing on hyphens would work, so long as we can handle the issues that tokenizing brings with it (such as not matching
I would be hesitant to put this logic in The other option would be to pass the locale information down to the |
Connects pelias/schema#301 Connects pelias/schema#375 Connects pelias/schema#65
Connects pelias/schema#301 Connects pelias/schema#375 Connects pelias/schema#65
Connects pelias/schema#301 Connects pelias/schema#375 Connects pelias/schema#65
names such as
51 Friedrich-Richter-Straße
(address-osmnode-2967205513) should be searchable using the tokens['friedrich','richter','strasse']
as well as['friedrichrichterstrasse']
and['friedrich-richter-strasse']
The text was updated successfully, but these errors were encountered: