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

would it be possible to add the limit/threshold in the Damerau Levenshtein? #16

Open
SoulEvill opened this issue Mar 11, 2019 · 1 comment

Comments

@SoulEvill
Copy link

Can we add a parameter like threshold or limit, if distance is above the threshold then just stop calculation and return? if would be really helpful in some cases, where you need compare the distance in real-time and you don't want waster time if distance is too large.

@gfairchild
Copy link
Collaborator

I do like this idea. Let me think on how this would be implemented.

Note that I'm quite busy these days at work, so I won't be able to get to this right away. A PR would be much appreciated.

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