A framework of context-sensitive grammar transform for speeding-up compressed pattern matching (CPM) is proposed. A greedy compression algorithm with the transform model is presented as well as a Knuth-Morris-Pratt (KMP)-type compressed pattern matching algorithm. The compression ratio is a match for gzip and Re-Pair, and the search speed of our CPM algorithm is almost twice faster than the KMP-type CPM algorithm on Byte-Pair-Encoding by Shibata et al. [18], and in the case of short patterns, faster than the Boyer-Moore-Horspool algorithm with the stopper encoding by Rautio et al. [14], which is regarded as one of the best combinations that allows a practically fast search. Copyright © 2010 The Institute of Electronics.
CITATION STYLE
Maruyama, S., Tanaka, Y., Sakamoto, H., & Takeda, M. (2010). Context-sensitive grammar transform: Compression and pattern matching. IEICE Transactions on Information and Systems, E93-D(2), 219–226. https://doi.org/10.1587/transinf.E93.D.219
Mendeley helps you to discover research relevant for your work.