Damerau-Levenshtein distance
Type of Edit distance which takes into account only insert
, delete
, substitute
and transpose
operations. Extension of Levenshtein distance.
Algorithms
Algorithm | Time complexity | Space complexity |
---|---|---|
Extension of Wagner-Fischer1 | ||
Space-improved version of Wagner-Fischer1 |
Metric
Bard prooved that Damerau-Levenshtein is true metric. See Bard, Gregory. (2006). Spelling-Error Tolerant, Order-Independent Pass-Phrases via the Damerau-Levenshtein String-Edit Distance Metric ↗. IACR Cryptology ePrint Archive. 2006. 364.