Questions tagged [optimal-string-alignment]

a variation of the Damerau-Levenshtein distance

For questions related to 'Optimal' String-Alignment Distance. This is a variation of the Damerau-Levenshtein distance that returns the strings' edit distance taking into account deletion, insertion, substitution, and transposition, under the condition that no substring is edited more than once.

--Wikipedia

1 questions
6
votes
2 answers

Levenshtein Distance vs Damerau Levenstein vs Optimal String Alignment Distance

Could anyone explain in simple words (and maybe with an example) what the difference between the Levenshtein Distance, Damerau Levenstein, and Optimal String Alignment Distance? When would one use one over the other distance algorithm? And the Math…