Damerau-Levenshtein distance counts transposition as a single operation:
EditDistance treats transposition as separate deletion and insertion operations:
Cluster string data using Damerau-Levenshtein distance:
Cluster string data using
EditDistance:
DamerauLevenshteinDistance is less than or equal to
HammingDistance for strings of equal length:
DamerauLevenshteinDistance is less than or equal to
HammingDistance for vectors of equal length: