Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Strange/incorrect matching #100

Open
enunez opened this issue Mar 31, 2021 · 0 comments
Open

Strange/incorrect matching #100

enunez opened this issue Mar 31, 2021 · 0 comments

Comments

@enunez
Copy link

enunez commented Mar 31, 2021

stringSimilarity.findBestMatch('wall e', ['wall·e', 'wall']);
stringSimilarity.findBestMatch('wall-e', ['wall·e', 'wall']);
stringSimilarity.findBestMatch('wall_e', ['wall-e', 'wall']);

These all return 1, as though "wall" is the best match. They should all return 0, since they differ by only 1 character and are more symbolically similar.

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

No branches or pull requests

1 participant