public class HMMPOSTagger extends HMMTrainer implements POSTagger
| Constructor and Description |
|---|
HMMPOSTagger() |
HMMPOSTagger(HiddenMarkovModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String[]> |
convertToSequence(Sentence sentence) |
protected TagSet |
getTagSet() |
String[] |
tag(List<String> wordList)
词性标注
|
String[] |
tag(String... words)
词性标注
|
trainpublic HMMPOSTagger(HiddenMarkovModel model)
public HMMPOSTagger()
protected List<String[]> convertToSequence(Sentence sentence)
convertToSequence in class HMMTrainerprotected TagSet getTagSet()
getTagSet in class HMMTrainerCopyright © 2014–2021 码农场. All rights reserved.