Unlike Hamming distance, edit distance allows one to compare strings of
different lengths. Oddly, Levenshtein introduced the definition of edit distance
but never described an algorithm for actually finding the edit distance
between two strings. This algorithm has been discovered and rediscovered
many times in applications ranging from automated speech recognition to,
obviously, molecular biology. Although the details of the algorithms are