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 MaxentModel
ChunkerModel. 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 aChunkerModel
instance via given parameters.ChunkerModel(String languageCode, MaxentModel chunkerModel, Map<String,String> manifestInfoEntries, ChunkerFactory factory)
Initializes aChunkerModel
instance via given parameters.ChunkerModel(String languageCode, MaxentModel chunkerModel, ChunkerFactory factory)
Initializes aChunkerModel
instance via given parameters. -
Uses of MaxentModel in opennlp.tools.doccat
Methods in opennlp.tools.doccat that return MaxentModel Modifier and Type Method Description MaxentModel
DoccatModel. 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 aDoccatModel
instance via given parameters. -
Uses of MaxentModel in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that return MaxentModel Modifier and Type Method Description MaxentModel
LanguageDetectorModel. getMaxentModel()
Constructors in opennlp.tools.langdetect with parameters of type MaxentModel Constructor Description LanguageDetectorModel(MaxentModel langdetectModel, Map<String,String> manifestInfoEntries, LanguageDetectorFactory factory)
Initializes aLanguageDetectorModel
instance 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 aLemmatizerModel
instance via given parameters.LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
Initializes aLemmatizerModel
instance via given parameters.LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, LemmatizerFactory factory)
Initializes aLemmatizerModel
instance via given parameters. -
Uses of MaxentModel in opennlp.tools.ml
Fields in opennlp.tools.ml declared as MaxentModel Modifier and Type Field Description protected MaxentModel
BeamSearch. model
Methods in opennlp.tools.ml that return MaxentModel Modifier and Type Method Description abstract MaxentModel
AbstractEventModelSequenceTrainer. doTrain(SequenceStream<Event> events)
abstract MaxentModel
AbstractEventTrainer. doTrain(DataIndexer indexer)
MaxentModel
AbstractEventModelSequenceTrainer. train(SequenceStream<Event> events)
MaxentModel
AbstractEventTrainer. train(DataIndexer indexer)
MaxentModel
AbstractEventTrainer. train(ObjectStream<Event> events)
MaxentModel
EventModelSequenceTrainer. train(SequenceStream<T> events)
Trains aMaxentModel
for givenevents
.MaxentModel
EventTrainer. train(DataIndexer indexer)
Trains aMaxentModel
for givenevents
.MaxentModel
EventTrainer. train(ObjectStream<Event> events)
Trains aMaxentModel
for givenevents
.Constructors in opennlp.tools.ml with parameters of type MaxentModel Constructor Description BeamSearch(int size, MaxentModel model)
Initializes aBeamSearch
instance.BeamSearch(int size, MaxentModel model, int cacheSize)
Initializes aBeamSearch
instance. -
Uses of MaxentModel in opennlp.tools.ml.maxent
Classes in opennlp.tools.ml.maxent that implement MaxentModel Modifier and Type Class Description class
GISModel
A 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 MaxentModel
GISTrainer. 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 class
QNModel
A 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 class
AbstractModel
A basicMaxentModel
implementation. -
Uses of MaxentModel in opennlp.tools.ml.naivebayes
Classes in opennlp.tools.ml.naivebayes that implement MaxentModel Modifier and Type Class Description class
NaiveBayesModel
AMaxentModel
implementation 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 class
PerceptronModel
Amodel
implementation 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 aTokenNameFinderModel
instance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries)
Initializes aTokenNameFinderModel
instance 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 aTokenNameFinderModel
instance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, Map<String,Object> resources, Map<String,String> manifestInfoEntries)
Initializes aTokenNameFinderModel
instance via given parameters. -
Uses of MaxentModel in opennlp.tools.parser
Methods in opennlp.tools.parser that return MaxentModel Modifier and Type Method Description MaxentModel
ParserModel. getAttachModel()
MaxentModel
ParserModel. getBuildModel()
MaxentModel
ParserModel. getCheckModel()
Methods in opennlp.tools.parser with parameters of type MaxentModel Modifier and Type Method Description ParserModel
ParserModel. updateBuildModel(MaxentModel buildModel)
Instantiates a newParserModel
instance from the existing configuration with the specifiedbuildModel
for exchange.ParserModel
ParserModel. updateCheckModel(MaxentModel checkModel)
Instantiates a newParserModel
instance from the existing configuration with the specifiedcheckModel
for 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 aParserModel
instance 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 aParserModel
instance via given parameters.ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType type, Map<String,String> manifestInfoEntries)
Initializes aParserModel
instance via given parameters. -
Uses of MaxentModel in opennlp.tools.postag
Methods in opennlp.tools.postag that return MaxentModel Modifier and Type Method Description MaxentModel
POSModel. 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 aPOSModel
instance via given parameters.POSModel(String languageCode, MaxentModel posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)
Initializes aPOSModel
instance via given parameters. -
Uses of MaxentModel in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect that return MaxentModel Modifier and Type Method Description MaxentModel
SentenceModel. 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 aSentenceDetectorFactory
SentenceModel(String languageCode, MaxentModel sentModel, boolean useTokenEnd, Dictionary abbreviations, char[] eosCharacters, Map<String,String> manifestInfoEntries)
Deprecated.UseSentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)
instead and pass in aSentenceDetectorFactory
SentenceModel(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 MaxentModel
TokenizerModel. getMaxentModel()
Constructors in opennlp.tools.tokenize with parameters of type MaxentModel Constructor Description TokenizerModel(MaxentModel tokenizerModel, Map<String,String> manifestInfoEntries, TokenizerFactory tokenizerFactory)
Initializes aTokenizerModel
instance via aMaxentModel
and 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 boolean
ModelUtil. validateOutcomes(MaxentModel model, String... expectedOutcomes)
Checks if theexpectedOutcomes
are all contained as outcomes in the givenmodel
.static void
ModelUtil. writeModel(MaxentModel model, OutputStream out)
Writes the givenMaxentModel
to the specifiedOutputStream
.
-