public class WordPredictor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WordPredictor.Prediction |
Constructor and Description |
---|
WordPredictor() |
Modifier and Type | Method and Description |
---|---|
java.util.List<WordPredictor.Prediction> |
predictWord(java.lang.String seed) |
void |
reset() |
void |
train(java.lang.String[] tokens) |
public void reset()
public void train(java.lang.String[] tokens)
public java.util.List<WordPredictor.Prediction> predictWord(java.lang.String seed)