Generalize the Generalized Suffix tree