Package org.carrot2.text.suffixtree
package org.carrot2.text.suffixtree
Generalized suffix tree implementation.
-
ClassDescriptionA
Sequence
wrapper for anyCharSequence
.AnSequence
wrapper for an array of integers.A sequence of elements from which aSuffixTree
can be built.Builds a suffix tree (or generalized suffix tree) on a sequence of any integers (or objects that can be represented as unique integers).Progress callback is invoked when iterating forward through the input sequence elements.A callback invoked when new states are added to the tree.Visitor interface for traversals.Empty implementation recursively walking the entire suffix tree.Builds a suffix tree using method chains, thus avoiding direct dependency on specialized constructors ofSuffixTree
.