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 条
  • [31] Full-text searching
    Olson, MA
    DR DOBBS JOURNAL, 1999, 24 (05): : 10 - 10
  • [32] Hierarchies of indices for text searching
    BaezaYates, R
    Barbosa, EF
    Ziviani, N
    INFORMATION SYSTEMS, 1996, 21 (06) : 497 - 514
  • [33] Partial Derivative Automaton by Compressing Regular Expressions
    Konstantinidis, Stavros
    Machiavelo, Antonio
    Moreira, Nelma
    Reis, Rogerio
    DESCRIPTIONAL COMPLEXITY OF FORMAL SYSTEMS, DCFS 2021, 2021, 13037 : 100 - 112
  • [34] A NEW APPROACH TO TEXT SEARCHING
    BAEZAYATES, RA
    GONNET, GH
    PROCEEDINGS OF THE TWELFTH ANNUAL INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, 1989, 23 : 168 - 175
  • [35] Searching for Fast Radio Transients with FAST
    Zhou, D. J.
    Han, J. L.
    Zhang, Bing
    Zhu, W. W.
    2024 4TH URSI ATLANTIC RADIO SCIENCE MEETING, AT-RASC 2024, 2024,
  • [36] New Techniques for Regular Expression Searching
    Gonzalo Navarro
    Mathieu Raffinot
    Algorithmica , 2005, 41 : 89 - 116
  • [37] New techniques for regular expression searching
    Navarro, G
    Raffinot, M
    ALGORITHMICA, 2005, 41 (02) : 89 - 116
  • [38] Fast String Searching on PISA
    Jepsen, Theo
    Alvarez, Daniel
    Foster, Nate
    Kim, Changhoon
    Lee, Jeongkeun
    Moshref, Masoud
    Soule, Robert
    SOSR '19: PROCEEDINGS OF THE 2019 ACM SYMPOSIUM ON SDN RESEARCH, 2019, : 21 - 28
  • [39] A Fast Sentence Searching Algorithm
    Saxena, Rohit Kamal
    Singh, Kamlendra Pratap
    Jaiswal, U. C.
    COMPUTER NETWORKS AND INFORMATION TECHNOLOGIES, 2011, 142 : 557 - 561
  • [40] Fast String Searching Mechanism
    Hurtik, Petr
    Hodakova, Petra
    Perfilieva, Irina
    PROCEEDINGS OF THE 2015 CONFERENCE OF THE INTERNATIONAL FUZZY SYSTEMS ASSOCIATION AND THE EUROPEAN SOCIETY FOR FUZZY LOGIC AND TECHNOLOGY, 2015, 89 : 412 - 418