arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1303.6481cs.DS
收藏

利用磁盘上压缩空间的后缀数组进行大规模模式搜索

Large-Scale Pattern Search Using Reduced-Space On-Disk Suffix Arrays

Simon Gog, Alistair Moffat, J. Shane Culpepper, Andrew Turpin, Anthony Wirth

摘要:

后缀数组是一种用于内存模式搜索的有效数据结构。后缀数组也可以用于外部内存模式搜索,通过两级结构,使用内部索引来识别正确的后缀指针块。在本文中,我们描述了一个新的两级后缀数组为基础的索引结构,需要显着减少磁盘空间比以前的方法。节省的关键是使用基于前缀的磁盘块,而不是更常见的均匀采样方法,允许在块和其他块的子部分之间进行缩减。我们还描述了一个新的内存结构的基础上浓缩的BWT字符串,并表明,它允许常见的模式来解决,而无需访问文本。实验使用64 GB的英文网页文本和膝上计算机只有4 GB的主内存证明了新方法的速度和通用性。对于这些数据,索引的大小大约是以前两级机制的三分之一;内存占用仅为文本大小的1%,这意味着可以比紧凑的FM-INDEX更快地处理查询。

英文摘要:

The suffix array is an efficient data structure for in-memory pattern search. Suffix arrays can also be used for external-memory pattern search, via two-level structures that use an internal index to identify the correct block of suffix pointers. In this paper we describe a new two-level suffix array-based index structure that requires significantly less disk space than previous approaches. Key to the saving is the use of disk blocks that are based on prefixes rather than the more usual uniform-sampling approach, allowing reductions between blocks and subparts of other blocks. We also describe a new in-memory structure based on a condensed BWT string, and show that it allows common patterns to be resolved without access to the text. Experiments using 64 GB of English web text and a laptop computer with just 4 GB of main memory demonstrate the speed and versatility of the new approach. For this data the index is around one- third the size of previous two-level mechanisms; and the memory footprint of as little as 1% of the text size means that queries can be processed more quickly than is possible with a compact FM-INDEX.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑