Space-Efficient Re-Pair Compression
Data Structures and Algorithms
2016-11-07 v1
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.
Cite
@article{arxiv.1611.01479,
title = {Space-Efficient Re-Pair Compression},
author = {Philip Bille and Inge Li Gørtz and Nicola Prezza},
journal= {arXiv preprint arXiv:1611.01479},
year = {2016}
}