AlgorithmsStringsEdit on GitHubEdit history
Levenshtein Distance
edit distance1965
An edit distance that defines the difference between two strings as the minimum number of insertions, deletions, and substitutions.
Origin
Lineage
Parent algorithms
Structural analysisWidens the substitution-only Hamming distance to also allow insertions and deletions; both arose from error-correcting code research.
Derived algorithms
Reference workComputes Levenshtein distance by dynamic programming and generalizes edit costs (the same DP was discovered independently by several researchers)
Author statementPresented as performing spelling correction with automata that recognize words within Levenshtein distance n. — doi:10.1007/s10032-002-0082-8
Structural analysisThe q-gram distance is used to derive a lower bound on edit distance for filtering approximate-matching candidates.
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…