Skip to content

Synonyms for french addresses #301

@adefarge

Description

@adefarge

Hi,
French addresses don't work when using the search feature with abbreviations.
For example:

  • boulevard saint-martin works
  • bd saint-martin doesn't work
  • boulevard saint martin doesn't work either

Ideally, we would like to find the address with the input bd st martin.

I see two problems here:

  1. The synonyms in custom_street.txt don't work because the peliasStreetTokenizer doesn't split on whitespace. But I see you are fixing this in Portland synonyms #291
  2. saint martin doesn't match saint-martin because of the hyphen. This can be solved by adding - to the name and street tokenizer.
  3. Libpostal sometimes parses martin as the neighbourhood or the city instead of the street. But that is another issue.

A more complete list of localized synonyms is also needed but that is less a problem because we can just add our own in our local install of pelias.

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions