Support for searches in genitive/possessive form
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 259
- Forks
- 168
- Avg merge
- 6h 15m
- Merged PRs (30d)
- 1
Description
In many countries, it is quite common to use a parent admin region or even the street name as a prefix for a venue name. Both data conventions and user conventions vary. Unfortunately, from user's point of view, it may be frustrating to find the form which matches the data:
- Railway station, Helsinki
- Helsinki's Railway station, Helsinki
- Railway station of Helsinki, Helsinki
This is a real problem. For example, the search 'Porin kauppatori' does not hit the desired target 'Kauppatori, Pori' at all.
It would be great if Pelias could handle such issues automatically.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported search with “Porin kauppatori” and compare it with “Kauppatori, Pori” in the Pelias API. Review the existing search behavior before deciding how possessive, parent-region, and “of” forms should be handled; done means these variants find the intended venue without breaking existing searches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100