public interface WordSegmenter
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
finishTraining() |
void |
initializeTraining(double numTrees) |
void |
loadSegmenter(java.lang.String filename) |
java.util.List<HasWord> |
segment(java.lang.String s) |
void |
train(java.util.Collection<Tree> trees) |
void |
train(java.util.List<TaggedWord> sentence) |
void |
train(Tree trees) |
void initializeTraining(double numTrees)
void train(java.util.Collection<Tree> trees)
void train(Tree trees)
void train(java.util.List<TaggedWord> sentence)
void finishTraining()
void loadSegmenter(java.lang.String filename)
java.util.List<HasWord> segment(java.lang.String s)