| Constructor and Description |
|---|
CRFPOSTagger() |
CRFPOSTagger(String modelPath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
convertCorpus(Sentence sentence,
BufferedWriter bw) |
protected String |
getDefaultFeatureTemplate() |
String[] |
tag(List<String> wordList) |
String[] |
tag(String... words) |
convertCorpus, createTagger, dumpTemplate, getTemplate, train, train, trainpublic CRFPOSTagger()
throws IOException
IOExceptionpublic CRFPOSTagger(String modelPath) throws IOException
IOExceptionprotected void convertCorpus(Sentence sentence, BufferedWriter bw) throws IOException
convertCorpus in class CRFTaggerIOExceptionprotected String getDefaultFeatureTemplate()
getDefaultFeatureTemplate in class CRFTaggerCopyright © 2014–2018 码农场. All rights reserved.