Uses of Interface
opennlp.tools.ml.model.MaxentModel
-
Packages that use MaxentModel Package Description opennlp.tools.chunker Package related to finding non-recursive syntactic annotation such as noun phrase chunks.opennlp.tools.doccat Package for classifying a document into a category.opennlp.tools.langdetect Package related to predicting languages from samples of text.opennlp.tools.lemmatizer Package related to the lemmatizer functionality.opennlp.tools.ml Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.opennlp.tools.ml.maxent Package related to ML by means of the Maximum Entropy (ME) algorithm.opennlp.tools.ml.maxent.quasinewton Package related to ML by means of the Quasi Newton (QN) algorithm.opennlp.tools.ml.model Package related to ML models and feature selection techniques.opennlp.tools.ml.naivebayes Package related to ML by means of the Naive Bayes algorithm.opennlp.tools.ml.perceptron Package related to ML by means of the perceptron algorithm.opennlp.tools.namefind Package related to finding proper names and numeric amounts.opennlp.tools.parser Package containing common code for performing full syntactic parsing.opennlp.tools.postag Package related to part-of-speech tagging.opennlp.tools.sentdetect Package related to identifying sentence boundaries.opennlp.tools.tokenize Contains classes related to finding token or words in a string.opennlp.tools.util.model -
-
Uses of MaxentModel in opennlp.tools.chunker
Methods in opennlp.tools.chunker that return MaxentModel Modifier and Type Method Description MaxentModelChunkerModel. getChunkerModel()Deprecated.useChunkerModel.getChunkerSequenceModel()instead.Constructors in opennlp.tools.chunker with parameters of type MaxentModel Constructor Description ChunkerModel(String languageCode, MaxentModel chunkerModel, int beamSize, Map<String,String> manifestInfoEntries, ChunkerFactory factory)Initializes aChunkerModelinstance via given parameters.ChunkerModel(String languageCode, MaxentModel chunkerModel, Map<String,String> manifestInfoEntries, ChunkerFactory factory)Initializes aChunkerModelinstance via given parameters.ChunkerModel(String languageCode, MaxentModel chunkerModel, ChunkerFactory factory)Initializes aChunkerModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.doccat
Methods in opennlp.tools.doccat that return MaxentModel Modifier and Type Method Description MaxentModelDoccatModel. getMaxentModel()Constructors in opennlp.tools.doccat with parameters of type MaxentModel Constructor Description DoccatModel(String languageCode, MaxentModel doccatModel, Map<String,String> manifestInfoEntries, DoccatFactory factory)Initializes aDoccatModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that return MaxentModel Modifier and Type Method Description MaxentModelLanguageDetectorModel. getMaxentModel()Constructors in opennlp.tools.langdetect with parameters of type MaxentModel Constructor Description LanguageDetectorModel(MaxentModel langdetectModel, Map<String,String> manifestInfoEntries, LanguageDetectorFactory factory)Initializes aLanguageDetectorModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.lemmatizer
Constructors in opennlp.tools.lemmatizer with parameters of type MaxentModel Constructor Description LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, int beamSize, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)Initializes aLemmatizerModelinstance via given parameters.LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)Initializes aLemmatizerModelinstance via given parameters.LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, LemmatizerFactory factory)Initializes aLemmatizerModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.ml
Fields in opennlp.tools.ml declared as MaxentModel Modifier and Type Field Description protected MaxentModelBeamSearch. modelMethods in opennlp.tools.ml that return MaxentModel Modifier and Type Method Description abstract MaxentModelAbstractEventModelSequenceTrainer. doTrain(SequenceStream<Event> events)abstract MaxentModelAbstractEventTrainer. doTrain(DataIndexer indexer)MaxentModelAbstractEventModelSequenceTrainer. train(SequenceStream<Event> events)MaxentModelAbstractEventTrainer. train(DataIndexer indexer)MaxentModelAbstractEventTrainer. train(ObjectStream<Event> events)MaxentModelEventModelSequenceTrainer. train(SequenceStream<T> events)Trains aMaxentModelfor givenevents.MaxentModelEventTrainer. train(DataIndexer indexer)Trains aMaxentModelfor givenevents.MaxentModelEventTrainer. train(ObjectStream<Event> events)Trains aMaxentModelfor givenevents.Constructors in opennlp.tools.ml with parameters of type MaxentModel Constructor Description BeamSearch(int size, MaxentModel model)Initializes aBeamSearchinstance.BeamSearch(int size, MaxentModel model, int cacheSize)Initializes aBeamSearchinstance. -
Uses of MaxentModel in opennlp.tools.ml.maxent
Classes in opennlp.tools.ml.maxent that implement MaxentModel Modifier and Type Class Description classGISModelA maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure.Methods in opennlp.tools.ml.maxent that return MaxentModel Modifier and Type Method Description MaxentModelGISTrainer. doTrain(DataIndexer indexer) -
Uses of MaxentModel in opennlp.tools.ml.maxent.quasinewton
Classes in opennlp.tools.ml.maxent.quasinewton that implement MaxentModel Modifier and Type Class Description classQNModelA maximum entropy model which has been trained using the Quasi Newton (QN) algorithm. -
Uses of MaxentModel in opennlp.tools.ml.model
Classes in opennlp.tools.ml.model that implement MaxentModel Modifier and Type Class Description classAbstractModelA basicMaxentModelimplementation. -
Uses of MaxentModel in opennlp.tools.ml.naivebayes
Classes in opennlp.tools.ml.naivebayes that implement MaxentModel Modifier and Type Class Description classNaiveBayesModelAMaxentModelimplementation of the multinomial Naive Bayes classifier model. -
Uses of MaxentModel in opennlp.tools.ml.perceptron
Classes in opennlp.tools.ml.perceptron that implement MaxentModel Modifier and Type Class Description classPerceptronModelAmodelimplementation based one the perceptron algorithm. -
Uses of MaxentModel in opennlp.tools.namefind
Constructors in opennlp.tools.namefind with parameters of type MaxentModel Constructor Description TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries)Initializes aTokenNameFinderModelinstance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries)Initializes aTokenNameFinderModelinstance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries, SequenceCodec<String> seqCodec, TokenNameFinderFactory factory)Initializes aTokenNameFinderModelinstance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, Map<String,Object> resources, Map<String,String> manifestInfoEntries)Initializes aTokenNameFinderModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.parser
Methods in opennlp.tools.parser that return MaxentModel Modifier and Type Method Description MaxentModelParserModel. getAttachModel()MaxentModelParserModel. getBuildModel()MaxentModelParserModel. getCheckModel()Methods in opennlp.tools.parser with parameters of type MaxentModel Modifier and Type Method Description ParserModelParserModel. updateBuildModel(MaxentModel buildModel)Instantiates a newParserModelinstance from the existing configuration with the specifiedbuildModelfor exchange.ParserModelParserModel. updateCheckModel(MaxentModel checkModel)Instantiates a newParserModelinstance from the existing configuration with the specifiedcheckModelfor exchange.Constructors in opennlp.tools.parser with parameters of type MaxentModel Constructor Description ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType)Initializes aParserModelinstance via given parameters.ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType, Map<String,String> manifestInfoEntries)Initializes aParserModelinstance via given parameters.ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType type, Map<String,String> manifestInfoEntries)Initializes aParserModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.postag
Methods in opennlp.tools.postag that return MaxentModel Modifier and Type Method Description MaxentModelPOSModel. getPosModel()Deprecated.usePOSModel.getPosSequenceModel()instead.Constructors in opennlp.tools.postag with parameters of type MaxentModel Constructor Description POSModel(String languageCode, MaxentModel posModel, int beamSize, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)Initializes aPOSModelinstance via given parameters.POSModel(String languageCode, MaxentModel posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)Initializes aPOSModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect that return MaxentModel Modifier and Type Method Description MaxentModelSentenceModel. getMaxentModel()Constructors in opennlp.tools.sentdetect with parameters of type MaxentModel Constructor Description SentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations)SentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, char[] eosCharacters)Deprecated.UseSentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)instead and pass in aSentenceDetectorFactorySentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, char[] eosCharacters, Map<String,String> manifestInfoEntries)Deprecated.UseSentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)instead and pass in aSentenceDetectorFactorySentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, Map<String,String> manifestInfoEntries)SentenceModel(String languageCode, MaxentModel sentModel, Map<String,String> manifestInfoEntries, SentenceDetectorFactory sdFactory) -
Uses of MaxentModel in opennlp.tools.tokenize
Methods in opennlp.tools.tokenize that return MaxentModel Modifier and Type Method Description MaxentModelTokenizerModel. getMaxentModel()Constructors in opennlp.tools.tokenize with parameters of type MaxentModel Constructor Description TokenizerModel(MaxentModel tokenizerModel, Map<String,String> manifestInfoEntries, TokenizerFactory tokenizerFactory)Initializes aTokenizerModelinstance via aMaxentModeland related resources. -
Uses of MaxentModel in opennlp.tools.util.model
Methods in opennlp.tools.util.model with parameters of type MaxentModel Modifier and Type Method Description static booleanModelUtil. validateOutcomes(MaxentModel model, String... expectedOutcomes)Checks if theexpectedOutcomesare all contained as outcomes in the givenmodel.static voidModelUtil. writeModel(MaxentModel model, OutputStream out)Writes the givenMaxentModelto the specifiedOutputStream.
-