The String-to-String Correction Problem

  • Authors:
  • Robert A. Wagner;Michael J. Fischer

  • Affiliations:
  • System and Information Science Department, Vanderbilt University, Nashville, TN;Project MAC, Massachusetts Institute of Technology, 545 Technology Square, Cambridge, MA

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1974

Quantified Score

Hi-index 0.13

Visualization

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.