Automaton-based sublinear keyword pattern matching. (English) Zbl 1111.68428

Apostolico, Alberto (ed.) et al., String processing and information retrieval. 11th international conference, SPIRE 2004, Padova, Italy, October 5–8, 2004. Proceedings. Berlin: Springer (ISBN 3-540-23210-9/pbk). Lecture Notes in Computer Science 3246, 18-29 (2004).
Summary: We show how automaton-based sublinear (by sublinear, we mean that the number of symbol comparisons may be sublinear in input string length) keyword pattern matching (skpm) algorithms appearing in the literature can be seen as different instantiations of a general automaton-based skpm algorithm skeleton. Such algorithms use finite automata (FA) for efficient computation of string membership in a certain language. The algorithms were formally derived as part of a new skpm algorithm taxonomy, based on an earlier suffix-based skpm algorithm taxonomy. Such a taxonomy is based on deriving the algorithms from a common starting point by successively adding algorithm and problem details and has a number of advantages. It provides correctness arguments, clarifies the working of the algorithms and their interrelationships, helps in implementing the algorithms, and may lead to new algorithms being discovered by finding gaps in the taxonomy. We show how to arrive at the general algorithm skeleton and derive some instantiations, leading to well-known factor- and factor oracle-based algorithms. In doing so, we show the shift functions used for them can be (strengthenings of) shift functions used for suffix-based algorithms. This also results in a number of previously undescribed factor-based skpm algorithm variants, whose performance remains to be investigated.
For the entire collection see [Zbl 1056.68004].


68P20 Information storage and retrieval of data
68U15 Computing methodologies for text processing; mathematical typography


Full Text: DOI