1974/01/01 by Robert A. Wagner, Michael J. Fischer · 19 citations
Computer Science · Mathematics · #Algorithm #Algorithms and Data Compression #Approximate string matching #Artificial intelligence #Bounded function #Combinatorics #Commentz-Walter algorithm #Computer science #Edit distance #Longest common subsequence problem #Longest increasing subsequence #Mathematics #Natural Language Processing Techniques #Pattern matching #Physics #Programming language #Software Testing and Debugging Techniques #String (physics) #String metric #String searching algorithm #Subsequence #Symbol (formal) #Theoretical physics
paper · pdf · doi:10.1145/321796.321811
openalex publication_date 1974/01/01 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/03
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.