# Summary

The string-to-stringcorrection problem is to find a minimal sequence of edit operations for changing a given string into another given string. Extant algorithms compute a longest common subsequence (LCS) of the two strings and then regard the characters not included in the LCS as the differences. However, an LCS does not necessarily include all possible matches, and therefore does not produce the shortest edit sequence.

An algorithm that produces the shortest edit sequence transforming one string into another is presented. The algorithm is optimal in the sense that it generates a minimal covering set of common substrings of one string with respect to another.

Two improvements of the basic algorithm are developed. The first improvementperforms well on strings with few replicated symbols. The second improvement runs in time and space linear to the size of the input. Efficient algorithms for regenerating a string from an edit sequence are also presented.

# Bibtex

```
@article{tichy84a,
```

author={Walter F. Tichy},

title={The string-to-string correction problem with block moves},

year=1984,

month=Nov.,

publisher={ACM},

volume={2},

doi={http://dx.doi.org/10.1145/357401.357404},

number={4},

pages={309--321},

journal={Transactions on Computer Systems (TOCS)},

}