{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T00:38:16Z","timestamp":1794530296541,"version":"4.9.1"},"reference-count":22,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1993,4]]},"abstract":"<jats:p>The Boyer\u2013Moore idea applied in exact string matching is generalized to approximate string matching. Two versions of the problem are considered. The k mismatches problem is to find all approximate occurrences of a pattern string (length m) in a text string (length n) with at most k mismatches. The generalized Boyer\u2013Moore algorithm is shown (under a mild independence assumption) to solve the problem in expected time $O(kn({1 \/ {(m - k) + ({k \/ c})}}))$, where c is the size of the alphabet. A related algorithm is developed for the k differences problem, where the task is to find all approximate occurrences of a pattern in a text with $ \\leqslant k$ differences (insertions, deletions, changes). Experimental evaluation of the algorithms is reported, showing that the new algorithms are often significantly faster than the old ones. Both algorithms are functionally equivalent with the Horspool version of the Boyer\u2013Moore algorithm when $k = 0$.<\/jats:p>","DOI":"10.1137\/0222018","type":"journal-article","created":{"date-parts":[[2005,2,24]],"date-time":"2005-02-24T06:38:56Z","timestamp":1109227136000},"page":"243-260","source":"Crossref","is-referenced-by-count":56,"title":["Approximate Boyer\u2013Moore String Matching"],"prefix":"10.1137","volume":"22","author":[{"given":"Jorma","family":"Tarhio","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Esko","family":"Ukkonen","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,31]]},"reference":[{"key":"R1","unstructured":"R. Baeza-Yates,  Efficient Text Searching, Ph.D. thesis, Report, CS-89-17, Computer Science Department, University of Waterloo, Waterloo, Ontario, Canada,  1989"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-51542-9_9"},{"key":"R3","doi-asserted-by":"publisher","DOI":"10.1145\/359842.359859"},{"key":"R4","doi-asserted-by":"crossref","unstructured":"W. Chang, J. Lampe,  Theoretical and empirical comparisons of approximate string matching algorithms,  Proceedings of the Third Symposium on Combinatorial Pattern Matching, Tucson, AZ,  1992,  172\u2013181","DOI":"10.1007\/3-540-56024-6_14"},{"key":"R5","doi-asserted-by":"crossref","unstructured":"W. Chang, E. Lawler,  Approximate string matching in sublinear expected time,  Proceedings of the 31st IEEE Annual Symposium on Foundations of Computer Science, IEEE Press, New York,  1990,  116\u2013124","DOI":"10.1109\/FSCS.1990.89530"},{"key":"R6","volume-title":"An Introduction to Probability Theory and Its Applications, Vol. I","author":"Feller W.","year":"1965"},{"key":"R7","volume-title":"An introduction to probability theory and its applications. Vol. II","author":"Feller William","year":"1966"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1145\/8307.8309"},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1016\/0885-064X(88)90008-8"},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0035772"},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(89)90188-9"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380100608"},{"key":"R13","unstructured":"P. Jokinen, J. Tarhio, E. Ukkonen,  A comparison of approximate string matching algorithms, Report, A-1991-7, Department of Computer Science, University of Helsinki, Helsinki, Finland,  1991"},{"key":"R14","volume-title":"Efficient string matching, extended abstract","author":"Kosaraju S. R.","year":"1988"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.1137\/0206024"},{"key":"R16","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(88)90045-1"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(89)90010-2"},{"key":"R18","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(80)90016-4"},{"key":"R19","doi-asserted-by":"publisher","DOI":"10.1016\/S0019-9958(85)80046-2"},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(85)90023-9"},{"key":"R21","unstructured":"E. Ukkonen, D. Wood,  Fast approximate string matching with suffix automata, Report, A-1990-4, Department of Computer Science, University of Helsinki, Helsinki, Finland,  1990"},{"key":"R22","doi-asserted-by":"publisher","DOI":"10.1145\/321796.321811"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/0222018","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:50:55Z","timestamp":1787338255000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/0222018"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1993,4]]},"references-count":22,"journal-issue":{"issue":"2","published-print":{"date-parts":[[1993,4]]}},"alternative-id":["10.1137\/0222018"],"URL":"https:\/\/doi.org\/10.1137\/0222018","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1993,4]]}}}