Package opennlp.tools.ml.model
package opennlp.tools.ml.model
-
ClassesClassDescriptionAbstractDataIndexer<P extends opennlp.tools.util.Parameters>Abstract
DataIndexerimplementation for collecting event and context counts used in training.A basicMaxentModelimplementation.An abstract, basic implementation of a model reader.An abstract, basic implementation of a model writer.ADataReaderthat reads files from a binary format.AChecksum-basedevent streamimplementation.A maxent event representation which we can use to sort based on the predicates indexes contained in the events.A maxent predicate representation which we can use to sort based on the outcomes.A factory that producesDataIndexerinstances.This class encapsulates the variables used in producing probabilities from a model and facilitates passing these variables to the eval method.Class for using a file ofeventsas anevent stream.An genericAbstractModelReaderimplementation.An genericAbstractModelWriterimplementation.A helper class that handles Strings with more than 64k (65535 bytes) in length.An extension ofContextused to store parameters or expected values associated with this context which can be updated or assigned.ADataReaderimplementation based onObjectInputStream.ADataIndexerfor maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates.ADataIndexerfor 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.A genericDataReaderimplementation for plain text files.Class for using a file of real-valuedeventsas anevent stream.Class which turns aSequenceStreaminto an event stream.Collecting event and context counts by making two passes over the events.Provide a maximum entropy model with a uniformPrior.