Package | Description |
---|---|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.util.model |
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 . |
Constructor and Description |
---|
POSTaggerCrossValidator(String languageCode,
ModelType modelType,
POSDictionary tagDictionary,
Dictionary ngramDictionary)
Deprecated.
use
POSTaggerCrossValidator.POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...)
instead and pass in a TrainingParameters object and a
POSTaggerFactory . |
POSTaggerCrossValidator(String languageCode,
ModelType modelType,
POSDictionary tagDictionary,
Dictionary ngramDictionary,
int cutoff,
int iterations)
Deprecated.
use
POSTaggerCrossValidator.POSTaggerCrossValidator(String, TrainingParameters, POSTaggerFactory, POSTaggerEvaluationMonitor...)
instead and pass in a TrainingParameters object and a
POSTaggerFactory . |
Modifier and Type | Method and Description |
---|---|
static ModelType |
ModelType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelType[] |
ModelType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.