Orlandi A., Venturini R. Space-efficient substring occurrence estimation. In: Algorithmica, vol. 74 (1) pp. 65 - 90. Springer, 2016. |

Abstract (English) |
In this paper we study the problem of estimating the number of occurrences of substrings in textual data: A text (T) on some alphabet (varSigma =[sigma ]) of length (n) is preprocessed and an index ({mathcal {I}}) is built. The index is used in lieu of the text to answer queries of the form (mathsf{Count}approx (P)), returning an approximated number of the occurrences of an arbitrary pattern (P) as a substring of (T). The problem has its main application in selectivity estimation related to the LIKE predicate in textual databases. Our focus is on obtaining an algorithmic solution with guaranteed error rates and small footprint. To achieve that, we first enrich previous work in the area of compressed text-indexing providing an optimal data structure that, for a given additive error (ell ge 1), requires (varTheta left( frac{n}{ell }log sigma right) ) bits. We also approach the issue of guaranteeing exact answers for sufficiently frequent patterns, providing a data structure whose size scales with the amount of such patterns. Our theoretical findings are supported by experiments showing the practical impact of our data structures. | |

URL: | http://link.springer.com/article/10.1007/s00453-014-9936-y | |

DOI: | 10.1007/s00453-014-9936-y | |

Subject | Indexing H.3.3 INFORMATION STORAGE AND RETRIEVAL. Information Search and Retrieval |

1) Download Document PDF |

Open access Restricted Private