-
-
Notifications
You must be signed in to change notification settings - Fork 600
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
RFC: Edit distances for strings #151
Comments
For string distance functions, in the |
@Planeshifter We should probably turn this into a tracking issue for implementing various metrics (Hamming, Levenshtein, etc), and cross-link to the existing issues. |
I looked at Levenshtein distances for strings this morning. From the above discussion I am not sure if this is still wanted? Anyway, some notes: For fun, my implementation of Wikipedia's naive recursive algorithm, in Standard ML:
Very very very slow. This takes about 5 minutes.
Some links:
Do we want to do this? |
@rgizz Thanks for following up here. We have an initial implementation of Levenshtein as One additional hurdle is that the refactoring needs to address handling of grapheme clusters, as linked to in the following tracking issue: #1062. |
Checklist
RFC:
.Description
This RFC proposes the inclusion of edit distance functions to compare two strings, for example the Levenstein distance.
Related Issues
No.
Questions
What would be a good place inside of
stdlib
for string distance functions?The text was updated successfully, but these errors were encountered: