# The String-to-String Correction Problem

@article{Wagner1974TheSC, title={The String-to-String Correction Problem}, author={Robert A. Wagner and Michael J. Fischer}, journal={J. ACM}, year={1974}, volume={21}, pages={168-173} }

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…

## Topics from this paper

## 3,224 Citations

An Extension of the String-to-String Correction Problem

- Mathematics, Computer ScienceJACM
- 1975

The set of allowable edit operations is extended to include the operation of interchanging the positions of two adjacent characters under certain restrictions on edit-operation costs, and it is shown that the extended problem can still be solved in time proportional to the product of the lengths of the given strings.

The string-to-string correction problem with block moves

- Computer ScienceTOCS
- 1984

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

The Binary String-to-String Correction Problem

- Mathematics
- 2013

String-to-String Correction is the process of transforming some mutable string M into an exact copy of some other string (the target string T), using a shortest sequence of well-defined edit…

Bounds for the String Editing Problem

- Computer Science, MathematicsJ. ACM
- 1976

It is shown that if the operations on symbols of the strings are restricted to tests of equality, then O(nm) operations are necessary (and sufficient) to compute the distance between two strings.

Practical Linear Space Algorithms for Computing String-Edit Distances

- Mathematics, Computer ScienceICIC
- 2006

Two practical algorithms for computing the edit distance between two strings are presented and the space complexity for the first is m + n + O(1), where m and n are the lengths of the input strings.

A string correction method based on the context-dependent similarity

- Mathematics
- 1988

Primitive sequences of patterns, phoneme sequences and spellings are essentially context-dependent. This paper describes the string-tostring correction problem based on the context-dependent edit…

A Faster Algorithm Computing String Edit Distances

- Mathematics, Computer ScienceJ. Comput. Syst. Sci.
- 1980

The string merging problem

- Computer Science, MathematicsBIT
- 1981

A special case where deletion is the only allowed edition operation is shown to have the longest common subsequence of the strings as its solution.

On the complexity of the Extended String-to-String Correction Problem

- Mathematics, Computer ScienceSTOC
- 1975

The CELLAR algorithm is presented, and proof that ESSCP, with WI < WC = WD = @@@@, 0 < WS < @ @@@, suitably encoded, is NP-complete is proved.

Learning String-Edit Distance

- Computer ScienceIEEE Trans. Pattern Anal. Mach. Intell.
- 1998

The stochastic model allows us to learn a string-edit distance function from a corpus of examples and is applicable to any string classification problem that may be solved using a similarity function against a database of labeled prototypes.

## References

SHOWING 1-5 OF 5 REFERENCES

Spelling correction in systems programs

- Computer ScienceCACM
- 1970

By using systems which perform spelling correction, the number of debugging runs per program has been decreased, saving both programmer and machine time.

POSTAL SERVICE SEE INSTRUCTIONS STATEMENT OF OWNERSHIP. MANAGEMENT AND CIRCULATION ON PAGE 2 (REVERSE)

- POSTAL SERVICE SEE INSTRUCTIONS STATEMENT OF OWNERSHIP. MANAGEMENT AND CIRCULATION ON PAGE 2 (REVERSE)
- 1973

Y, 10036 5, LOCATION OF THE HEADQUARTERS OR GENERAL BUS~NE~S OFFICES OF THE PUBLISHERS(NO, p,i.~r$) 1133 Avenue of the Amerleas~ New Yorkl N

- ~o~prm~r~ 1133 Avenue of the Americas 10036 6. NAMES AND ADDRESSES OF PUBLISHER, EDITOR, AND MANAGING EDITOR Association for ComEutin $ Machinery Inc., 1133 Avenue of the Americas, N.Y. 10036 EO'TOR(~ameaMad~¢"] Yorktown Heights, Raymond~GEE E'iMiller~ IBM~ Thomas J, Watson Research Ctr

~R~OUENCY OF,SSUE Quarterly

- ~R~OUENCY OF,SSUE Quarterly