The edit distance between two sequences is the smallest number of operations that turn the first into the second, each operation inserting one element, deleting one, or replacing one by another. An alignment of two sequences writes them one above the other, with gaps, so that each column holds two equal elements, two different ones (a replacement), or an element and a gap (an insertion or a deletion).
Computer Science · Glossaire
Qu'est-ce que « Edit distance, alignment » ?
Aussi appelé : edit distance · alignment
The edit distance of two words is the smallest number of single-letter insertions, deletions and substitutions that turn into . An alignment of and writes them one above the other with gaps (written -), so that no column holds two gaps; its cost is the number of columns whose two entries differ.
train- over -rains.