The String-to-String Correction Problem
- 1 January 1974
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 21 (1), 168-173
- https://doi.org/10.1145/321796.321811
Abstract
The string-to-string correction problem is to determine the distance between two strings as measured by the minimum cost sequence of “edit operations” needed to change the one string into the other. The edit operations investigated allow changing one symbol of a string into another single symbol, deleting one symbol from a string, or inserting a single symbol into a string. An algorithm is presented which solves this problem in time proportional to the product of the lengths of the two strings. Possible applications are to the problems of automatic spelling correction and determining the longest subsequence of characters common to two strings.Keywords
This publication has 1 reference indexed in Scilit:
- Spelling correction in systems programsCommunications of the ACM, 1970