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 · 术语表
什么是 Edit distance, alignment?
又称: 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.