English

A Grammar Compression Algorithm based on Induced Suffix Sorting

Data Structures and Algorithms 2017-11-10 v1

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.

Cite

@article{arxiv.1711.03205,
  title  = {A Grammar Compression Algorithm based on Induced Suffix Sorting},
  author = {Daniel Saad Nogueira Nunes and Felipe A. Louza and Simon Gog and Mauricio Ayala-Rincón and Gonzalo Navarro},
  journal= {arXiv preprint arXiv:1711.03205},
  year   = {2017}
}
R2 v1 2026-06-22T22:40:34.075Z