Edit distance
In computational linguistics and computer science, edit distance is a string metric, i.e. a way of quantifying how dissimilar two strings are to one another, that is measured by counting the minimum number of operations required to transform one string into the other. Edit distances find applications in natural language processing, where automatic spelling correction can determine candidate corrections for a misspelled word by selecting words from a dictionary that have a low distance to the word in question. In bioinformatics, it can be used to quantify the similarity of DNA sequences, which can be viewed as strings of the letters A, C, G and T.
Related work
- chaipat.cc, the ask-me-anything site Key work Nov 2026
After planning the original question, the page can try a spelling fallback using Damerau–Levenshtein edit distance against the site's vocabulary.
- thealgorithm Jan 2025
Text and data: cosine similarity and edit distance. Machine learning: Pegasos, a fast method for training support-vector machines.