scispace - formally typeset
Search or ask a question

Showing papers on "Approximate string matching published in 1978"


Journal ArticleDOI
TL;DR: A class of algorithms is presented for very rapid on-line detection of occurrences of a fixed set of pattern arrays as embedded subarrays in an input array by reducing the array problem to a string matching problem in a natural way and it is shown that efficient string matching algorithms may be applied to arrays.
Abstract: A class of algorithms is presented for very rapid on-line detection of occurrences of a fixed set of pattern arrays as embedded subarrays in an input array. By reducing the array problem to a string matching problem in a natural way, it is shown that efficient string matching algorithms may be applied to arrays. This is illustrated by use of the string-matching algorithm of Knuth, Morris and Pratt [7]. Depending on the data structure used for the preprocessed pattern graph, this algorithm may be made to run “real-time” or merely in linear time. Extensions can be made to nonrectangular arrays, multiple arrays of dissimilar sizes, and arrays of more than two dimensions. Possible applications are foreseen to problems such as detection of edges in digital pictures and detection of local conditions in board games.

134 citations


Book ChapterDOI
Zvi Galil1
17 Jul 1978
TL;DR: It is shown how to modify the Boyer-Moore string matching algorithm so that its worst case running time is linear.
Abstract: It is shown how to modify the Boyer-Moore string matching algorithm so that its worst case running time is linear.

47 citations