Uses of Interface
opennlp.tools.ml.model.DataIndexer
Packages that use DataIndexer
Package
Description
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
-
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 MaxentModelAbstractEventTrainer.doTrain(DataIndexer<P> indexer) final MaxentModelAbstractEventTrainer.train(DataIndexer<P> indexer) EventTrainer.train(DataIndexer<P> indexer) Trains aMaxentModelfor givenevents. -
Uses of DataIndexer in opennlp.tools.ml.maxent
Methods in opennlp.tools.ml.maxent with parameters of type DataIndexerModifier and TypeMethodDescriptionGISTrainer.doTrain(DataIndexer<TrainingParameters> indexer) GISTrainer.trainModel(int iterations, DataIndexer<TrainingParameters> di) Trains a model using the GIS algorithm.GISTrainer.trainModel(int iterations, DataIndexer<TrainingParameters> di, int threads) Trains a model using the GIS algorithm.GISTrainer.trainModel(int iterations, DataIndexer<TrainingParameters> di, Prior modelPrior, int threads) Trains a model using the GIS algorithm. -
Uses of DataIndexer in opennlp.tools.ml.maxent.quasinewton
Fields in opennlp.tools.ml.maxent.quasinewton declared as DataIndexerModifier and TypeFieldDescriptionprivate final DataIndexer<TrainingParameters> QNTrainer.ModelEvaluator.indexerThe field for theindexerrecord component.Methods in opennlp.tools.ml.maxent.quasinewton that return DataIndexerModifier and TypeMethodDescriptionQNTrainer.ModelEvaluator.indexer()Returns the value of theindexerrecord component.Methods in opennlp.tools.ml.maxent.quasinewton with parameters of type DataIndexerModifier and TypeMethodDescriptionQNTrainer.doTrain(DataIndexer<TrainingParameters> indexer) QNTrainer.trainModel(int iterations, DataIndexer<TrainingParameters> indexer) Trains amodelusing the QN algorithm.Constructors in opennlp.tools.ml.maxent.quasinewton with parameters of type DataIndexerModifierConstructorDescriptionprivateModelEvaluator(DataIndexer<TrainingParameters> indexer) Creates an instance of aModelEvaluatorrecord class.NegLogLikelihood(DataIndexer<TrainingParameters> indexer) ParallelNegLogLikelihood(DataIndexer<TrainingParameters> indexer, int threads) -
Uses of DataIndexer in opennlp.tools.ml.model
Classes in opennlp.tools.ml.model that implement DataIndexerModifier and TypeClassDescriptionclassAbstractDataIndexer<P extends Parameters>AbstractDataIndexerimplementation for collecting event and context counts used in training.classADataIndexerfor maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates.classADataIndexerfor 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.classCollecting event and context counts by making two passes over the events.Methods in opennlp.tools.ml.model that return DataIndexerModifier and TypeMethodDescriptionstatic <P extends Parameters>
DataIndexer<P> DataIndexerFactory.getDataIndexer(P parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaParameters. -
Uses of DataIndexer in opennlp.tools.ml.naivebayes
Methods in opennlp.tools.ml.naivebayes with parameters of type DataIndexerModifier and TypeMethodDescriptionNaiveBayesTrainer.doTrain(DataIndexer<TrainingParameters> indexer) NaiveBayesTrainer.trainModel(DataIndexer<TrainingParameters> di) Trains aNaiveBayesModelwith 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<TrainingParameters> indexer) 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.