Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.cmdline | |
opennlp.tools.doccat |
Package for classifying a document into a category.
|
opennlp.tools.namefind |
Package related to finding proper names and numeric amounts.
|
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.parser.chunking |
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
|
opennlp.tools.parser.treeinsert |
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.sentdetect |
Package related to identifying sentece boundries.
|
opennlp.tools.tokenize |
Contains classes related to finding token or words in a string.
|
opennlp.tools.util |
Package containing utility data structures and algorithms used by multiple other packages.
|
opennlp.tools.util.model |
Modifier and Type | Method and Description |
---|---|
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
ChunkerContextGenerator contextGenerator,
TrainingParameters mlParams)
Deprecated.
|
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
TrainingParameters mlParams,
ChunkerFactory factory) |
Constructor and Description |
---|
ChunkerCrossValidator(String languageCode,
TrainingParameters params,
ChunkerEvaluationMonitor... listeners)
|
ChunkerCrossValidator(String languageCode,
TrainingParameters params,
ChunkerFactory factory,
ChunkerEvaluationMonitor... listeners) |
Modifier and Type | Field and Description |
---|---|
protected TrainingParameters |
AbstractTrainerTool.mlParams |
Modifier and Type | Method and Description |
---|---|
static TrainingParameters |
CmdLineUtil.loadTrainingParameters(String paramFile,
boolean supportSequenceTraining) |
Modifier and Type | Method and Description |
---|---|
static DoccatModel |
DocumentCategorizerME.train(String languageCode,
ObjectStream<DocumentSample> samples,
TrainingParameters mlParams,
DoccatFactory factory) |
static DoccatModel |
DocumentCategorizerME.train(String languageCode,
ObjectStream<DocumentSample> samples,
TrainingParameters mlParams,
FeatureGenerator... featureGenerators)
Deprecated.
|
Constructor and Description |
---|
DoccatCrossValidator(String languageCode,
TrainingParameters mlParams,
DoccatFactory factory,
DoccatEvaluationMonitor... listeners)
Creates a
DoccatCrossValidator with the given
FeatureGenerator s. |
Modifier and Type | Method and Description |
---|---|
static TokenNameFinderModel |
NameFinderME.train(String languageCode,
String type,
ObjectStream<NameSample> samples,
TrainingParameters trainParams,
AdaptiveFeatureGenerator generator,
Map<String,Object> resources)
Deprecated.
|
static TokenNameFinderModel |
NameFinderME.train(String languageCode,
String type,
ObjectStream<NameSample> samples,
TrainingParameters trainParams,
byte[] featureGeneratorBytes,
Map<String,Object> resources)
Deprecated.
|
static TokenNameFinderModel |
NameFinderME.train(String languageCode,
String type,
ObjectStream<NameSample> samples,
TrainingParameters trainParams,
TokenNameFinderFactory factory) |
Constructor and Description |
---|
TokenNameFinderCrossValidator(String languageCode,
String type,
TrainingParameters trainParams,
byte[] featureGeneratorBytes,
Map<String,Object> resources,
SequenceCodec<String> codec,
TokenNameFinderEvaluationMonitor... listeners)
Name finder cross validator
|
TokenNameFinderCrossValidator(String languageCode,
String type,
TrainingParameters trainParams,
byte[] featureGeneratorBytes,
Map<String,Object> resources,
TokenNameFinderEvaluationMonitor... listeners) |
TokenNameFinderCrossValidator(String languageCode,
String type,
TrainingParameters trainParams,
TokenNameFinderFactory factory,
TokenNameFinderEvaluationMonitor... listeners) |
Modifier and Type | Method and Description |
---|---|
static Dictionary |
AbstractBottomUpParser.buildDictionary(ObjectStream<Parse> data,
HeadRules rules,
TrainingParameters params)
Creates a n-gram dictionary from the specified data stream using the specified head rule and specified cut-off.
|
Constructor and Description |
---|
ParserCrossValidator(String languageCode,
TrainingParameters params,
HeadRules rules,
ParserType parserType,
ParserEvaluationMonitor... monitors) |
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
boolean useTokenEnd,
Dictionary abbreviations,
TrainingParameters mlParams)
Deprecated.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
SentenceDetectorFactory sdFactory,
TrainingParameters mlParams) |
Constructor and Description |
---|
SDCrossValidator(String languageCode,
TrainingParameters params)
|
SDCrossValidator(String languageCode,
TrainingParameters params,
SentenceDetectorEvaluationMonitor... listeners)
Deprecated.
use
SDCrossValidator.SDCrossValidator(String, TrainingParameters, SentenceDetectorFactory, SentenceDetectorEvaluationMonitor...)
instead and pass in a TrainingParameters object. |
SDCrossValidator(String languageCode,
TrainingParameters params,
SentenceDetectorFactory sdFactory,
SentenceDetectorEvaluationMonitor... listeners) |
Modifier and Type | Method and Description |
---|---|
static TokenizerModel |
TokenizerME.train(ObjectStream<TokenSample> samples,
TokenizerFactory factory,
TrainingParameters mlParams)
Trains a model for the
TokenizerME . |
static TokenizerModel |
TokenizerME.train(String languageCode,
ObjectStream<TokenSample> samples,
boolean useAlphaNumericOptimization,
TrainingParameters mlParams)
Deprecated.
|
static TokenizerModel |
TokenizerME.train(String languageCode,
ObjectStream<TokenSample> samples,
Dictionary abbreviations,
boolean useAlphaNumericOptimization,
TrainingParameters mlParams)
Deprecated.
|
Constructor and Description |
---|
TokenizerCrossValidator(String language,
boolean alphaNumericOptimization,
TrainingParameters params,
TokenizerEvaluationMonitor... listeners)
Deprecated.
|
TokenizerCrossValidator(String language,
Dictionary abbreviations,
boolean alphaNumericOptimization,
TrainingParameters params,
TokenizerEvaluationMonitor... listeners)
Deprecated.
|
TokenizerCrossValidator(TrainingParameters params,
TokenizerFactory factory,
TokenizerEvaluationMonitor... listeners) |
Modifier and Type | Method and Description |
---|---|
static TrainingParameters |
TrainingParameters.defaultParams() |
TrainingParameters |
TrainingParameters.getParameters(String namespace) |
Modifier and Type | Method and Description |
---|---|
static TrainingParameters |
ModelUtil.createDefaultTrainingParameters()
Creates the default training parameters in case they are not provided.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.