Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.ml.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.tools.ml.maxent.io |
Provides the I/O functionality of the maxent package including reading
and writting models in several formats.
|
opennlp.tools.ml.maxent.quasinewton | |
opennlp.tools.ml.model | |
opennlp.tools.ml.perceptron | |
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.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.tokenize |
Contains classes related to finding token or words in a string.
|
opennlp.tools.util.model |
Modifier and Type | Method and Description |
---|---|
Event[] |
ChunkSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel 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 |
---|---|
AbstractModel |
GIS.doTrain(DataIndexer indexer) |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
GISModelReader.constructModel()
Retrieve a model from disk.
|
Constructor and Description |
---|
BinaryGISModelWriter(AbstractModel model,
DataOutputStream dos)
Constructor which takes a GISModel and a DataOutputStream and prepares
itself to write the model to that stream.
|
BinaryGISModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and prepares itself to write
the model to that file.
|
BinaryQNModelWriter(AbstractModel model,
DataOutputStream dos)
Constructor which takes a GISModel and a DataOutputStream and prepares
itself to write the model to that stream.
|
BinaryQNModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and prepares itself to write
the model to that file.
|
GISModelWriter(AbstractModel model) |
ObjectGISModelWriter(AbstractModel model,
ObjectOutputStream dos)
Constructor which takes a GISModel and a ObjectOutputStream and prepares
itself to write the model to that stream.
|
ObjectQNModelWriter(AbstractModel model,
ObjectOutputStream dos)
Constructor which takes a GISModel and a ObjectOutputStream and prepares
itself to write the model to that stream.
|
PlainTextGISModelWriter(AbstractModel model,
BufferedWriter bw)
Constructor which takes a GISModel and a BufferedWriter and prepares
itself to write the model to that writer.
|
PlainTextGISModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and prepares itself to
write the model to that file.
|
QNModelWriter(AbstractModel model) |
SuffixSensitiveGISModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and invokes the
GISModelWriter appropriate for the suffix.
|
Modifier and Type | Class and Description |
---|---|
class |
QNModel |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
QNTrainer.doTrain(DataIndexer indexer) |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
GenericModelReader.constructModel() |
abstract AbstractModel |
AbstractModelReader.constructModel() |
AbstractModel |
AbstractModelReader.getModel() |
Modifier and Type | Method and Description |
---|---|
Event[] |
SequenceStream.updateContext(Sequence sequence,
AbstractModel model)
Creates a new event array based on the outcomes predicted by the specified parameters
for the specified sequence.
|
Constructor and Description |
---|
GenericModelWriter(AbstractModel model,
DataOutputStream dos) |
GenericModelWriter(AbstractModel model,
File file) |
Modifier and Type | Class and Description |
---|---|
class |
PerceptronModel |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
PerceptronModelReader.constructModel()
Retrieve a model from disk.
|
AbstractModel |
PerceptronTrainer.doTrain(DataIndexer indexer) |
AbstractModel |
SimplePerceptronSequenceTrainer.doTrain(SequenceStream events) |
AbstractModel |
PerceptronTrainer.trainModel(int iterations,
DataIndexer di,
int cutoff) |
AbstractModel |
PerceptronTrainer.trainModel(int iterations,
DataIndexer di,
int cutoff,
boolean useAverage) |
AbstractModel |
SimplePerceptronSequenceTrainer.trainModel(int iterations,
SequenceStream sequenceStream,
int cutoff,
boolean useAverage) |
Constructor and Description |
---|
BinaryPerceptronModelWriter(AbstractModel model,
DataOutputStream dos)
Constructor which takes a GISModel and a DataOutputStream and prepares
itself to write the model to that stream.
|
BinaryPerceptronModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and prepares itself to
write the model to that file.
|
PerceptronModelWriter(AbstractModel model) |
PlainTextPerceptronModelWriter(AbstractModel model,
BufferedWriter bw)
Constructor which takes a PerceptronModel and a BufferedWriter and prepares
itself to write the model to that writer.
|
PlainTextPerceptronModelWriter(AbstractModel model,
File f)
Constructor which takes a PerceptronModel and a File and prepares itself to
write the model to that file.
|
SuffixSensitivePerceptronModelWriter(AbstractModel model,
File f)
Constructor which takes a GISModel and a File and invokes the
GISModelWriter appropriate for the suffix.
|
Modifier and Type | Method and Description |
---|---|
Event[] |
NameSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
static AbstractModel |
Parser.train(ObjectStream<Event> es,
int iterations,
int cut)
Deprecated.
Please do not use anymore, use the ObjectStream train methods instead! This method
will be removed soon.
|
Modifier and Type | Method and Description |
---|---|
static AbstractModel |
Parser.train(ObjectStream<Event> es,
int iterations,
int cut)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Event[] |
POSSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
protected void |
POSTaggerFactory.validatePOSDictionary(POSDictionary posDict,
AbstractModel posModel) |
Constructor and Description |
---|
TokenizerModel(String language,
AbstractModel tokenizerMaxentModel,
boolean useAlphaNumericOptimization)
Deprecated.
Use
TokenizerModel.TokenizerModel(MaxentModel, Map, TokenizerFactory)
instead and pass in a TokenizerFactory . |
TokenizerModel(String language,
AbstractModel tokenizerMaxentModel,
boolean useAlphaNumericOptimization,
Map<String,String> manifestInfoEntries)
Deprecated.
Use
TokenizerModel.TokenizerModel(MaxentModel, Map, TokenizerFactory)
instead and pass in a TokenizerFactory . |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
GenericModelSerializer.create(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
GenericModelSerializer.serialize(AbstractModel artifact,
OutputStream out) |
Copyright © 2015 The Apache Software Foundation. All rights reserved.