Fast text searching for regular expressions or automaton searching on tries

被引:68
|
作者
BaezaYates, RA [1 ]
Gonnet, GH [1 ]
机构
[1] ETH ZURICH, CH-8093 ZURICH, SWITZERLAND
关键词
digital trees; finite automata; regular expressions; text searching;
D O I
10.1145/235809.235810
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We present algorithms for efficient searching of regular expressions on preprocessed text, using a Patricia tree as a logical model for the index. We obtain searching algorithms that run in logarithmic expected time in the size of the text for a wide subclass of regular expressions, and in sublinear expected time for any regular expression. This is the first such algorithm to be found with this complexity.
引用
收藏
页码:915 / 936
页数:22
相关论文
共 50 条