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 . |
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 © 2015 The Apache Software Foundation. All rights reserved.