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.
|
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,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType,
Map<String,String> manifestInfoEntries) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel 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 |
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)
Deprecated.
the beam size should be specified in the params during training
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.