Uses of Class
opennlp.tools.util.TrainingParameters
Packages that use TrainingParameters
Package
Description
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
Package related to common interfaces used in different contexts.
Package for classifying a document into a category.
Package related to predicting languages from samples of text.
Package related to the lemmatizer functionality.
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.
Package related to finding proper names and numeric amounts.
Package containing common code for performing full syntactic parsing.
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
Package related to part-of-speech tagging.
Package related to identifying sentence boundaries.
Contains classes related to finding token or words in a string.
Package containing utility data structures and algorithms used by multiple other packages.
-
Uses of TrainingParameters in opennlp.tools.chunker
Methods in opennlp.tools.chunker with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic ChunkerModel
ChunkerME.train
(String lang, ObjectStream<ChunkSample> in, TrainingParameters mlParams, ChunkerFactory factory) Starts a training of aChunkerModel
with the given parameters.Constructors in opennlp.tools.chunker with parameters of type TrainingParametersModifierConstructorDescriptionChunkerCrossValidator
(String languageCode, TrainingParameters params, ChunkerFactory factory, ChunkerEvaluationMonitor... listeners) Initializes aChunkerCrossValidator
instance via given parameters. -
Uses of TrainingParameters in opennlp.tools.commons
Methods in opennlp.tools.commons with parameters of type TrainingParametersModifier and TypeMethodDescriptionvoid
Trainer.init
(TrainingParameters trainParams, Map<String, String> reportMap) -
Uses of TrainingParameters in opennlp.tools.doccat
Methods in opennlp.tools.doccat with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic DoccatModel
DocumentCategorizerME.train
(String lang, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, DoccatFactory factory) Starts a training of aDoccatModel
with the given parameters.Constructors in opennlp.tools.doccat with parameters of type TrainingParametersModifierConstructorDescriptionDoccatCrossValidator
(String languageCode, TrainingParameters mlParams, DoccatFactory factory, DoccatEvaluationMonitor... listeners) Instantiates aDoccatCrossValidator
with the givengenerators
. -
Uses of TrainingParameters in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic LanguageDetectorModel
LanguageDetectorME.train
(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory) Starts a training of aLanguageDetectorModel
with the given parameters.Constructors in opennlp.tools.langdetect with parameters of type TrainingParametersModifierConstructorDescriptionLanguageDetectorCrossValidator
(TrainingParameters mlParams, LanguageDetectorFactory factory, LanguageDetectorEvaluationMonitor... listeners) Initializes aLanguageDetectorCrossValidator
with the givenparameters
. -
Uses of TrainingParameters in opennlp.tools.lemmatizer
Methods in opennlp.tools.lemmatizer with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic LemmatizerModel
LemmatizerME.train
(String languageCode, ObjectStream<LemmaSample> samples, TrainingParameters params, LemmatizerFactory factory) Starts a training of aLemmatizerModel
with the given parameters. -
Uses of TrainingParameters in opennlp.tools.ml
Fields in opennlp.tools.ml declared as TrainingParametersMethods in opennlp.tools.ml with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic <T> EventModelSequenceTrainer<T>
TrainerFactory.getEventModelSequenceTrainer
(TrainingParameters trainParams, Map<String, String> reportMap) Retrieves anEventModelSequenceTrainer
that fits the given parameters.static EventTrainer
TrainerFactory.getEventTrainer
(TrainingParameters trainParams, Map<String, String> reportMap) Retrieves anEventTrainer
that fits the given parameters.static SequenceTrainer
TrainerFactory.getSequenceModelTrainer
(TrainingParameters trainParams, Map<String, String> reportMap) Retrieves aSequenceTrainer
that fits the given parameters.static TrainerFactory.TrainerType
TrainerFactory.getTrainerType
(TrainingParameters trainParams) Determines theTrainerFactory.TrainerType
based on theAbstractTrainer.ALGORITHM_PARAM
value.void
AbstractTrainer.init
(TrainingParameters trainParams, Map<String, String> reportMap) static boolean
TrainerFactory.isValid
(TrainingParameters trainParams) Constructors in opennlp.tools.ml with parameters of type TrainingParametersModifierConstructorDescriptionAbstractEventTrainer
(TrainingParameters parameters) AbstractTrainer
(TrainingParameters trainParams) Initializes aAbstractTrainer
viaTrainingParameters
. -
Uses of TrainingParameters in opennlp.tools.ml.maxent
Methods in opennlp.tools.ml.maxent with parameters of type TrainingParametersModifier and TypeMethodDescriptionvoid
GISTrainer.init
(TrainingParameters trainingParameters, Map<String, String> reportMap) -
Uses of TrainingParameters in opennlp.tools.ml.maxent.quasinewton
Methods in opennlp.tools.ml.maxent.quasinewton with parameters of type TrainingParametersModifier and TypeMethodDescriptionvoid
QNTrainer.init
(TrainingParameters trainingParameters, Map<String, String> reportMap) Constructors in opennlp.tools.ml.maxent.quasinewton with parameters of type TrainingParameters -
Uses of TrainingParameters in opennlp.tools.ml.model
Fields in opennlp.tools.ml.model declared as TrainingParametersModifier and TypeFieldDescriptionprotected TrainingParameters
AbstractDataIndexer.trainingParameters
Methods in opennlp.tools.ml.model with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic DataIndexer
DataIndexerFactory.getDataIndexer
(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexer
configured viaTrainingParameters
.void
AbstractDataIndexer.init
(TrainingParameters indexingParameters, Map<String, String> reportMap) Sets parameters used during the data indexing.void
DataIndexer.init
(TrainingParameters trainParams, Map<String, String> reportMap) Sets parameters used during the data indexing. -
Uses of TrainingParameters in opennlp.tools.ml.naivebayes
Constructors in opennlp.tools.ml.naivebayes with parameters of type TrainingParametersModifierConstructorDescriptionNaiveBayesTrainer
(TrainingParameters parameters) Instantiates aNaiveBayesTrainer
with specificTrainingParameters
. -
Uses of TrainingParameters in opennlp.tools.ml.perceptron
Constructors in opennlp.tools.ml.perceptron with parameters of type TrainingParametersModifierConstructorDescriptionPerceptronTrainer
(TrainingParameters parameters) Instantiates aPerceptronTrainer
with specificTrainingParameters
. -
Uses of TrainingParameters in opennlp.tools.namefind
Methods in opennlp.tools.namefind with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic TokenNameFinderModel
NameFinderME.train
(String languageCode, String type, ObjectStream<NameSample> samples, TrainingParameters params, TokenNameFinderFactory factory) Starts a training of aTokenNameFinderModel
with the given parameters.Constructors in opennlp.tools.namefind with parameters of type TrainingParametersModifierConstructorDescriptionTokenNameFinderCrossValidator
(String languageCode, String type, TrainingParameters trainParams, byte[] featureGeneratorBytes, Map<String, Object> resources, TokenNameFinderEvaluationMonitor... listeners) Initializes aTokenNameFinderCrossValidator
with the given parameters.TokenNameFinderCrossValidator
(String languageCode, String type, TrainingParameters params, byte[] featureGeneratorBytes, Map<String, Object> resources, SequenceCodec<String> codec, TokenNameFinderEvaluationMonitor... listeners) Initializes aTokenNameFinderCrossValidator
with the given parameters.TokenNameFinderCrossValidator
(String languageCode, String type, TrainingParameters params, TokenNameFinderFactory factory, TokenNameFinderEvaluationMonitor... listeners) Initializes aTokenNameFinderCrossValidator
with the given parameters. -
Uses of TrainingParameters in opennlp.tools.parser
Methods in opennlp.tools.parser with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic Dictionary
AbstractBottomUpParser.buildDictionary
(ObjectStream<Parse> data, HeadRules rules, TrainingParameters params) Creates a n-gramDictionary
from the specified data stream using the specified head rule and specified cut-off.Constructors in opennlp.tools.parser with parameters of type TrainingParametersModifierConstructorDescriptionParserCrossValidator
(String languageCode, TrainingParameters params, HeadRules rules, ParserType parserType, ParserEvaluationMonitor... monitors) Initializes aParserCrossValidator
instance via given parameters. -
Uses of TrainingParameters in opennlp.tools.parser.chunking
Methods in opennlp.tools.parser.chunking with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic ParserModel
Parser.train
(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams) Starts a training of aParserModel
. -
Uses of TrainingParameters in opennlp.tools.parser.treeinsert
Methods in opennlp.tools.parser.treeinsert with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic ParserModel
Parser.train
(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams) Starts a training of aParserModel
. -
Uses of TrainingParameters in opennlp.tools.postag
Methods in opennlp.tools.postag with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic POSModel
POSTaggerME.train
(String languageCode, ObjectStream<POSSample> samples, TrainingParameters trainParams, POSTaggerFactory posFactory) Constructors in opennlp.tools.postag with parameters of type TrainingParametersModifierConstructorDescriptionPOSTaggerCrossValidator
(String languageCode, TrainingParameters trainParam, File tagDictionary, byte[] featureGeneratorBytes, Map<String, Object> resources, Integer tagdicCutoff, String factoryClass, POSTaggerEvaluationMonitor... listeners) Initializes aPOSTaggerCrossValidator
that builds a ngram dictionary dynamically.POSTaggerCrossValidator
(String languageCode, TrainingParameters trainParam, POSTaggerFactory factory, POSTaggerEvaluationMonitor... listeners) Creates aPOSTaggerCrossValidator
using the givenPOSTaggerFactory
. -
Uses of TrainingParameters in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic SentenceModel
SentenceDetectorME.train
(String languageCode, ObjectStream<SentenceSample> samples, boolean useTokenEnd, Dictionary abbreviations, TrainingParameters mlParams) Deprecated.static SentenceModel
SentenceDetectorME.train
(String languageCode, ObjectStream<SentenceSample> samples, SentenceDetectorFactory sdFactory, TrainingParameters mlParams) Constructors in opennlp.tools.sentdetect with parameters of type TrainingParametersModifierConstructorDescriptionSDCrossValidator
(String languageCode, TrainingParameters params, SentenceDetectorFactory sdFactory, SentenceDetectorEvaluationMonitor... listeners) -
Uses of TrainingParameters in opennlp.tools.tokenize
Methods in opennlp.tools.tokenize with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic TokenizerModel
TokenizerME.train
(ObjectStream<TokenSample> samples, TokenizerFactory factory, TrainingParameters mlParams) Trains a model for theTokenizerME
.Constructors in opennlp.tools.tokenize with parameters of type TrainingParametersModifierConstructorDescriptionTokenizerCrossValidator
(TrainingParameters params, TokenizerFactory factory, TokenizerEvaluationMonitor... listeners) Creates aTokenizerCrossValidator
using the givenTokenizerFactory
. -
Uses of TrainingParameters in opennlp.tools.util
Methods in opennlp.tools.util that return TrainingParametersModifier and TypeMethodDescriptionstatic TrainingParameters
TrainingParameters.defaultParams()
TrainingParameters.getParameters
(String namespace) static TrainingParameters
Constructors in opennlp.tools.util with parameters of type TrainingParametersModifierConstructorDescriptionTrainingParameters
(TrainingParameters trainingParameters) Copy constructor to hand over the config of existingTrainingParameters
. -
Uses of TrainingParameters in opennlp.tools.util.model
Methods in opennlp.tools.util.model that return TrainingParametersModifier and TypeMethodDescriptionstatic TrainingParameters
ModelUtil.createDefaultTrainingParameters()
Creates the defaultTrainingParameters
in case they are not provided.
SentenceDetectorME.train(String, ObjectStream, SentenceDetectorFactory, TrainingParameters)
and pass in afSentenceDetectorFactory
.