Abstract
We present simple and efficient algorithms for calculating -gram frequencies on strings represented in compressed form, namely, as a straight line program (SLP). Given an SLP of size that represents string , we present an time and space algorithm that computes the occurrence frequencies of -grams in . Computational experiments show that our algorithm and its variation are practical for small , actually running faster on various real string data, compared to algorithms that work on the uncompressed text. We also discuss applications in data mining and classification of string data, for which our algorithms can be useful.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.