Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Two types of edit distance quantify the cost to transform between two strings. The Hamming distance gives the number of disagreements between words, usually of the same length. The Levenshtein distance is the number of one-element changes (adding, deleting, or substituting) needed to go from one word to the other.
Contributed by: Rickey Bowers Jr. (bitRAKE) (August 2008)
Open content licensed under CC BY-NC-SA
Wolfram Demonstrations Project
Published: August 25 2008