|
|
|
|
|
by ne0phyte
3985 days ago
|
|
You could implement something like the Levenshtein distance [1] which is easy and still very fast. It gives you the difference between two strings in steps it takes to transform one into the other based on operations like insertion, deletion, substitution (and swapping two adjacent chars). [1] https://en.wikipedia.org/wiki/Levenshtein_distance |
|
[1] https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance