Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support diacritics #34

Open
bambeusz opened this issue Jan 7, 2020 · 1 comment
Open

Support diacritics #34

bambeusz opened this issue Jan 7, 2020 · 1 comment

Comments

@bambeusz
Copy link

bambeusz commented Jan 7, 2020

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

@joshaven
Copy link
Owner

joshaven commented Jan 8, 2020 via email

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

No branches or pull requests

2 participants