Grammar Compression by Induced Suffix Sorting

Author:

Nunes Daniel S. N.1ORCID,Louza Felipe A.2ORCID,Gog Simon3ORCID,Ayala-Rincón Mauricio4ORCID,Navarro Gonzalo5ORCID

Affiliation:

1. Federal Institute of Brasília and Department of Computer Science, University of Brasília, Distrito Federal, Brazil

2. Faculty of Electrical Engineering, Federal University of Uberlândia, Minas Gerais, Brazil

3. eBay Inc., San Jose, California, USA

4. Departments of Computer Science and Mathematics, University of Brasília, Distrito Federal, Brazil

5. Center for Biotechnology and Bioengineering (CeBiB) and Department of Computer Science, University of Chile, Santiago, Chile

Abstract

A grammar compression algorithm, called GCIS, is introduced in this work. GCIS is based on the induced suffix sorting algorithm SAIS, presented by Nong et al. in 2009. The proposed solution builds on the factorization performed by SAIS during suffix sorting. A context-free grammar is used to replace factors by non-terminals. The algorithm is then recursively applied on the shorter sequence of non-terminals. The resulting grammar is encoded by exploiting some redundancies, such as common prefixes between right-hands of rules, sorted according to SAIS. GCIS excels for its low space and time required for compression while obtaining competitive compression ratios. Our experiments on regular and repetitive, moderate and very large texts, show that GCIS stands as a very convenient choice compared to well-known compressors such as Gzip 7-Zip; and RePair the gold standard in grammar compression; and recent compressors such as SOLCA, LZRR, and LZD. In exchange, GCIS is slow at decompressing. Yet, grammar compressors are more convenient than Lempel-Ziv compressors in that one can access text substrings directly in compressed form without ever decompressing the text. We demonstrate that GCIS is an excellent candidate for this scenario, because it shows to be competitive among its RePair based alternatives. We also show that the relation with SAIS makes GCIS a good intermediate structure to build the suffix array and the LCP array during decompression of the text.

Funder

FAP-DF

FAL

São Paulo Research Foundation

FAP-DF and CNPq

Basal Funds

Fondecyt

Publisher

Association for Computing Machinery (ACM)

Subject

Theoretical Computer Science

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Algorithm design and performance evaluation of sparse induced suffix sorting;Information Processing & Management;2024-09

2. Text Compression Algorithms Employed Vowels and Article Pattern;2023 7th International Conference on Information Technology (InCIT);2023-11-16

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3