arXiv · 1711.03205
A Grammar Compression Algorithm based on Induced Suffix Sorting
Abstract
We introduce GCIS, a grammar compression algorithm based on the induced suffix sorting algorithm SAIS, introduced by Nong et al. in 2009. Our solution builds on the factorization performed by SAIS during suffix sorting. We construct a context-free grammar on the input string which can be further reduced into a shorter string by substituting each substring by its correspondent factor. The resulting grammar is encoded by exploring some redundancies, such as common prefixes between suffix rules, which are sorted according to SAIS framework. When compared to well-known compression tools such as Re-Pair and 7-zip, our algorithm is competitive and very effective at handling repetitive string regarding compression ratio, compression and decompression running time.
Explore related subjects
Keep this discovery
Daniel Saad Nogueira Nunes, Felipe A. Louza, Simon Gog, Mauricio Ayala-Rincón, Gonzalo Navarro. 2017-11-08. A Grammar Compression Algorithm based on Induced Suffix Sorting. https://arxiv.org/abs/1711.03205
Cite the original work for its findings. Save a collection to share your selection of sources.