@MISC{Meyer85incrementalstring, author = {Bertrand Meyer}, title = {INCREMENTAL STRING MATCHING}, year = {1985} }
Bookmark
OpenURL
Abstract
The problem studied in this paper is to search a given text for occurrences of certain strings, in the particular case where the set of strings may change as the search proceeds. A well-known algorithm by Aho and Corasick applies to the simpler case when the set of strings is known beforehand and does not change. This algorithm builds a transition diagram (finite automaton) from the strings, and uses it as a guide to traverse the text. The search can then be done in linear time. We show