Practical approaches to reduce the space requirement of lempel-ziv--based compressed text indices

Author:

Arroyuelo Diego1,Navarro Gonzalo2

Affiliation:

1. Yahoo! Research Chile, Santiago, Chile

2. University of Chile, Santiago, Chile

Abstract

Given a text T [1¨ n ] over an alphabet of size σ, the full-text search problem consists in locating the occ occurrences of a given pattern P [1¨ m ] in T . Compressed full-text self-indices are space-efficient representations of the text that provide direct access to and indexed search on it. The LZ-index of Navarro is a compressed full-text self-index based on the LZ78 compression algorithm. This index requires about 5 times the size of the compressed text (in theory, 4 nH k ( T )+ o ( n logσ) bits of space, where H k ( T ) is the k -th order empirical entropy of T ). In practice, the average locating complexity of the LZ-index is Om log σ n + occ σ m /2), where occ is the number of occurrences of P . It can extract text substrings of length ℓ in O (ℓ) time. This index outperforms competing schemes both to locate short patterns and to extract text snippets. However, the LZ-index can be up to 4 times larger than the smallest existing indices (which use nH k ( T )+ o ( n logσ) bits in theory), and it does not offer space/time tuning options. This limits its applicability. In this article, we study practical ways to reduce the space of the LZ-index. We obtain new LZ-index variants that require 2(1+ϵ) nH k ( T ) + o ( n logσ) bits of space, for any 0<ϵ <1. They have an average locating time of O (1/ϵ( m log n + occ σ m /2 )), while extracting takes O (ℓ) time. We perform extensive experimentation and conclude that our schemes are able to reduce the space of the original LZ-index by a factor of 2/3, that is, around 3 times the compressed text size. Our schemes are able to extract about 1 to 2 MB of the text per second, being twice as fast as the most competitive alternatives. Pattern occurrences are located at a rate of up to 1 to 4 million per second. This constitutes the best space/time trade-off when indices are allowed to use 4 times the size of the compressed text or more.

Funder

Fondo Nacional de Desarrollo Científico y Tecnológico

Publisher

Association for Computing Machinery (ACM)

Subject

Theoretical Computer Science

Reference42 articles.

1. NATO ISI Series;Apostolico A.

2. Space-Efficient Construction of LZ-Index

3. Reducing the Space Requirement of LZ-Index

4. Arroyuelo D. Navarro G. and Sadakane K. 2010. Stronger Lempel-Ziv based compressed text indexing. Algorithmica DOI 10.1007/s00453-010-9443-8 To appear. http://www. dcc.uchile.cl/~darroyue/papers/algor2010.pdf. 10.1007/s00453-010-9443-8 Arroyuelo D. Navarro G. and Sadakane K. 2010. Stronger Lempel-Ziv based compressed text indexing. Algorithmica DOI 10.1007/s00453-010-9443-8 To appear. http://www. dcc.uchile.cl/~darroyue/papers/algor2010.pdf. 10.1007/s00453-010-9443-8

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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