Open junxnone opened 4 years ago
Levenshtein
import Levenshtein str1 = 'abcdefghij' str2 = 'abcdefghij234567890' Levenshtein.ratio(str1, str2)
0.6896551724137931
Levenshtein
距离Reference
Brief