Skip to content

Avoid matches on pure stop words #1072

Description

@lonvia

Photon is pretty dump in handling names and will happily match on any part of the name including stop words like articles, generics like 'street' or 'road'. This leads to really surprising results at times.

Two major tasks here:

  • Implement an algorithm to identify stop words. This can be tricky because it is highly language- and location dependent.
  • Change the index to ensure that the presence of stop words only improves scoring but doesn't cause a match.

Also to take into account: we cannot work with a constant list of stop words. What is a stop word in one name might be a relevant piece of information in another name. In the same language and location.

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