Succinct data structures for flexible text retrieval systems
Succinct data structures for flexible text retrieval systems
复制标题
DOI:
10.1016/j.jda.2006.03.011
复制
发表时间:
2007-03
期刊:
影响因子:
--
通讯作者:
K. Sadakane
中科院分区:
文献类型:
--
作者:
K. Sadakane
We propose succinct data structures for text retrieval systems supporting document listing queries and ranking queries based on the tf*idf (term frequency times inverse document frequency) scores of documents. Traditional data structures for these problems support queries only for some predetermined keywords. Recently Muthukrishnan proposed a data structure for document listing queries for arbitrary patterns at the cost of data structure size. For computing the tf*idf scores there has been no efficient data structures for arbitrary patterns. Our new data structures support these queries using small space. The space is only 2/ϵ times the size of compressed documents plus 10n bits for a document collection of length n, for any 0<ϵ⩽1. This is much smaller than the previous O(nlogn) bit data structures. Query time is O(m+qlogϵn) for listing and computing tf*idf scores for all q documents containing a given pattern of length m. Our data structures are flexible in a sense that they support queries for arbitrary patterns.