Automata-based Algorithm for Multiple Word Matching

被引:0
|
作者
AbuSafiya, Majed [1 ]
机构
[1] Al Ahliyya Amman Univ, Software Engn Dept, Amman, Jordan
关键词
Algorithms; finite state automata; word matching; KMP;
D O I
10.14569/IJACSA.2021.0120358
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, an automata-based algorithm that finds the valid shifts of a given set of words W in text T is presented. Unlike known string matching algorithms, a preprocessing phase is applied to T and not to the words being searched for. In this phase, a deterministic finite state automaton (DFA) that recognizes the words in T is built and is augmented with their shifts in T. The preprocessing phase is relatively expensive in terms of time and space. However, it needs to be done once for any number of words to match in a given text document. The algorithm is analyzed for complexity, implemented and compared with an adjusted version of KMP algorithm. It showed better performance than KMP algorithm for large number of words to match in T.
引用
收藏
页码:490 / 494
页数:5
相关论文
共 50 条
  • [1] Hybrid Finite Automata-based Algorithm for Large Scale Regular Expression Matching
    He Wei
    Guo Yun-fei
    Hu Hong-chao
    [J]. INFORMATION TECHNOLOGY APPLICATIONS IN INDUSTRY, PTS 1-4, 2013, 263-266 : 3108 - 3113
  • [2] A learning automata-based memetic algorithm
    M. Rezapoor Mirsaleh
    M. R. Meybodi
    [J]. Genetic Programming and Evolvable Machines, 2015, 16 : 399 - 453
  • [3] A learning automata-based memetic algorithm
    Mirsaleh, M. Rezapoor
    Meybodi, M. R.
    [J]. GENETIC PROGRAMMING AND EVOLVABLE MACHINES, 2015, 16 (04) : 399 - 453
  • [4] MONAA: a Tool for Timed Pattern Matching with Automata-Based Acceleration
    Waga, Masaki
    Hasuo, Ichiro
    Suenaga, Kohei
    [J]. 2018 IEEE 3RD WORKSHOP ON MONITORING AND TESTING OF CYBER-PHYSICAL SYSTEMS (MT-CPS 2018), 2018, : 14 - 15
  • [5] Efficient Online Timed Pattern Matching by Automata-Based Skipping
    Waga, Masaki
    Hasuo, Ichiro
    Suenaga, Kohei
    [J]. FORMAL MODELING AND ANALYSIS OF TIMED SYSTEMS (FORMATS 2017), 2017, 10419 : 224 - 243
  • [6] Online Parametric Timed Pattern Matching with Automata-Based Skipping
    Waga, Masaki
    Andre, Etienne
    [J]. NASA FORMAL METHODS (NFM 2019), 2019, 11460 : 371 - 389
  • [7] Solving Parity Games Using an Automata-Based Algorithm
    Di Stasio, Antonio
    Murano, Aniello
    Perelli, Giuseppe
    Vardi, Moshe Y.
    [J]. IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2016, 9705 : 64 - 76
  • [8] A new learning automata-based sampling algorithm for social networks
    Rezvanian, Alireza
    Meybodi, Mohammad Reza
    [J]. INTERNATIONAL JOURNAL OF COMMUNICATION SYSTEMS, 2017, 30 (05)
  • [9] An adaptive learning automata-based ranking function discovery algorithm
    Javad Akbari Torkestani
    [J]. Journal of Intelligent Information Systems, 2012, 39 : 441 - 459
  • [10] Data clustering using a linear cellular automata-based algorithm
    de Lope, Javier
    Maravall, Dario
    [J]. NEUROCOMPUTING, 2013, 114 : 86 - 91