predict function

Compute the probability of categorical sequences using a probabilistic suffix tree