Package org.carrot2.text.suffixtree
Class SuffixTreeBuilder
java.lang.Object
org.carrot2.text.suffixtree.SuffixTreeBuilder
Builds a suffix tree using method chains, thus avoiding direct dependency on specialized
constructors of
SuffixTree
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static SuffixTreeBuilder
Returns the builder for a suffix tree made fromsequence
.withStateCallback
(SuffixTree.IStateCallback callback)
-
Method Details
-
from
Returns the builder for a suffix tree made fromsequence
. -
build
- Returns:
- Return a new suffix tree according to current parameters. This method call may take a long time, depending on the length of the input sequence.
-
withProgressCallback
-
withStateCallback
-