Edit Distance

Initializing live version
Download to Desktop

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




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.