Levenshtein Distance

Online calculator for measuring Levenshtein distance between two words

Levenshtein distance (or edit distance) between two strings is the number of deletions, insertions, or substitutions required to transform source string into target string.

For example, if the source is "book" and target is "back," to transform "book" to "back," you will need to change first "o" to "a," second "o" to "c," without additional deletions and insertions, thus, Levenshtein distance will be 2.

Levenshtein distance is named after the Russian scientist Vladimir Levenshtein, who devised the algorithm in 1965.

This algorithm has a wide range of applications, such as spell checkers and correction systems for optical character recognition.

You can find more information, for example, in Wikipedia

PLANETCALC, Levenshtein Distance

Levenshtein Distance

Levenshtein Distance

URL copied to clipboard
Creative Commons Attribution/Share-Alike License 3.0 (Unported) PLANETCALC, Levenshtein Distance