Uses of Interface
opennlp.tools.ml.model.DataIndexer
Packages that use DataIndexer
Package
Description
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
Package related to ML by means of the Maximum Entropy (ME) algorithm.
Package related to ML by means of the Quasi Newton (QN) algorithm.
Package related to ML models and feature selection techniques.
Package related to ML by means of the Naive Bayes algorithm.
Package related to ML by means of the perceptron algorithm.
-
Uses of DataIndexer in opennlp.tools.ml
Methods in opennlp.tools.ml that return DataIndexerModifier and TypeMethodDescriptionAbstractEventTrainer.getDataIndexer
(ObjectStream<Event> events) Methods in opennlp.tools.ml with parameters of type DataIndexerModifier and TypeMethodDescriptionabstract MaxentModel
AbstractEventTrainer.doTrain
(DataIndexer indexer) final MaxentModel
AbstractEventTrainer.train
(DataIndexer indexer) EventTrainer.train
(DataIndexer indexer) Trains aMaxentModel
for givenevents
. -
Uses of DataIndexer in opennlp.tools.ml.maxent
Methods in opennlp.tools.ml.maxent with parameters of type DataIndexerModifier and TypeMethodDescriptionGISTrainer.doTrain
(DataIndexer indexer) GISTrainer.trainModel
(int iterations, DataIndexer di) Trains a model using the GIS algorithm.GISTrainer.trainModel
(int iterations, DataIndexer di, int threads) Trains a model using the GIS algorithm.GISTrainer.trainModel
(int iterations, DataIndexer di, Prior modelPrior, int threads) Trains a model using the GIS algorithm. -
Uses of DataIndexer in opennlp.tools.ml.maxent.quasinewton
Methods in opennlp.tools.ml.maxent.quasinewton with parameters of type DataIndexerModifier and TypeMethodDescriptionQNTrainer.doTrain
(DataIndexer indexer) QNTrainer.trainModel
(int iterations, DataIndexer indexer) Trains amodel
using the QN algorithm.Constructors in opennlp.tools.ml.maxent.quasinewton with parameters of type DataIndexerModifierConstructorDescriptionNegLogLikelihood
(DataIndexer indexer) ParallelNegLogLikelihood
(DataIndexer indexer, int threads) -
Uses of DataIndexer in opennlp.tools.ml.model
Classes in opennlp.tools.ml.model that implement DataIndexerModifier and TypeClassDescriptionclass
AbstractDataIndexer
implementation for collecting event and context counts used in training.class
ADataIndexer
for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates.class
ADataIndexer
for 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.class
Collecting event and context counts by making two passes over the events.Methods in opennlp.tools.ml.model that return DataIndexerModifier and TypeMethodDescriptionstatic DataIndexer
DataIndexerFactory.getDataIndexer
(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexer
configured viaTrainingParameters
. -
Uses of DataIndexer in opennlp.tools.ml.naivebayes
Methods in opennlp.tools.ml.naivebayes with parameters of type DataIndexerModifier and TypeMethodDescriptionNaiveBayesTrainer.doTrain
(DataIndexer indexer) NaiveBayesTrainer.trainModel
(DataIndexer di) Trains aNaiveBayesModel
with given parameters. -
Uses of DataIndexer in opennlp.tools.ml.perceptron
Methods in opennlp.tools.ml.perceptron with parameters of type DataIndexerModifier and TypeMethodDescriptionPerceptronTrainer.doTrain
(DataIndexer indexer) PerceptronTrainer.trainModel
(int iterations, DataIndexer di, int cutoff) Trains aPerceptronModel
with given parameters.PerceptronTrainer.trainModel
(int iterations, DataIndexer di, int cutoff, boolean useAverage) Trains aPerceptronModel
with given parameters.