Package | Description |
---|---|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
Modifier and Type | Method and Description |
---|---|
static POSDictionary |
POSDictionary.create(InputStream in)
Creates a new
POSDictionary from a provided InputStream . |
POSDictionary |
POSModel.getTagDictionary()
Deprecated.
Use
POSModel.getFactory() to get a
POSTaggerFactory and
POSTaggerFactory.getTagDictionary() to get a
TagDictionary . |
Modifier and Type | Method and Description |
---|---|
static POSModel |
POSTaggerME.train(String languageCode,
ObjectStream<POSSample> samples,
ModelType modelType,
POSDictionary tagDictionary,
Dictionary ngramDictionary,
int cutoff,
int iterations)
Deprecated.
use
POSTaggerME.train(String, ObjectStream, TrainingParameters, POSTaggerFactory)
instead and pass in a POSTaggerFactory and a
TrainingParameters . |
static POSModel |
POSTaggerME.train(String languageCode,
ObjectStream<POSSample> samples,
TrainingParameters trainParams,
POSDictionary tagDictionary,
Dictionary ngramDictionary)
Deprecated.
use
POSTaggerME.train(String, ObjectStream, TrainingParameters, POSTaggerFactory)
instead and pass in a POSTaggerFactory . |
protected void |
POSTaggerFactory.validatePOSDictionary(POSDictionary posDict,
AbstractModel posModel) |
Copyright © 2015 The Apache Software Foundation. All rights reserved.