We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
135/5000 I expected a shorter distance for Damerau Levenshtein because there is an exchange of two letters. Why are there the same results?
julia> compare("martha", "martht", DamerauLevenshtein()) 0.8333333333333334 julia> compare("martha", "martht", Levenshtein()) 0.8333333333333334
The text was updated successfully, but these errors were encountered:
The distance (evaluate) is one in both cases. You would find the same thing in R.
evaluate
Compare is 1 - distance /string length.
Sorry, something went wrong.
No branches or pull requests
135/5000
I expected a shorter distance for Damerau Levenshtein because there is an exchange of two letters. Why are there the same results?
The text was updated successfully, but these errors were encountered: