Package | Description |
---|---|
opennlp.tools.ml | |
opennlp.tools.ml.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.tools.ml.maxent.quasinewton | |
opennlp.tools.ml.model | |
opennlp.tools.ml.naivebayes | |
opennlp.tools.ml.perceptron |
Modifier and Type | Method and Description |
---|---|
DataIndexer |
AbstractEventTrainer.getDataIndexer(ObjectStream<Event> events) |
Modifier and Type | Method and Description |
---|---|
abstract MaxentModel |
AbstractEventTrainer.doTrain(DataIndexer indexer) |
MaxentModel |
AbstractEventTrainer.train(DataIndexer indexer) |
MaxentModel |
EventTrainer.train(DataIndexer indexer) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
GISTrainer.doTrain(DataIndexer indexer) |
GISModel |
GISTrainer.trainModel(int iterations,
DataIndexer di)
Train a model using the GIS algorithm.
|
GISModel |
GISTrainer.trainModel(int iterations,
DataIndexer di,
int threads)
Train a model using the GIS algorithm.
|
GISModel |
GISTrainer.trainModel(int iterations,
DataIndexer di,
Prior modelPrior,
int threads)
Train a model using the GIS algorithm.
|
Modifier and Type | Method and Description |
---|---|
AbstractModel |
QNTrainer.doTrain(DataIndexer indexer) |
QNModel |
QNTrainer.trainModel(int iterations,
DataIndexer indexer) |
Constructor and Description |
---|
NegLogLikelihood(DataIndexer indexer) |
ParallelNegLogLikelihood(DataIndexer indexer,
int threads) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataIndexer
Abstract class for collecting event and context counts used in training.
|
class |
OnePassDataIndexer
An indexer for maxent model data which handles cutoffs for uncommon
contextual predicates and provides a unique integer index for each of the
predicates.
|
class |
OnePassRealValueDataIndexer
An indexer for maxent model data which handles cutoffs for uncommon
contextual predicates and provides a unique integer index for each of the
predicates and maintains event values.
|
class |
TwoPassDataIndexer
Collecting event and context counts by making two passes over the events.
|
Modifier and Type | Method and Description |
---|---|
static DataIndexer |
DataIndexerFactory.getDataIndexer(TrainingParameters parameters,
Map<String,String> reportMap) |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
NaiveBayesTrainer.doTrain(DataIndexer indexer) |
AbstractModel |
NaiveBayesTrainer.trainModel(DataIndexer di) |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
PerceptronTrainer.doTrain(DataIndexer indexer) |
AbstractModel |
PerceptronTrainer.trainModel(int iterations,
DataIndexer di,
int cutoff) |
AbstractModel |
PerceptronTrainer.trainModel(int iterations,
DataIndexer di,
int cutoff,
boolean useAverage) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.