Package | Description |
---|---|
opennlp.tools.ml.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.tools.ml.model |
Modifier and Type | Method and Description |
---|---|
static GISModel |
GIS.trainModel(int iterations,
DataIndexer indexer,
boolean printMessagesWhileTraining,
boolean smoothing,
Prior modelPrior,
int cutoff)
Train a model using the GIS algorithm.
|
static GISModel |
GIS.trainModel(int iterations,
DataIndexer indexer,
boolean printMessagesWhileTraining,
boolean smoothing,
Prior modelPrior,
int cutoff,
int threads)
Train a model using the GIS algorithm.
|
static GISModel |
GIS.trainModel(int iterations,
DataIndexer indexer,
Prior modelPrior,
int cutoff)
Train a model using the GIS algorithm with the specified number of
iterations, data indexer, and prior.
|
Constructor and Description |
---|
GISModel(Context[] params,
String[] predLabels,
String[] outcomeNames,
int correctionConstant,
double correctionParam,
Prior prior)
Creates a new model with the specified parameters, outcome names, and
predicate/feature labels.
|
Modifier and Type | Class and Description |
---|---|
class |
UniformPrior
Provide a maximum entropy model with a uniform prior.
|
Modifier and Type | Field and Description |
---|---|
protected Prior |
AbstractModel.prior
Prior distribution for this model.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.