Let be a collection of documents, which are strings over an alphabet of size , of total length . We describe a data structure that uses linear space and and reports most relevant documents that contain a query pattern , which is a string of length , in time $O(p/\log_\sigma n+k)\lg D = \Theta(\log n)$, and involves a novel RAM-optimal suffix tree search. Our construction supports an ample set of important relevance measures… [clip] When , we show how to reduce the space of the data structure from to bits… [clip] We also consider the dynamic scenario, where documents can be inserted and deleted from the collection. We obtain linear space and query time , whereas insertions and deletions require time per symbol, for any constant . Finally, we consider an extended static scenario where an extra parameter is defined, and the query must retrieve only documents such that , where this range is specified at query time. We solve these queries using linear space and $O(p/\log_\sigma n + \log^{1+\epsilon} n + k\log^\epsilon n)\epsilon>0$. Our technique is to translate these top- problems into multidimensional geometric search problems. As an additional bonus, we describe some improvements to those problems.

生成讲解博客的中文版本

生成AI智能校验的中文版本