paper

Grammar-Compressed Indexes with Logarithmic Search Time

arXiv:2004.01032

Abstract

Let a text be the only string generated by a context-free grammar with (terminal and nonterminal) symbols, and of size (measured as the sum of the lengths of the right-hand sides of the rules). Such a grammar, called a grammar-compressed representation of , can be encoded using essentially bits. We introduce the first grammar-compressed index that uses bits and can find the occurrences of patterns in time . We implement the index and demonstrate its practicality in comparison with the state of the art, on highly repetitive text collections.

arXiv admin note: substantial text overlap with arXiv:1110.4493

Grammar-Compressed Indexes with Logarithmic Search Time · wovepaper