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