public abstract class HMMTrainer extends Object
| Constructor and Description |
|---|
HMMTrainer() |
HMMTrainer(HiddenMarkovModel model) |
HMMTrainer(HiddenMarkovModel model,
Vocabulary vocabulary) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<String[]> |
convertToSequence(Sentence sentence) |
protected abstract TagSet |
getTagSet() |
void |
train(String corpus) |
public HMMTrainer(HiddenMarkovModel model, Vocabulary vocabulary)
public HMMTrainer(HiddenMarkovModel model)
public HMMTrainer()
public void train(String corpus) throws IOException
IOExceptionprotected abstract TagSet getTagSet()
Copyright © 2014–2021 码农场. All rights reserved.