Abstract
Realizations of Aho-Corasick pattern matching machines which deal with several keywords at a time are studied from the viewpoint of run-time and space complexity. New realizations by means of dividing character codes and transition tables are introduced and shown to be efficient. A time-space trade-off in such realizations is pointed out. Experimental results on run-time of our realizations are shown and compared with those of some other well-known pattern matching techniques. Applications of our realizations to sorting and searching for keywords are also discussed.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Knuth, D. E., Morris, J. H. and Pratt, V. R.: “Fast Pattern Matching in Strings,” TR CS-74-440 (Stanford Univ., 1974).
Boyer, R. S. and Moore, J. S.: “A Fast String Searching Algorithm,” Commun. ACM,20 (1977) 762–772.
Aho, A. V. and Corasick, M. J.: “Efficient String Matching,” Commun. ACM,18 (1975) 333–340.
Smit, G. de V.: “A Comparison of Three String Matching Algorithms,” Software-Pract. and Exper.,12 (1982) 57–66.
Guibas, L. J. and Odlyzko, A. M.: “A New Proof of the Linearity of the Boyer-Moore String Searching Algorithm,” SIAM J. Comput.,9 (1980) 672–682.
Rytter, W.: “A Correct Preprocessing Algorithm for Boyer-Moore String-Searching,” SIAM J. Comput.,9 (1980) 509–512.
Horspool, R. N.: “Practical Searching in Strings,” Software-Pract. and Exper.,10 (1980) 501–506.
Arikawa, S.: “One-Way Sequential Search Systems and Their Powers,” Bull. Math. Stat.,19 (1981) 69–85.
Arikawa, S., Shinohara, T., Shiraishi, S. and Tamakoshi, Y.: “SIGMA—An Information System for Researchers Use,” Bull. Informatics and Cybernetics,20 (1982) 97–114.
Aoe, J. et al.: “An Efficient Method for Storing and Retrieving Pattern Matching Machines,” Trans. Inform. Proc. Soc. of Japan,24 (1983) 414–420 [in Japanese].
Knuth, D. E.: “The Art of Computer Programming, Vol. 1, Sorting and Searching” (Addison-Wesley, 1973).
Bancilhon, F. et al.: “VERSO: A Relational Backend Database Machine,” Advanced Database Machine Architecture, (ed. Hsiao, D. K.) (Prentice-Hall, 1983) 1–18.
Boyer, R. S. and McCreight, E.: “Organization and Maintenance of Large Ordered Indexes,” Acta Informatica,1 (1972) 290–306.
McCreight, E.: “Pagination of B*-Trees with Variable-Length Records,” Commun. ACM,20 (1977) 670–674.
Author information
Authors and Affiliations
Additional information
The work was partly supported by Grant-in-Aid for Scientific Research, Ministry of Education, Science and Culture, No. 58580031 and No. 58880009.
About this article
Cite this article
Arikawa, S., Shinohara, T. A run-time efficient realization of Aho-Corasick pattern matching machines. NGCO 2, 171–186 (1984). https://doi.org/10.1007/BF03037101
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF03037101