Uses of Class
opennlp.tools.ml.model.AbstractModel
Packages that use AbstractModel
Package
Description
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
Provides the I/O functionality of the maxent package including reading
and writing models in several formats.
-
Uses of AbstractModel in opennlp.tools.ml.maxent
Subclasses of AbstractModel in opennlp.tools.ml.maxentModifier and TypeClassDescriptionfinal classA maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure. -
Uses of AbstractModel in opennlp.tools.ml.maxent.io
Methods in opennlp.tools.ml.maxent.io that return AbstractModelConstructors in opennlp.tools.ml.maxent.io with parameters of type AbstractModelModifierConstructorDescriptionBinaryGISModelWriter(AbstractModel model, DataOutputStream dos) BinaryGISModelWriter(AbstractModel model, File f) BinaryQNModelWriter(AbstractModel model, DataOutputStream dos) BinaryQNModelWriter(AbstractModel model, File f) GISModelWriter(AbstractModel model) Initializes aGISModelWriterfor aGIS model.QNModelWriter(AbstractModel model) -
Uses of AbstractModel in opennlp.tools.ml.maxent.quasinewton
Subclasses of AbstractModel in opennlp.tools.ml.maxent.quasinewtonModifier and TypeClassDescriptionclassAmaximum entropy modelwhich has been trained via the L-BFGS algorithm , which belongs to the group of Quasi Newton (QN) algorithms.Methods in opennlp.tools.ml.maxent.quasinewton that return AbstractModel -
Uses of AbstractModel in opennlp.tools.ml.model
Methods in opennlp.tools.ml.model that return AbstractModelModifier and TypeMethodDescriptionabstract AbstractModelAbstractModelReader.constructModel()Constructs amodel.GenericModelReader.constructModel()AbstractModelReader.getModel()Methods in opennlp.tools.ml.model with parameters of type AbstractModelModifier and TypeMethodDescriptionprivate AbstractModelWriterGenericModelWriter.fromType(AlgorithmType type, AbstractModel model, DataOutputStream dos) Creates the delegate writer for the givenAlgorithmType.private voidGenericModelWriter.init(AbstractModel model, DataOutputStream dos) Constructors in opennlp.tools.ml.model with parameters of type AbstractModelModifierConstructorDescriptionGenericModelWriter(AbstractModel model, DataOutputStream dos) Initializes aGenericModelWriterfor anAbstractModelwith an associatedDataOutputStreamthe model shall be written to.GenericModelWriter(AbstractModel model, File file) Initializes aGenericModelWriterfor anAbstractModelwith an associatedFilethe model shall be written to. -
Uses of AbstractModel in opennlp.tools.ml.naivebayes
Subclasses of AbstractModel in opennlp.tools.ml.naivebayesModifier and TypeClassDescriptionclassAMaxentModelimplementation of the multinomial Naive Bayes classifier model.Methods in opennlp.tools.ml.naivebayes that return AbstractModelModifier and TypeMethodDescriptionNaiveBayesModelReader.constructModel()Constructs amodel.NaiveBayesTrainer.doTrain(DataIndexer<TrainingParameters> indexer) NaiveBayesTrainer.trainModel(DataIndexer<TrainingParameters> di) Trains aNaiveBayesModelwith given parameters.Constructors in opennlp.tools.ml.naivebayes with parameters of type AbstractModelModifierConstructorDescriptionBinaryNaiveBayesModelWriter(AbstractModel model, DataOutputStream dos) BinaryNaiveBayesModelWriter(AbstractModel model, File f) Initializes aNaiveBayesModelWriterfor aNaiveBayes model.PlainTextNaiveBayesModelWriter(AbstractModel model, File f) -
Uses of AbstractModel in opennlp.tools.ml.perceptron
Subclasses of AbstractModel in opennlp.tools.ml.perceptronModifier and TypeClassDescriptionclassAmodelimplementation based one the perceptron algorithm.Methods in opennlp.tools.ml.perceptron that return AbstractModelModifier and TypeMethodDescriptionPerceptronModelReader.constructModel()Constructs amodel.PerceptronTrainer.doTrain(DataIndexer<TrainingParameters> indexer) SimplePerceptronSequenceTrainer.doTrain(SequenceStream<Event> events) PerceptronTrainer.trainModel(int iterations, DataIndexer<TrainingParameters> di, int cutoff) Trains aPerceptronModelwith given parameters.PerceptronTrainer.trainModel(int iterations, DataIndexer<TrainingParameters> di, int cutoff, boolean useAverage) Trains aPerceptronModelwith given parameters.SimplePerceptronSequenceTrainer.trainModel(int iterations, SequenceStream<Event> sequenceStream, int cutoff, boolean useAverage) Trains aPerceptronModelwith given parameters.Constructors in opennlp.tools.ml.perceptron with parameters of type AbstractModelModifierConstructorDescriptionBinaryPerceptronModelWriter(AbstractModel model, DataOutputStream dos) BinaryPerceptronModelWriter(AbstractModel model, File f) Initializes aPerceptronModelWriterfor aperceptron model. -
Uses of AbstractModel in opennlp.tools.postag
Methods in opennlp.tools.postag with parameters of type AbstractModelModifier and TypeMethodDescriptionprotected voidPOSTaggerFactory.validatePOSDictionary(POSDictionary posDict, AbstractModel posModel) -
Uses of AbstractModel in opennlp.tools.util.model
Methods in opennlp.tools.util.model that return AbstractModelMethods in opennlp.tools.util.model with parameters of type AbstractModelModifier and TypeMethodDescriptionvoidGenericModelSerializer.serialize(AbstractModel artifact, OutputStream out) Serializes an artifact to the providedOutputStream.