Skip to content

Support diacritics #34

Description

@bambeusz

So I stumbled on matching city names in Germany and particularly I have this:

'Gross-Gerau' .score('Groß-Gerau') => 0

I wonder if there's any chance that you can support mapping it first without diacritics as an option in the config? would be much easier this would be usage (as I see it):

'Gross-Gerau' .score('Groß-Gerau', { diacriticsMap: true }) => 1

or similar

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions