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 条
  • [41] Fast searching games on graphs
    Stanley, Donald
    Yang, Boting
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2011, 22 (04) : 763 - 777
  • [42] FAST STRING SEARCHING ALGORITHM
    BOYER, RS
    MOORE, JS
    COMMUNICATIONS OF THE ACM, 1977, 20 (10) : 762 - 772
  • [43] FAST MULTIPLE KEYWORD SEARCHING
    KIM, JY
    SHAWETAYLOR, J
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 644 : 41 - 51
  • [44] Searching for Fast Demosaicking Algorithms
    Ma, Karima
    Gharbi, Michael
    Adams, Andrew
    Kamil, Shoaib
    Li, Tzu-Mao
    Barnes, Connelly
    Ragan-Kelley, Jonathan
    ACM TRANSACTIONS ON GRAPHICS, 2022, 41 (05):
  • [45] Fast Searching in Packed Strings
    Bille, Philip
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2009, 5577 : 116 - 126
  • [46] Lower Bounds on Fast Searching
    Stanley, Donald
    Yang, Boting
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2009, 5878 : 964 - +
  • [47] A fast natural algorithm for searching
    Arulanandham, JJ
    Calude, CS
    Dinneen, MJ
    THEORETICAL COMPUTER SCIENCE, 2004, 320 (01) : 3 - 13
  • [48] Fast searching on cactus graphs
    Xue, Yuan
    Yang, Boting
    Zilles, Sandra
    Wang, Lusheng
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2023, 45 (03)
  • [49] Fast searching on cactus graphs
    Yuan Xue
    Boting Yang
    Sandra Zilles
    Lusheng Wang
    Journal of Combinatorial Optimization, 2023, 45
  • [50] Fast searching games on graphs
    Donald Stanley
    Boting Yang
    Journal of Combinatorial Optimization, 2011, 22 : 763 - 777