Abstract
Re-Pair is an effective grammar-based compression scheme achieving strong compression rates in practice. Let , , and be the text length, alphabet size, and dictionary size of the final grammar, respectively. In their original paper, the authors show how to compute the Re-Pair grammar in expected linear time and words of working space on top of the text. In this work, we propose two algorithms improving on the space of their original solution. Our model assumes a memory word of bits and a re-writable input text composed by such words. Our first algorithm runs in expected time and uses words of space on top of the text for any parameter chosen in advance. Our second algorithm runs in expected time and improves the space to words.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.