Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Nominatim should handle hyphenation tolerantly #4572

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Nominatim should handle hyphenation tolerantly #4572

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: Tordanik
[Submitted to the original trac issue database at 7.06pm, Friday, 14th September 2012]

Nominatim finds a street that has hyphens in its name only if the query uses the same hyphenation.

For example, Nominatim will find the "Donau-Schwaben-Strae" in Passau if the search term is also writen with hyphens:[[BR]]
[http://nominatim.openstreetmap.org/search.php?q=Donau-Schwaben-Stra%C3%9Fe%2C+Passau][[BR]]
However, it will not find it if you search for "Donauschwabenstrae" (an entirely plausible spelling if you haven't seen the name in writing before):[[BR]]
[http://nominatim.openstreetmap.org/search.php?q=Donauschwabenstrae%2C+Passau]

Expected behavior would be that hyphenation, like capitalization, is ignored when deciding whether an element should qualify as a search result.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 9.38pm, Wednesday, 21st August 2013]

See #4827 for general handling of composita.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant