Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractDataIndexer<P> - Class in opennlp.tools.ml.model
-
Abstract
DataIndexerimplementation for collecting event and context counts used in training. - AbstractDataIndexer() - Constructor for class opennlp.tools.ml.model.AbstractDataIndexer
- AbstractEventModelSequenceTrainer<P> - Class in opennlp.tools.ml
-
A basic
EventModelSequenceTrainerimplementation that processesevents. - AbstractEventModelSequenceTrainer() - Constructor for class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- AbstractEventTrainer<P> - Class in opennlp.tools.ml
-
A basic
EventTrainerimplementation. - AbstractEventTrainer() - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractEventTrainer(P) - Constructor for class opennlp.tools.ml.AbstractEventTrainer
- AbstractMLModelWriter - Class in opennlp.tools.ml
- AbstractMLModelWriter() - Constructor for class opennlp.tools.ml.AbstractMLModelWriter
- AbstractModel - Class in opennlp.tools.ml.model
-
A basic
MaxentModelimplementation. - AbstractModel(Context[], String[], String[]) - Constructor for class opennlp.tools.ml.model.AbstractModel
-
Initializes an
AbstractModel. - AbstractModelReader - Class in opennlp.tools.ml.model
-
An abstract, basic implementation of a model reader.
- AbstractModelReader(File) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
-
Initializes a
AbstractModelReadervia aFile. - AbstractModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.AbstractModelReader
-
Initializes a
AbstractModelReadervia aDataReader. - AbstractModelWriter - Class in opennlp.tools.ml.model
-
An abstract, basic implementation of a model writer.
- AbstractModelWriter() - Constructor for class opennlp.tools.ml.model.AbstractModelWriter
- AbstractTrainer<P> - Class in opennlp.tools.ml
- AbstractTrainer() - Constructor for class opennlp.tools.ml.AbstractTrainer
- AbstractTrainer(P) - Constructor for class opennlp.tools.ml.AbstractTrainer
-
Initializes a
AbstractTrainerviaParameters. - add(String) - Method in class opennlp.tools.ml.model.SimpleEventStreamBuilder
- algorithm() - Method in class opennlp.tools.util.TrainingParameters
- algorithm(String) - Method in class opennlp.tools.util.TrainingParameters
B
- BEAM_SIZE_PARAMETER - Static variable in class opennlp.tools.ml.BeamSearch
- BeamSearch - Class in opennlp.tools.ml
-
Performs k-best search over a sequence.
- BeamSearch(int, MaxentModel) - Constructor for class opennlp.tools.ml.BeamSearch
-
Initializes a
BeamSearchinstance. - BeamSearch(int, MaxentModel, int) - Constructor for class opennlp.tools.ml.BeamSearch
-
Initializes a
BeamSearchinstance. - bestSequence(T[], Object[], BeamSearchContextGenerator, SequenceValidator) - Method in class opennlp.tools.ml.BeamSearch
-
Computes the best sequence of outcomes based on the
MaxentModel. - bestSequences(int, T[], Object[], double, BeamSearchContextGenerator, SequenceValidator) - Method in class opennlp.tools.ml.BeamSearch
-
Computes the best sequence of outcomes based on the
MaxentModel. - bestSequences(int, T[], Object[], BeamSearchContextGenerator, SequenceValidator) - Method in class opennlp.tools.ml.BeamSearch
-
Computes the best sequence of outcomes based on the
MaxentModel. - BinaryFileDataReader - Class in opennlp.tools.ml.model
-
A
DataReaderthat reads files from a binary format. - BinaryFileDataReader(DataInputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
-
Instantiates
BinaryFileDataReadervia anDataInputStream. - BinaryFileDataReader(File) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- BinaryFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.BinaryFileDataReader
- build() - Method in class opennlp.tools.ml.model.SimpleEventStreamBuilder
C
- calculateChecksum() - Method in class opennlp.tools.ml.model.ChecksumEventStream
-
Calculates and returns the (current) checksum.
- checkModelType() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Checks the model type via the the underlying
DataReader. - checkModelType() - Method in class opennlp.tools.ml.model.GenericModelReader
- ChecksumEventStream - Class in opennlp.tools.ml.model
-
A
Checksum-basedevent streamimplementation. - ChecksumEventStream(ObjectStream) - Constructor for class opennlp.tools.ml.model.ChecksumEventStream
-
Initializes an
ChecksumEventStream. - close() - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Closes the underlying
DataOutputStream. - close() - Method in class opennlp.tools.ml.model.FileEventStream
- close() - Method in class opennlp.tools.ml.model.GenericModelWriter
- close() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- ComparableEvent - Class in opennlp.tools.ml.model
-
A maxent event representation which we can use to sort based on the predicates indexes contained in the events.
- ComparableEvent(int, int[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
- ComparableEvent(int, int[], float[]) - Constructor for class opennlp.tools.ml.model.ComparableEvent
- ComparablePredicate - Class in opennlp.tools.ml.model
-
A maxent predicate representation which we can use to sort based on the outcomes.
- ComparablePredicate(String, int[], double[]) - Constructor for class opennlp.tools.ml.model.ComparablePredicate
- compareTo(ComparableEvent) - Method in class opennlp.tools.ml.model.ComparableEvent
- compareTo(ComparablePredicate) - Method in class opennlp.tools.ml.model.ComparablePredicate
- constructModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Constructs a
model. - constructModel() - Method in class opennlp.tools.ml.model.GenericModelReader
- contains(int) - Method in class opennlp.tools.ml.model.MutableContext
D
- DATA_INDEXER_ONE_PASS_REAL_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_ONE_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_PARAM - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DATA_INDEXER_TWO_PASS_VALUE - Static variable in class opennlp.tools.ml.AbstractEventTrainer
- DataIndexerFactory - Class in opennlp.tools.ml.model
-
A factory that produces
DataIndexerinstances. - DataIndexerFactory() - Constructor for class opennlp.tools.ml.model.DataIndexerFactory
- defaultParams() - Static method in class opennlp.tools.util.TrainingParameters
- DefaultTrainingProgressMonitor - Class in opennlp.tools.monitoring
-
The default implementation of
TrainingProgressMonitor. - DefaultTrainingProgressMonitor() - Constructor for class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
- display(boolean) - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
- doTrain(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
- doTrain(SequenceStream) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- DynamicEvalParameters - Class in opennlp.tools.ml.model
- DynamicEvalParameters(List, int) - Constructor for class opennlp.tools.ml.model.DynamicEvalParameters
-
Creates a set of parameters which can be evaluated with the eval method.
E
- equals(Object) - Method in class opennlp.tools.ml.model.AbstractModel
- equals(Object) - Method in class opennlp.tools.ml.model.ComparableEvent
- equals(Object) - Method in class opennlp.tools.ml.model.ComparablePredicate
- equals(Object) - Method in class opennlp.tools.ml.model.EvalParameters
- equals(Object) - Method in class opennlp.tools.ml.model.UniformPrior
- EvalParameters - Class in opennlp.tools.ml.model
-
This class encapsulates the variables used in producing probabilities from a model and facilitates passing these variables to the eval method.
- EvalParameters(Context[], int) - Constructor for class opennlp.tools.ml.model.EvalParameters
F
- FileEventStream - Class in opennlp.tools.ml.model
-
Class for using a file of
eventsas anevent stream. - FileEventStream(File) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamvia aFile. - FileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamvia aReader. - FileEventStream(String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamfrom the specified file name. - FileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.FileEventStream
-
Instantiates a
FileEventStreamfrom the specified file name. - finishedIteration(int, int, int, TrainingMeasure, double) - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
- finishedTraining(int, StopCriteria) - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
G
- GenericModelReader - Class in opennlp.tools.ml.model
-
An generic
AbstractModelReaderimplementation. - GenericModelReader(File) - Constructor for class opennlp.tools.ml.model.GenericModelReader
-
Initializes a
GenericModelReadervia aFile. - GenericModelReader(DataReader) - Constructor for class opennlp.tools.ml.model.GenericModelReader
-
Initializes a
GenericModelReadervia aDataReader. - GenericModelWriter - Class in opennlp.tools.ml.model
-
An generic
AbstractModelWriterimplementation. - GenericModelWriter(AbstractModel, DataOutputStream) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
-
Initializes a
GenericModelWriterfor anAbstractModelwith an associatedDataOutputStreamthe model shall be written to. - GenericModelWriter(AbstractModel, File) - Constructor for class opennlp.tools.ml.model.GenericModelWriter
-
Initializes a
GenericModelWriterfor anAbstractModelwith an associatedFilethe model shall be written to. - getAlgorithm() - Method in class opennlp.tools.ml.AbstractTrainer
- getAllOutcomes(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Retrieves a string matching all the outcome names with all the probabilities produced by the
MaxentModel.eval(String[])method. - getBestOutcome(double[]) - Method in class opennlp.tools.ml.model.AbstractModel
-
Return the name of the outcome corresponding to the highest likelihood in the parameter ocs.
- getBooleanParameter(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- getBooleanParameter(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- getContexts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getCutoff() - Method in class opennlp.tools.ml.AbstractTrainer
- getDataIndexer(ObjectStream) - Method in class opennlp.tools.ml.AbstractEventTrainer
- getDataIndexer(P, Map) - Static method in class opennlp.tools.ml.model.DataIndexerFactory
-
Instantiates a
DataIndexerconfigured viaParameters. - getDataStructures() - Method in class opennlp.tools.ml.model.AbstractModel
-
Provides the fundamental data structures which encode the
MaxentModelinformation. - getDoubleParameter(String, double) - Method in class opennlp.tools.util.TrainingParameters
- getDoubleParameter(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- getIndex(String) - Method in class opennlp.tools.ml.model.AbstractModel
- getIntParameter(String, int) - Method in class opennlp.tools.util.TrainingParameters
- getIntParameter(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- getIterations() - Method in class opennlp.tools.ml.AbstractTrainer
- getModel() - Method in class opennlp.tools.ml.model.AbstractModelReader
- getModelType() - Method in class opennlp.tools.ml.model.AbstractModel
- getNumEvents() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getNumOutcomes() - Method in class opennlp.tools.ml.model.AbstractModel
- getNumOutcomes() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getNumOutcomes() - Method in class opennlp.tools.ml.model.EvalParameters
- getNumTimesEventsSeen() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getObjectSettings() - Method in class opennlp.tools.util.TrainingParameters
- getObjectSettings(String) - Method in class opennlp.tools.util.TrainingParameters
- getOutcome(int) - Method in class opennlp.tools.ml.model.AbstractModel
- getOutcomeLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomeList() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getOutcomes() - Method in class opennlp.tools.ml.BeamSearch
- getParameters(String) - Method in class opennlp.tools.util.TrainingParameters
- getParams() - Method in class opennlp.tools.ml.model.DynamicEvalParameters
- getParams() - Method in class opennlp.tools.ml.model.EvalParameters
- getPredCounts() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getPredLabels() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getStringParameter(String, String) - Method in class opennlp.tools.util.TrainingParameters
- getStringParameter(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
- getTrainingConfiguration() - Method in class opennlp.tools.ml.AbstractTrainer
-
Retrieves the
TrainingConfigurationassociated with anAbstractTrainer. - getValues() - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- getValues() - Method in class opennlp.tools.ml.model.OnePassRealValueDataIndexer
H
- hashCode() - Method in class opennlp.tools.ml.model.AbstractModel
- hashCode() - Method in class opennlp.tools.ml.model.ComparableEvent
- hashCode() - Method in class opennlp.tools.ml.model.ComparablePredicate
- hashCode() - Method in class opennlp.tools.ml.model.EvalParameters
- hashCode() - Method in class opennlp.tools.ml.model.UniformPrior
I
- index(ObjectStream) - Method in class opennlp.tools.ml.model.OnePassDataIndexer
- index(ObjectStream) - Method in class opennlp.tools.ml.model.TwoPassDataIndexer
- init(P, Map) - Method in class opennlp.tools.ml.AbstractTrainer
- init(P, Map) - Method in class opennlp.tools.ml.model.AbstractDataIndexer
- init(P, Map, TrainingConfiguration) - Method in class opennlp.tools.ml.AbstractTrainer
- isSortAndMerge() - Method in class opennlp.tools.ml.AbstractEventTrainer
- isTrainingFinished() - Method in class opennlp.tools.monitoring.DefaultTrainingProgressMonitor
L
- logPrior(double[], int[]) - Method in class opennlp.tools.ml.model.UniformPrior
- logPrior(double[], int[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
- logPrior(double[], Context[], float[]) - Method in class opennlp.tools.ml.model.UniformPrior
M
- ModelParameterChunker - Class in opennlp.tools.ml.model
-
A helper class that handles Strings with more than 64k (65535 bytes) in length.
- MutableContext - Class in opennlp.tools.ml.model
-
An extension of
Contextused to store parameters or expected values associated with this context which can be updated or assigned. - MutableContext(int[], double[]) - Constructor for class opennlp.tools.ml.model.MutableContext
-
Creates a new parameters object with the specified parameters associated with the specified outcome pattern.
N
- name - Variable in class opennlp.tools.ml.model.ComparablePredicate
O
- ObjectDataReader - Class in opennlp.tools.ml.model
-
A
DataReaderimplementation based onObjectInputStream. - ObjectDataReader(ObjectInputStream) - Constructor for class opennlp.tools.ml.model.ObjectDataReader
-
Instantiates an
ObjectDataReader. - OnePassDataIndexer - Class in opennlp.tools.ml.model
-
A
DataIndexerfor maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates. - OnePassDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassDataIndexer
- OnePassRealValueDataIndexer - Class in opennlp.tools.ml.model
-
A
DataIndexerfor 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. - OnePassRealValueDataIndexer() - Constructor for class opennlp.tools.ml.model.OnePassRealValueDataIndexer
- opennlp.tools.ml - package opennlp.tools.ml
- opennlp.tools.ml.model - package opennlp.tools.ml.model
- opennlp.tools.monitoring - package opennlp.tools.monitoring
- opennlp.tools.util - package opennlp.tools.util
- outcome - Variable in class opennlp.tools.ml.model.ComparableEvent
- outcomes - Variable in class opennlp.tools.ml.model.ComparablePredicate
P
- params - Variable in class opennlp.tools.ml.model.ComparablePredicate
- parseContexts(String[]) - Static method in class opennlp.tools.ml.model.RealValueFileEventStream
-
Parses the specified
contextsand re-populates context array with features and returns the values for these features. - persist() - Method in class opennlp.tools.ml.AbstractMLModelWriter
- persist() - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Serializes the
modelusing theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes. - persist() - Method in class opennlp.tools.ml.model.GenericModelWriter
- PlainTextFileDataReader - Class in opennlp.tools.ml.model
-
A generic
DataReaderimplementation for plain text files. - PlainTextFileDataReader(BufferedReader) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReadervia aBufferedReader. - PlainTextFileDataReader(File) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReadervia aFile. - PlainTextFileDataReader(InputStream) - Constructor for class opennlp.tools.ml.model.PlainTextFileDataReader
-
Initializes a
PlainTextFileDataReadervia aInputStream. - predIndexes - Variable in class opennlp.tools.ml.model.ComparableEvent
- put(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- put(String, double) - Method in class opennlp.tools.util.TrainingParameters
- put(String, int) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- put(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, double) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, int) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, boolean) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, double) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, int) - Method in class opennlp.tools.util.TrainingParameters
- putIfAbsent(String, String, String) - Method in class opennlp.tools.util.TrainingParameters
R
- read() - Method in class opennlp.tools.ml.model.ChecksumEventStream
- read() - Method in class opennlp.tools.ml.model.FileEventStream
-
Returns the next
Eventobject. - read() - Method in class opennlp.tools.ml.model.RealValueFileEventStream
-
Returns the next
Eventobject. - read() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
- readDouble() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readDouble() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readDouble() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readDouble() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readInt() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readInt() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readInt() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readInt() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readUTF() - Method in class opennlp.tools.ml.model.AbstractModelReader
-
Implement as needed for the format the model is stored in.
- readUTF() - Method in class opennlp.tools.ml.model.BinaryFileDataReader
- readUTF() - Method in class opennlp.tools.ml.model.ObjectDataReader
- readUTF() - Method in class opennlp.tools.ml.model.PlainTextFileDataReader
- readUTF(DataInputStream) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
-
Reads model parameters from
dis. - RealValueFileEventStream - Class in opennlp.tools.ml.model
-
Class for using a file of real-valued
eventsas anevent stream. - RealValueFileEventStream(File) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamvia aFile. - RealValueFileEventStream(Reader) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamvia aReader. - RealValueFileEventStream(String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamfrom the specified file name. - RealValueFileEventStream(String, String) - Constructor for class opennlp.tools.ml.model.RealValueFileEventStream
-
Instantiates a
RealValueFileEventStreamfrom the specified file name. - reset() - Method in class opennlp.tools.ml.model.FileEventStream
- reset() - Method in class opennlp.tools.ml.model.SequenceStreamEventStream
S
- seen - Variable in class opennlp.tools.ml.model.ComparableEvent
- SequenceStreamEventStream - Class in opennlp.tools.ml.model
-
Class which turns a
SequenceStreaminto an event stream. - SequenceStreamEventStream(SequenceStream) - Constructor for class opennlp.tools.ml.model.SequenceStreamEventStream
- serialize(OutputStream) - Method in class opennlp.tools.util.TrainingParameters
- setLabels(String[], String[]) - Method in class opennlp.tools.ml.model.UniformPrior
- setParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
-
Assigns the parameter or expected value at the specified outcomeIndex the specified value.
- setParams(String[]) - Static method in class opennlp.tools.util.TrainingParameters
- SIGNATURE_CHUNKED_PARAMS - Static variable in class opennlp.tools.ml.model.ModelParameterChunker
- SimpleEventStreamBuilder - Class in opennlp.tools.ml.model
- SimpleEventStreamBuilder() - Constructor for class opennlp.tools.ml.model.SimpleEventStreamBuilder
- SORT_DEFAULT - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
- SORT_PARAM - Static variable in class opennlp.tools.ml.model.AbstractDataIndexer
T
- toLine(Event) - Static method in class opennlp.tools.ml.model.FileEventStream
-
Generates a string representing the specified event.
- toString() - Method in class opennlp.tools.ml.model.ComparableEvent
- toString() - Method in class opennlp.tools.ml.model.ComparablePredicate
- train(DataIndexer) - Method in class opennlp.tools.ml.AbstractEventTrainer
- train(SequenceStream) - Method in class opennlp.tools.ml.AbstractEventModelSequenceTrainer
- train(ObjectStream) - Method in class opennlp.tools.ml.AbstractEventTrainer
- TrainingParameters - Class in opennlp.tools.util
-
Declares and handles default parameters used for or during training models.
- TrainingParameters() - Constructor for class opennlp.tools.util.TrainingParameters
-
No-arg constructor to create a default
TrainingParametersinstance. - TrainingParameters(InputStream) - Constructor for class opennlp.tools.util.TrainingParameters
-
InputStreambased constructor that reads inTrainingParameters. - TrainingParameters(Map) - Constructor for class opennlp.tools.util.TrainingParameters
-
Key-value based constructor to apply a
Mapbased configuration initialization. - TrainingParameters(TrainingParameters) - Constructor for class opennlp.tools.util.TrainingParameters
-
Copy constructor to hand over the config of existing
TrainingParameters. - TwoPassDataIndexer - Class in opennlp.tools.ml.model
-
Collecting event and context counts by making two passes over the events.
- TwoPassDataIndexer() - Constructor for class opennlp.tools.ml.model.TwoPassDataIndexer
U
- UniformPrior - Class in opennlp.tools.ml.model
-
Provide a maximum entropy model with a uniform
Prior. - UniformPrior() - Constructor for class opennlp.tools.ml.model.UniformPrior
- updateParameter(int, double) - Method in class opennlp.tools.ml.model.MutableContext
-
Updated the parameter or expected value at the specified outcomeIndex by adding the specified value to its current value.
V
- validate() - Method in class opennlp.tools.ml.AbstractEventTrainer
- validate() - Method in class opennlp.tools.ml.AbstractTrainer
-
Checks the configured
parameters. - values - Variable in class opennlp.tools.ml.model.ComparableEvent
W
- writeDouble(double) - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Writes a single
doubleto the underlyingDataOutputStream. - writeDouble(double) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeInt(int) - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Writes a single
intto the underlyingDataOutputStream. - writeInt(int) - Method in class opennlp.tools.ml.model.GenericModelWriter
- writeUTF(DataOutputStream, String) - Static method in class opennlp.tools.ml.model.ModelParameterChunker
-
Writes the model parameter
stodos. - writeUTF(String) - Method in class opennlp.tools.ml.model.AbstractModelWriter
-
Writes a
Stringto the underlyingDataOutputStream. - writeUTF(String) - Method in class opennlp.tools.ml.model.GenericModelWriter
All Classes and Interfaces|All Packages|Constant Field Values