Algorithms for approximate string matching
Open accessThe DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.
Abstract
The edit distance between strings a 1 … a m and b 1 … b n is the minimum cost s of a sequence of editing steps (insertions, deletions, changes) that convert one string into the other. A well-known tabulating method computes s as well as the corresponding editing sequence in time and in space O ( mn ) (in space O (min( m, n )) if the editing sequence is not required). Starting from this method, we develop an improved algorithm that works in time and in space O ( s · min( m, n )). Another improvement with time O ( s · min( m, n )) and space O ( s · min( s, m, n )) is given for the special case where all editing steps have the same cost independently of the characters involved. If the editing sequence that gives cost s is not required, our algorithms can be implemented in space O (min( s, m, n )). Since s = O (max( m, n )), the new methods are always asymptotically as good as the original tabulating method. As a by-product, algorithms are obtained that, given a threshold value t , test in time O ( t · min( m, n )) and in space O (min( t, m, n )) whether s ⩽ t . Finally, different generalized edit distances are analyzed and conditions are given under which our algorithms can be used in conjunction with extended edit operation sets, including, for example, transposition of adjacent characters.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Binary Codes capable of currecting deletions, insertions, and reversals
Levenshtein, V. I. (1965) · Soviet physics. Doklady · Cited by 15,232
Needleman, S. B., & Wunsch, C. D. (1970) · Journal of Molecular Biology · doi:10.1016/0022-2836(70)90057-4 · Cited by 11,288
The String-to-String Correction Problem
Wagner, R. A., & Fischer, M. J. (1974) · Journal of the ACM · doi:10.1145/321796.321811 · Cited by 3,032
On the Theory and Computation of Evolutionary Distances
Sellers, P. H. (1974) · SIAM Journal on Applied Mathematics · doi:10.1137/0126070 · Cited by 474
Speech discrimination by dynamic programming
Vintsyuk, T. K. (1972) · Cybernetics · doi:10.1007/bf01074755 · Cited by 431
The theory and computation of evolutionary distances: Pattern recognition
Sellers, P. H. (1980) · Journal of Algorithms · doi:10.1016/0196-6774(80)90016-4 · Cited by 372
An Extension of the String-to-String Correction Problem
Wagner, R. A., & Lowrance, R. (1975) · Journal of the ACM · doi:10.1145/321879.321880 · Cited by 313
Matching Sequences under Deletion/Insertion Constraints
Sankoff, D. (1972) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.69.1.4 · Cited by 296
Cited by
A Greedy Algorithm for Aligning DNA Sequences
Zhang, Z., Schwartz, S., Wagner, L., & Miller, W. (2000) · Journal of Computational Biology · doi:10.1089/10665270050081478 · Cited by 5,478
REPuter: the manifold applications of repeat analysis on a genomic scale
Kurtz, S. (2001) · Nucleic Acids Research · doi:10.1093/nar/29.22.4633 · Cited by 2,618
A guided tour to approximate string matching
Navarro, G. (2001) · ACM Computing Surveys · doi:10.1145/375360.375365 · Cited by 2,561
LTRharvest, an efficient and flexible software for de novo detection of LTR retrotransposons
Ellinghaus, D., Kurtz, S., & Willhoeft, U. (2008) · BMC Bioinformatics · doi:10.1186/1471-2105-9-18 · Cited by 1,641
Optimal alignments in linear space
Myers, E. W., & Miller, W. (1988) · Bioinformatics · doi:10.1093/bioinformatics/4.1.11 · Cited by 1,235
Fast text searching: allowing errors
Wu, S., & Manber, U. (1992) · Communications of the ACM · doi:10.1145/135239.135244 · Cited by 727
Approximate string-matching with q-grams and maximal matches
Ukkonen, E. (1992) · Theoretical Computer Science · doi:10.1016/0304-3975(92)90143-4 · Cited by 605
Self-citationBird, C., Gourley, A., Devanbu, P., Gertz, M., & Swaminathan, A. (2006) · Proceedings of the 2006 international workshop on Mining software repositories · doi:10.1145/1137983.1138016 · Cited by 552
[39] Unified approach to alignment and phylogenies
Hein, J. (1990) · Methods in Enzymology · doi:10.1016/0076-6879(90)83041-7 · Cited by 382
Algorithms for Finding Patterns in Strings
AHO, A. V. (1990) · Algorithms and Complexity · doi:10.1016/b978-0-444-88071-0.50010-2 · Cited by 373
Diesner, J., Frantz, T. L., & Carley, K. M. (2005) · Computational and Mathematical Organization Theory · doi:10.1007/s10588-005-5377-0 · Cited by 308
Edlib: a C/C ++ library for fast, exact sequence alignment using edit distance
Šošić, M., & Šikić, M. (2017) · Bioinformatics · doi:10.1093/bioinformatics/btw753 · Cited by 245
GraphAligner: rapid and versatile sequence-to-graph alignment
Rautiainen, M., & Marschall, T. (2020) · Genome Biology · doi:10.1186/s13059-020-02157-2 · Cited by 242
Oatk: a de novo assembly tool for complex plant organelle genomes
Zhou, C., Brown, M., Blaxter, M., Darwin Tree of Life Project Consortium, McCarthy, S. A., & Durbin, R. (2025) · Genome Biology · doi:10.1186/s13059-025-03676-6 · Cited by 223
General methods of sequence comparison
Waterman, M. S. (1984) · Bulletin of Mathematical Biology · doi:10.1007/bf02459498 · Cited by 208
Han, M., Kim, H., Gu, G., Park, K., & Han, W.-S. (2019) · Proceedings of the 2019 International Conference on Management of Data · doi:10.1145/3299869.3319880 · Cited by 203
Faster and More Accurate Sequence Alignment with SNAP
Zaharia, M., Bolosky, W. J., Curtis, K., Fox, A., Patterson, D. A., Shenker, S. J., Stoica, I. G., Karp, R. M., & Sittler, T. (2011) · arXiv (Cornell University) · doi:10.48550/arxiv.1111.5572 · Cited by 202
“Instead, we use an algorithm by Ukkonen [16] whose running time is O ( nd ) , where d is the edit distance between the strings, and whose space cost is O ( d ) .”
MethodInfluentialLandau, G. M., Myers, E. W., & Schmidt, J. P. (1998) · SIAM Journal on Computing · doi:10.1137/s0097539794264810 · Cited by 185
(1989) · Molecular Biology and Evolution · doi:10.1093/oxfordjournals.molbev.a040577 · Cited by 174
Paterson, M., & Dančík, V. (1994) · Lecture Notes in Computer Science · doi:10.1007/3-540-58338-6_63 · Cited by 165
“Ukkonen [ 29 ] formulates the problem of finding longest common subsequences in terms of directed graphs.”
BackgroundFast gap-affine pairwise alignment using the wavefront algorithm
Marco-Sola, S., Moure, J. C., Moreto, M., & Espinosa, A. (2021) · Bioinformatics · doi:10.1093/bioinformatics/btaa777 · Cited by 163
“We select the widely used Parasail library (Daily, 2016) that implements the diagonal method by Wozniak (Wozniak, 1997) (ParaDiag), the striped approach proposed by Farrar (Farrar, 2007) (ParaStrip), the prefix-scan algorithm (Daily et al. , 2015) (ParaScan) and the classical banded heuristic method (ParaBand).”
MethodAligning two sequences within a specified diagonal band
Chao, K.-M., Pearson, W. R., & Miller, W. (1992) · Bioinformatics · doi:10.1093/bioinformatics/8.5.481 · Cited by 159
“ting corners,’’ and was also proposed by Ukkonen (1985) and Fickett (1984).”
BackgroundEfficient multiple genome alignment
Höhl, M., Kurtz, S., & Ohlebusch, E. (2002) · Bioinformatics · doi:10.1093/bioinformatics/18.suppl_1.s312 · Cited by 159
“To close the gaps, MGA applies the greedy alignment algorithm of (Ukkonen, 1985).”
MethodTechnology dictates algorithms: recent developments in read alignment
Alser, M., Rotman, J., Deshpande, D., Taraszka, K., Shi, H., Baykal, P. I., Yang, H. T., Xue, V., Knyazev, S., Singer, B. D., et al. (2021) · Genome Biology · doi:10.1186/s13059-021-02443-7 · Cited by 144
Next generation database search algorithm for forensic mitogenome analyses
Huber, N., Parson, W., & Dür, A. (2018) · Forensic Science International: Genetics · doi:10.1016/j.fsigen.2018.09.001 · Cited by 108
Plagiarism in Take-home Exams: Help-seeking, Collaboration, and Systematic Cheating
Hellas, A., Leinonen, J., & Ihantola, P. (2017) · Proceedings of the 2017 ACM Conference on Innovation and Technology in Computer Science Education · doi:10.1145/3059009.3059065 · Cited by 50
Jacovi, A., Caciularu, A., Goldman, O., & Goldberg, Y. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.308 · Cited by 36
Jacovi, A., Caciularu, A., Goldman, O., & Goldberg, Y. (2023) · arXiv · doi:10.48550/arxiv.2305.10160 · Cited by 36
“tions (Ukkonen, 1985) and only covers specific cases (Myers, 1999).”
BackgroundImproving accuracy for identifying related PubMed queries by an integrated approach
Lu, Z., & Wilbur, W. J. (2009) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2008.12.006 · Cited by 18
Metadata
- Authors
- Ukkonen, E.
- Venue
- Information and Control
- Publisher
- Elsevier BV
- Published
- 1985-01
- Volume
- 64
- Issue
- 1-3
- Pages
- 100-118
- ISSN
- 0019-9958 (ISSN-L)
- OpenAlex
- W2011632873
- Cited by
- 610
- References
- 8
- FWCI
- 1.71
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.