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

基于后缀数组的两个简单全文索引

Two simple full-text indexes based on the suffix array

Szymon Grabowski, Marcin Raniszewski

摘要:

我们提出了两个后缀数组启发全文索引。一种称为SA哈希,它用一个哈希表来增加后缀数组,以加快模式搜索,因为在二进制搜索阶段之前搜索间隔大大缩小。另一种称为FBCSA,是一种紧凑的数据结构,类似于M{ä}kinen的紧凑后缀数组,但工作在固定大小的块上。在Pizza~\&~Chili 200\,MB数据集上的实验表明,SA散列在模式搜索(计数)方面比标准后缀数组快2- 3倍,代价是需要$0.2n-1.1n$字节的额外空间,其中$n$是文本长度,并设置最小模式长度。FBCSA在单个单元访问中相对较快(在大约相同或更好的压缩下比相关索引快几倍),但如果要提取许多连续单元,则没有竞争力。尽管如此,对于提取的任务,例如,10个连续的细胞,其时空关系仍然是有吸引力的。

英文摘要:

We propose two suffix array inspired full-text indexes. One, called SA-hash, augments the suffix array with a hash table to speed up pattern searches due to significantly narrowed search interval before the binary search phase. The other, called FBCSA, is a compact data structure, similar to M{ä}kinen's compact suffix array, but working on fixed sized blocks. Experiments on the Pizza~\&~Chili 200\,MB datasets show that SA-hash is about 2--3 times faster in pattern searches (counts) than the standard suffix array, for the price of requiring $0.2n-1.1n$ bytes of extra space, where $n$ is the text length, and setting a minimum pattern length. FBCSA is relatively fast in single cell accesses (a few times faster than related indexes at about the same or better compression), but not competitive if many consecutive cells are to be extracted. Still, for the task of extracting, e.g., 10 successive cells its time-space relation remains attractive.

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

↑