Package | Description |
---|---|
opennlp.tools.cmdline.postag | |
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.uima.postag |
Package related to part-of-speech tagging.
|
Modifier and Type | Method and Description |
---|---|
protected POSModel |
POSModelLoader.loadModel(InputStream modelIn) |
Modifier and Type | Method and Description |
---|---|
POSModel |
ParserModel.getParserTaggerModel() |
Modifier and Type | Method and Description |
---|---|
ParserModel |
ParserModel.updateTaggerModel(POSModel taggerModel) |
Constructor and Description |
---|
ParserModel(String languageCode,
AbstractModel buildModel,
AbstractModel checkModel,
AbstractModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType) |
ParserModel(String languageCode,
AbstractModel buildModel,
AbstractModel checkModel,
AbstractModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType,
Map<String,String> manifestInfoEntries) |
ParserModel(String languageCode,
AbstractModel buildModel,
AbstractModel checkModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType type,
Map<String,String> manifestInfoEntries) |
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 |
POSTaggerTrainer.train(String languageCode,
ObjectStream<POSSample> samples,
POSDictionary tagDictionary,
Dictionary ngramDictionary,
int cutoff,
int iterations)
Deprecated.
|
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 . |
static POSModel |
POSTaggerME.train(String languageCode,
ObjectStream<POSSample> samples,
TrainingParameters trainParams,
POSTaggerFactory posFactory) |
Constructor and Description |
---|
POSTaggerME(POSModel model)
Initializes the current instance with the provided model
and the default beam size of 3.
|
POSTaggerME(POSModel model,
int beamSize,
int cacheSize)
Initializes the current instance with the provided
model and provided beam size.
|
POSTaggerME(POSModel model,
int beamSize,
int cacheSize,
SequenceValidator<String> sequenceValidator)
Deprecated.
use
POSTaggerME.POSTaggerME(POSModel, int, int) instead. The model
knows which SequenceValidator to use. |
Modifier and Type | Method and Description |
---|---|
POSModel |
POSModelResource.getModel() |
POSModel |
POSModelResourceImpl.getModel() |
protected POSModel |
POSModelResourceImpl.loadModel(InputStream in) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.