Compressed representations of sequences and full-text indexes

Author:

Ferragina Paolo1,Manzini Giovanni2,Mäkinen Veli3,Navarro Gonzalo4

Affiliation:

1. Università di Pisa, Pisa, Italy

2. Università del Piemonte Orientale, Alessandria, Italy

3. University of Helsinki, Finland

4. University of Chile, santiago, chile

Abstract

Given a sequence S = s 1 s 2s n of integers smaller than r = O (polylog( n )), we show how S can be represented using nH 0 ( S ) + o ( n ) bits, so that we can know any s q , as well as answer rank and select queries on S , in constant time. H 0 ( S ) is the zero-order empirical entropy of S and nH 0 ( S ) provides an information-theoretic lower bound to the bit storage of any sequence S via a fixed encoding of its symbols. This extends previous results on binary sequences, and improves previous results on general sequences where those queries are answered in O (log r ) time. For larger r , we can still represent S in nH 0 ( S ) + o ( n log r ) bits and answer queries in O (log r /log log n ) time. Another contribution of this article is to show how to combine our compressed representation of integer sequences with a compression boosting technique to design compressed full-text indexes that scale well with the size of the input alphabet Σ. Specifically, we design a variant of the FM-index that indexes a string T [1, n ] within nH k ( T ) + o ( n ) bits of storage, where H k ( T ) is the k th-order empirical entropy of T . This space bound holds simultaneously for all k ≤ α log |Σ| n , constant 0 < α < 1, and |Σ| = O (polylog( n )). This index counts the occurrences of an arbitrary pattern P [1, p ] as a substring of T in O ( p ) time; it locates each pattern occurrence in O (log 1+ε n ) time for any constant 0 < ε < 1; and reports a text substring of length ℓ in O (ℓ + log 1+ε n ) time. Compared to all previous works, our index is the first that removes the alphabet-size dependance from all query times, in particular, counting time is linear in the pattern length. Still, our index uses essentially the same space of the k th-order entropy of the text T , which is the best space obtained in previous work. We can also handle larger alphabets of size |Σ| = O ( n β ), for any 0 < β < 1, by paying o ( n log|Σ|) extra space and multiplying all query times by O (log |Σ|/log log n ).

Publisher

Association for Computing Machinery (ACM)

Subject

Mathematics (miscellaneous)

Reference38 articles.

1. Crochemore M. and Rytter W. 1994. Text Algorithms. Oxford University Press. Crochemore M. and Rytter W. 1994. Text Algorithms. Oxford University Press.

2. A linear lower bound on index size for text retrieval

3. Boosting textual compression in optimal linear time

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

1. Optimizing Data Parallelism for FM-Based Short-Read Alignment on the Heterogeneous Non-Uniform Memory Access Architectures;Future Internet;2024-06-19

2. Bit-Parallel Wavelet Tree Construction (Abstract);Proceedings of the 2024 ACM Workshop on Highlights of Parallel Computing;2024-06-17

3. The Ring: Worst-case Optimal Joins in Graph Databases using (Almost) No Extra Space;ACM Transactions on Database Systems;2024-03-23

4. Faster Wavelet Tree Queries;2024 Data Compression Conference (DCC);2024-03-19

5. Rank and Select on Degenerate Strings;2024 Data Compression Conference (DCC);2024-03-19

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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