Package | Description |
---|---|
opennlp.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.maxent.quasinewton | |
opennlp.model | |
opennlp.perceptron | |
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
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.chunking |
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
|
opennlp.tools.util |
Package containing utility data structures and algorithms used by multiple other packages.
|
opennlp.tools.util.model |
Modifier and Type | Class and Description |
---|---|
class |
GISModel
A maximum entropy model which has been trained using the Generalized
Iterative Scaling procedure (implemented in GIS.java).
|
Modifier and Type | Method and Description |
---|---|
MaxentModel |
DomainToModelMap.getModel(ModelDomain domain)
Get the model mapped to by the given ModelDomain key.
|
static MaxentModel |
TrainEval.train(EventStream events,
int cutoff) |
Modifier and Type | Method and Description |
---|---|
static void |
TrainEval.eval(MaxentModel model,
Reader r,
Evalable e) |
static void |
TrainEval.eval(MaxentModel model,
Reader r,
Evalable e,
boolean verbose) |
void |
Evalable.localEval(MaxentModel model,
Reader r,
Evalable e,
boolean verbose)
If the -l option is selected for evaluation, this method will be called
rather than TrainEval's evaluation method.
|
void |
ModelReplacementManager.replaceModel(MaxentModel model)
Replace the old model with a new one, forcing the replacement to wait until
all threads using the old model have finished using it.
|
void |
ModelSetter.setModel(MaxentModel m)
Assign a new MaxentModel value to a MaxentModel variable.
|
void |
DomainToModelMap.setModelForDomain(ModelDomain domain,
MaxentModel model)
Sets the model for the given domain.
|
Constructor and Description |
---|
ModelApplier(MaxentModel m) |
Modifier and Type | Class and Description |
---|---|
class |
QNModel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModel |
Modifier and Type | Class and Description |
---|---|
class |
PerceptronModel |
Modifier and Type | Field and Description |
---|---|
protected MaxentModel |
ChunkerME.model
The model used to assign chunk tags to a sequence of tokens.
|
Constructor and Description |
---|
ChunkerME(MaxentModel mod)
Deprecated.
|
ChunkerME(MaxentModel mod,
ChunkerContextGenerator cg)
Deprecated.
|
ChunkerME(MaxentModel mod,
ChunkerContextGenerator cg,
int beamSize)
Deprecated.
|
Constructor and Description |
---|
DocumentCategorizerME(MaxentModel model)
Deprecated.
|
DocumentCategorizerME(MaxentModel model,
FeatureGenerator... featureGenerators)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected MaxentModel |
NameFinderME.model |
Modifier and Type | Method and Description |
---|---|
static boolean |
TokenNameFinderModel.isModelValid(MaxentModel model) |
Constructor and Description |
---|
NameFinderME(MaxentModel mod)
Deprecated.
Use the new model API!
|
NameFinderME(MaxentModel mod,
NameContextGenerator cg)
Deprecated.
|
NameFinderME(MaxentModel mod,
NameContextGenerator cg,
int beamSize)
Deprecated.
|
Constructor and Description |
---|
Parser(MaxentModel buildModel,
MaxentModel checkModel,
POSTagger tagger,
Chunker chunker,
HeadRules headRules)
Deprecated.
|
Parser(MaxentModel buildModel,
MaxentModel checkModel,
POSTagger tagger,
Chunker chunker,
HeadRules headRules,
int beamSize,
double advancePercentage)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected MaxentModel |
BeamSearch.model |
Constructor and Description |
---|
BeamSearch(int size,
BeamSearchContextGenerator<T> cg,
MaxentModel model)
Creates new search object.
|
BeamSearch(int size,
BeamSearchContextGenerator<T> cg,
MaxentModel model,
int cacheSize) |
BeamSearch(int size,
BeamSearchContextGenerator<T> cg,
MaxentModel model,
SequenceValidator<T> validator,
int cacheSize) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ModelUtil.validateOutcomes(MaxentModel model,
String... expectedOutcomes)
Checks if the expected outcomes are all contained as outcomes in the given model.
|
Copyright © 2019 The Apache Software Foundation. All rights reserved.