Levenshtein Edit Distance

Measures the minimum number of single-character insertions, deletions and substitutions needed to transform one string into another.

Method

Compute minimum unit-cost insertions, deletions and substitutions through dynamic programming in O(mn) time for lengths m,n. Transposition is not a basic Levenshtein operation.

Applications

Spell checking, record linkage, OCR cleanup, legal discovery and entity resolution.

Advantages

Offers a structured approach within the stated model and assumptions.

Limitations

Transposition is not a basic Levenshtein operation.

Editorial clarification

Scope and assumptions corrected against the cited reference.

Sources

Educational reference only, not professional advice.

All algorithms