加载中…
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.

生成讲解博客的中文版本

生成AI智能校验的中文版本