# 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.
  use `ChunkerModel.getChunkerSequenceModel()` instead.
  Constructors in opennlp.tools.chunker with parameters of type MaxentModel
  Modifier
  Constructor
  Description
  ``
  `ChunkerModel(String languageCode, MaxentModel chunkerModel, int beamSize, Map<String,String> manifestInfoEntries, ChunkerFactory factory)`
  Initializes a `ChunkerModel` instance via given parameters.
  ``
  `ChunkerModel(String languageCode, MaxentModel chunkerModel, Map<String,String> manifestInfoEntries, ChunkerFactory factory)`
  Initializes a `ChunkerModel` instance via given parameters.
  ``
  `ChunkerModel(String languageCode, MaxentModel chunkerModel, ChunkerFactory factory)`
  Initializes a `ChunkerModel` 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
  Modifier
  Constructor
  Description
  ``
  `DoccatModel(String languageCode, MaxentModel doccatModel, Map<String,String> manifestInfoEntries, DoccatFactory factory)`
  Initializes a `DoccatModel` 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
  Modifier
  Constructor
  Description
  ``
  `LanguageDetectorModel(MaxentModel langdetectModel, Map<String,String> manifestInfoEntries, LanguageDetectorFactory factory)`
  Initializes a `LanguageDetectorModel` instance via given parameters.

- ## Uses of MaxentModel in opennlp.tools.lemmatizer

  Constructors in opennlp.tools.lemmatizer with parameters of type MaxentModel
  Modifier
  Constructor
  Description
  ``
  `LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, int beamSize, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)`
  Initializes a `LemmatizerModel` instance via given parameters.
  ``
  `LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)`
  Initializes a `LemmatizerModel` instance via given parameters.
  ``
  `LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, LemmatizerFactory factory)`
  Initializes a `LemmatizerModel` 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)`
  `final MaxentModel`
  AbstractEventModelSequenceTrainer.`train(SequenceStream<Event> events)`
  `final MaxentModel`
  AbstractEventTrainer.`train(DataIndexer indexer)`
  `final MaxentModel`
  AbstractEventTrainer.`train(ObjectStream<Event> events)`
  `MaxentModel`
  EventModelSequenceTrainer.`train(SequenceStream<T> events)`
  Trains a `MaxentModel` for given `events`.
  `MaxentModel`
  EventTrainer.`train(DataIndexer indexer)`
  Trains a `MaxentModel` for given `events`.
  `MaxentModel`
  EventTrainer.`train(ObjectStream<Event> events)`
  Trains a `MaxentModel` for given `events`.
  Constructors in opennlp.tools.ml with parameters of type MaxentModel
  Modifier
  Constructor
  Description
  ``
  `BeamSearch(int size, MaxentModel model)`
  Initializes a `BeamSearch` instance.
  ``
  `BeamSearch(int size, MaxentModel model, int cacheSize)`
  Initializes a `BeamSearch` instance.

- ## Uses of MaxentModel in opennlp.tools.ml.maxent

  Classes in opennlp.tools.ml.maxent that implement MaxentModel
  Modifier and Type
  Class
  Description
  `final 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 basic `MaxentModel` 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`
  A `MaxentModel` 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`
  A `model` implementation based one the perceptron algorithm.

- ## Uses of MaxentModel in opennlp.tools.namefind

  Constructors in opennlp.tools.namefind with parameters of type MaxentModel
  Modifier
  Constructor
  Description
  ``
  `TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries)`
  Initializes a `TokenNameFinderModel` instance via given parameters.
  ``
  `TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String,Object> resources, Map<String,String> manifestInfoEntries)`
  Initializes a `TokenNameFinderModel` 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 a `TokenNameFinderModel` instance via given parameters.
  ``
  `TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, Map<String,Object> resources, Map<String,String> manifestInfoEntries)`
  Initializes a `TokenNameFinderModel` 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 new `ParserModel` instance from the existing configuration with the specified `buildModel` for exchange.
  `ParserModel`
  ParserModel.`updateCheckModel(MaxentModel checkModel)`
  Instantiates a new `ParserModel` instance from the existing configuration with the specified `checkModel` for exchange.
  Constructors in opennlp.tools.parser with parameters of type MaxentModel
  Modifier
  Constructor
  Description
  ``
  `ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType)`
  Initializes a `ParserModel` 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 a `ParserModel` instance via given parameters.
  ``
  `ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType type, Map<String,String> manifestInfoEntries)`
  Initializes a `ParserModel` 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.
  use `POSModel.getPosSequenceModel()` instead.
  Constructors in opennlp.tools.postag with parameters of type MaxentModel
  Modifier
  Constructor
  Description
  ``
  `POSModel(String languageCode, MaxentModel posModel, int beamSize, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
  Initializes a `POSModel` instance via given parameters.
  ``
  `POSModel(String languageCode, MaxentModel posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
  Initializes a `POSModel` 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
  Modifier
  Constructor
  Description
  ``
  `SentenceModel(String languageCode, MaxentModel sentModel, Map<String,String> manifestInfoEntries, SentenceDetectorFactory sdFactory)`
  Initializes a `SentenceModel` instance via given parameters.

- ## 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
  Modifier
  Constructor
  Description
  ``
  `TokenizerModel(MaxentModel tokenizerModel, Map<String,String> manifestInfoEntries, TokenizerFactory tokenizerFactory)`
  Initializes a `TokenizerModel` instance via a `MaxentModel` 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 the `expectedOutcomes` are all contained as outcomes in the given `model`.
  `static void`
  ModelUtil.`writeModel(MaxentModel model, OutputStream out)`
  Writes the given `MaxentModel` to the specified `OutputStream`.