paper

Computing q-gram Non-overlapping Frequencies on SLP Compressed Texts

arXiv:1107.3022

Abstract

Length- substrings, or -grams, can represent important characteristics of text data, and determining the frequencies of all -grams contained in the data is an important problem with many applications in the field of data mining and machine learning. In this paper, we consider the problem of calculating the {\em non-overlapping frequencies} of all -grams in a text given in compressed form, namely, as a straight line program (SLP). We show that the problem can be solved in time and space where is the size of the SLP. This generalizes and greatly improves previous work (Inenaga & Bannai, 2009) which solved the problem only for in time and space.

Computing q-gram Non-overlapping Frequencies on SLP Compressed Texts · wovepaper