Revisiting Multiple Pattern Matching
Keywords:Text algorithms, pattern matching, multiple pattern matching, q-grams, bit-parallelism, compressed pattern matching
AbstractWe consider the classical exact multiple string matching problem. The proposed solution is based on a combination of a few ideas: using q-grams instead of single characters, pattern superimposition, bit-parallelism and alphabet size reduction. We discuss the pros and cons of various alternatives to achieve the possibly best combination of techniques. The main contribution of this paper are different alphabet mapping methods that allow to reduce memory requirements and use larger q-grams. The experimental results show that the presented algorithm is competitive in most practical cases. One of the tests shows also that tailoring our scheme to search over a byte-encoded text results in speedups in comparison to searching over a plain text.
Download data is not yet available.
How to Cite
Susik, R., Grabowski, S., & Fredriksson, K. (2019). Revisiting Multiple Pattern Matching. COMPUTING AND INFORMATICS, 38(4), 937–962. Retrieved from https://www.cai.sk/ojs/index.php/cai/article/view/2019_4_937