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 ChunkerModelChunkerME.train(String lang, ObjectStream<ChunkSample> in, TrainingParameters mlParams, ChunkerFactory factory) Starts a training of aChunkerModelwith the given parameters.Constructors in opennlp.tools.chunker with parameters of type TrainingParametersModifierConstructorDescriptionChunkerCrossValidator(String languageCode, TrainingParameters params, ChunkerFactory factory, ChunkerEvaluationMonitor... listeners) Initializes aChunkerCrossValidatorinstance via given parameters. -
Uses of TrainingParameters in opennlp.tools.commons
Methods in opennlp.tools.commons with parameters of type TrainingParametersModifier and TypeMethodDescriptionvoidTrainer.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 DoccatModelDocumentCategorizerME.train(String lang, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, DoccatFactory factory) Starts a training of aDoccatModelwith the given parameters.Constructors in opennlp.tools.doccat with parameters of type TrainingParametersModifierConstructorDescriptionDoccatCrossValidator(String languageCode, TrainingParameters mlParams, DoccatFactory factory, DoccatEvaluationMonitor... listeners) Instantiates aDoccatCrossValidatorwith the givengenerators. -
Uses of TrainingParameters in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic LanguageDetectorModelLanguageDetectorME.train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory) Starts a training of aLanguageDetectorModelwith the given parameters.Constructors in opennlp.tools.langdetect with parameters of type TrainingParametersModifierConstructorDescriptionLanguageDetectorCrossValidator(TrainingParameters mlParams, LanguageDetectorFactory factory, LanguageDetectorEvaluationMonitor... listeners) Initializes aLanguageDetectorCrossValidatorwith the givenparameters. -
Uses of TrainingParameters in opennlp.tools.lemmatizer
Methods in opennlp.tools.lemmatizer with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic LemmatizerModelLemmatizerME.train(String languageCode, ObjectStream<LemmaSample> samples, TrainingParameters params, LemmatizerFactory factory) Starts a training of aLemmatizerModelwith 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 anEventModelSequenceTrainerthat fits the given parameters.static EventTrainerTrainerFactory.getEventTrainer(TrainingParameters trainParams, Map<String, String> reportMap) Retrieves anEventTrainerthat fits the given parameters.static SequenceTrainerTrainerFactory.getSequenceModelTrainer(TrainingParameters trainParams, Map<String, String> reportMap) Retrieves aSequenceTrainerthat fits the given parameters.static TrainerFactory.TrainerTypeTrainerFactory.getTrainerType(TrainingParameters trainParams) Determines theTrainerFactory.TrainerTypebased on theAbstractTrainer.ALGORITHM_PARAMvalue.voidAbstractTrainer.init(TrainingParameters trainParams, Map<String, String> reportMap) static booleanTrainerFactory.isValid(TrainingParameters trainParams) Constructors in opennlp.tools.ml with parameters of type TrainingParametersModifierConstructorDescriptionAbstractEventTrainer(TrainingParameters parameters) AbstractTrainer(TrainingParameters trainParams) Initializes aAbstractTrainerviaTrainingParameters. -
Uses of TrainingParameters in opennlp.tools.ml.maxent
Methods in opennlp.tools.ml.maxent with parameters of type TrainingParametersModifier and TypeMethodDescriptionvoidGISTrainer.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 TypeMethodDescriptionvoidQNTrainer.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 TrainingParametersAbstractDataIndexer.trainingParametersMethods in opennlp.tools.ml.model with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic DataIndexerDataIndexerFactory.getDataIndexer(TrainingParameters parameters, Map<String, String> reportMap) Instantiates aDataIndexerconfigured viaTrainingParameters.voidAbstractDataIndexer.init(TrainingParameters indexingParameters, Map<String, String> reportMap) Sets parameters used during the data indexing.voidDataIndexer.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 aNaiveBayesTrainerwith specificTrainingParameters. -
Uses of TrainingParameters in opennlp.tools.ml.perceptron
Constructors in opennlp.tools.ml.perceptron with parameters of type TrainingParametersModifierConstructorDescriptionPerceptronTrainer(TrainingParameters parameters) Instantiates aPerceptronTrainerwith specificTrainingParameters. -
Uses of TrainingParameters in opennlp.tools.namefind
Methods in opennlp.tools.namefind with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic TokenNameFinderModelNameFinderME.train(String languageCode, String type, ObjectStream<NameSample> samples, TrainingParameters params, TokenNameFinderFactory factory) Starts a training of aTokenNameFinderModelwith 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 aTokenNameFinderCrossValidatorwith the given parameters.TokenNameFinderCrossValidator(String languageCode, String type, TrainingParameters params, byte[] featureGeneratorBytes, Map<String, Object> resources, SequenceCodec<String> codec, TokenNameFinderEvaluationMonitor... listeners) Initializes aTokenNameFinderCrossValidatorwith the given parameters.TokenNameFinderCrossValidator(String languageCode, String type, TrainingParameters params, TokenNameFinderFactory factory, TokenNameFinderEvaluationMonitor... listeners) Initializes aTokenNameFinderCrossValidatorwith the given parameters. -
Uses of TrainingParameters in opennlp.tools.parser
Methods in opennlp.tools.parser with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic DictionaryAbstractBottomUpParser.buildDictionary(ObjectStream<Parse> data, HeadRules rules, TrainingParameters params) Creates a n-gramDictionaryfrom 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 aParserCrossValidatorinstance via given parameters. -
Uses of TrainingParameters in opennlp.tools.parser.chunking
Methods in opennlp.tools.parser.chunking with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic ParserModelParser.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 ParserModelParser.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 POSModelPOSTaggerME.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 aPOSTaggerCrossValidatorthat builds a ngram dictionary dynamically.POSTaggerCrossValidator(String languageCode, TrainingParameters trainParam, POSTaggerFactory factory, POSTaggerEvaluationMonitor... listeners) Creates aPOSTaggerCrossValidatorusing the givenPOSTaggerFactory. -
Uses of TrainingParameters in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect with parameters of type TrainingParametersModifier and TypeMethodDescriptionstatic SentenceModelSentenceDetectorME.train(String languageCode, ObjectStream<SentenceSample> samples, SentenceDetectorFactory sdFactory, TrainingParameters mlParams) Starts a training of aSentenceModelwith the given parameters.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 TokenizerModelTokenizerME.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 aTokenizerCrossValidatorusing the givenTokenizerFactory. -
Uses of TrainingParameters in opennlp.tools.util
Methods in opennlp.tools.util that return TrainingParametersModifier and TypeMethodDescriptionstatic TrainingParametersTrainingParameters.defaultParams()TrainingParameters.getParameters(String namespace) static TrainingParametersConstructors 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 TrainingParametersModelUtil.createDefaultTrainingParameters()Creates the defaultTrainingParametersin case they are not provided.