Searched refs:string2 (Results 1 – 1 of 1) sorted by relevance
1030 def levenshtein(string1, string2): argument1043 if len(string1) < len(string2):1044 return levenshtein(string2, string1)1046 if len(string2) == 0:1049 previous_row = range(len(string2) + 1)1052 for j, char2 in enumerate(string2):