# Uses of Class
opennlp.tools.ml.model.AbstractModel

Packages that use AbstractModel
Package
Description
opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.lemmatizer
Package related to the lemmatizer functionality.
opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.maxent.io
Package related to the I/O functionality of the maxent package including reading and writing models in several formats.
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.postag
Package related to part-of-speech tagging.
opennlp.tools.util.model

- ## Uses of AbstractModel in opennlp.tools.chunker

  Methods in opennlp.tools.chunker with parameters of type AbstractModel
  Modifier and Type
  Method
  Description
  `Event[]`
  ChunkSampleSequenceStream.`updateContext(Sequence<ChunkSample> sequence, AbstractModel model)`

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

  Methods in opennlp.tools.lemmatizer with parameters of type AbstractModel
  Modifier and Type
  Method
  Description
  `Event[]`
  LemmaSampleSequenceStream.`updateContext(Sequence<LemmaSample> sequence, AbstractModel model)`

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

  Subclasses of AbstractModel in opennlp.tools.ml.maxent
  Modifier and Type
  Class
  Description
  `final class`
  `GISModel`
  A maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure.

- ## Uses of AbstractModel in opennlp.tools.ml.maxent.io

  Methods in opennlp.tools.ml.maxent.io that return AbstractModel
  Modifier and Type
  Method
  Description
  `AbstractModel`
  GISModelReader.`constructModel()`
  Retrieves a model from disk.
  Constructors in opennlp.tools.ml.maxent.io with parameters of type AbstractModel
  Modifier
  Constructor
  Description
  ``
  `BinaryGISModelWriter(AbstractModel model, DataOutputStream dos)`
  Instantiates `BinaryGISModelWriter` via an `GIS model` and a `DataOutputStream`.
  ``
  `BinaryGISModelWriter(AbstractModel model, File f)`
  Instantiates `BinaryGISModelWriter` via an `GIS model` and a `File`.
  ``
  `BinaryQNModelWriter(AbstractModel model, DataOutputStream dos)`
  Instantiates `BinaryQNModelWriter` via an `QN model` and a `DataOutputStream`.
  ``
  `BinaryQNModelWriter(AbstractModel model, File f)`
  Instantiates `BinaryQNModelWriter` via an `QN model` and a `File`.
  ``
  `GISModelWriter(AbstractModel model)`
  Initializes a `GISModelWriter` for a `GIS model`.
  ``
  `QNModelWriter(AbstractModel model)`

- ## Uses of AbstractModel in opennlp.tools.ml.maxent.quasinewton

  Subclasses of AbstractModel in opennlp.tools.ml.maxent.quasinewton
  Modifier and Type
  Class
  Description
  `class`
  `QNModel`
  A maximum entropy model which has been trained using the Quasi Newton (QN) algorithm.
  Methods in opennlp.tools.ml.maxent.quasinewton that return AbstractModel
  Modifier and Type
  Method
  Description
  `AbstractModel`
  QNTrainer.`doTrain(DataIndexer indexer)`

- ## Uses of AbstractModel in opennlp.tools.ml.model

  Methods in opennlp.tools.ml.model that return AbstractModel
  Modifier and Type
  Method
  Description
  `abstract AbstractModel`
  AbstractModelReader.`constructModel()`
  Constructs a `model`.
  `AbstractModel`
  GenericModelReader.`constructModel()`
  `AbstractModel`
  AbstractModelReader.`getModel()`
  Methods in opennlp.tools.ml.model with parameters of type AbstractModel
  Modifier and Type
  Method
  Description
  `Event[]`
  SequenceStream.`updateContext(Sequence<S> sequence, AbstractModel model)`
  Creates a new event array based on the outcomes predicted by the specified parameters for the specified `Sequence`.
  Constructors in opennlp.tools.ml.model with parameters of type AbstractModel
  Modifier
  Constructor
  Description
  ``
  `GenericModelWriter(AbstractModel model, DataOutputStream dos)`
  Initializes a `GenericModelWriter` for an `AbstractModel` with an associated `DataOutputStream` the model shall be written to.
  ``
  `GenericModelWriter(AbstractModel model, File file)`
  Initializes a `GenericModelWriter` for an `AbstractModel` with an associated `File` the model shall be written to.

- ## Uses of AbstractModel in opennlp.tools.ml.naivebayes

  Subclasses of AbstractModel in opennlp.tools.ml.naivebayes
  Modifier and Type
  Class
  Description
  `class`
  `NaiveBayesModel`
  A `MaxentModel` implementation of the multinomial Naive Bayes classifier model.
  Methods in opennlp.tools.ml.naivebayes that return AbstractModel
  Modifier and Type
  Method
  Description
  `AbstractModel`
  NaiveBayesModelReader.`constructModel()`
  Constructs a `model`.
  `AbstractModel`
  NaiveBayesTrainer.`doTrain(DataIndexer indexer)`
  `AbstractModel`
  NaiveBayesTrainer.`trainModel(DataIndexer di)`
  Trains a `NaiveBayesModel` with given parameters.
  Constructors in opennlp.tools.ml.naivebayes with parameters of type AbstractModel
  Modifier
  Constructor
  Description
  ``
  `BinaryNaiveBayesModelWriter(AbstractModel model, DataOutputStream dos)`
  Instantiates `BinaryNaiveBayesModelWriter` via an `naive bayes model` and a `DataOutputStream`.
  ``
  `BinaryNaiveBayesModelWriter(AbstractModel model, File f)`
  Instantiates `BinaryNaiveBayesModelWriter` via an `naive bayes model` and a `File`.
  ``
  `NaiveBayesModelWriter(AbstractModel model)`
  Initializes a `NaiveBayesModelWriter` for a `NaiveBayes model`.
  ``
  `PlainTextNaiveBayesModelWriter(AbstractModel model, BufferedWriter bw)`
  Instantiates `PlainTextNaiveBayesModelWriter` via an `naive bayes model` and a `BufferedWriter`.
  ``
  `PlainTextNaiveBayesModelWriter(AbstractModel model, File f)`
  Instantiates `PlainTextNaiveBayesModelWriter` via an `naive bayes model` and a `File`.

- ## Uses of AbstractModel in opennlp.tools.ml.perceptron

  Subclasses of AbstractModel in opennlp.tools.ml.perceptron
  Modifier and Type
  Class
  Description
  `class`
  `PerceptronModel`
  A `model` implementation based one the perceptron algorithm.
  Methods in opennlp.tools.ml.perceptron that return AbstractModel
  Modifier and Type
  Method
  Description
  `AbstractModel`
  PerceptronModelReader.`constructModel()`
  Constructs a `model`.
  `AbstractModel`
  PerceptronTrainer.`doTrain(DataIndexer indexer)`
  `AbstractModel`
  SimplePerceptronSequenceTrainer.`doTrain(SequenceStream<Event> events)`
  `AbstractModel`
  PerceptronTrainer.`trainModel(int iterations, DataIndexer di, int cutoff)`
  Trains a `PerceptronModel` with given parameters.
  `AbstractModel`
  PerceptronTrainer.`trainModel(int iterations, DataIndexer di, int cutoff, boolean useAverage)`
  Trains a `PerceptronModel` with given parameters.
  `AbstractModel`
  SimplePerceptronSequenceTrainer.`trainModel(int iterations, SequenceStream<Event> sequenceStream, int cutoff, boolean useAverage)`
  Trains a `PerceptronModel` with given parameters.
  Constructors in opennlp.tools.ml.perceptron with parameters of type AbstractModel
  Modifier
  Constructor
  Description
  ``
  `BinaryPerceptronModelWriter(AbstractModel model, DataOutputStream dos)`
  Instantiates `BinaryPerceptronModelWriter` via an `perceptron model` and a `DataOutputStream`.
  ``
  `BinaryPerceptronModelWriter(AbstractModel model, File f)`
  Instantiates `BinaryPerceptronModelWriter` via an `perceptron model` and a `File`.
  ``
  `PerceptronModelWriter(AbstractModel model)`
  Initializes a `PerceptronModelWriter` for a `perceptron model`.

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

  Methods in opennlp.tools.namefind with parameters of type AbstractModel
  Modifier and Type
  Method
  Description
  `Event[]`
  NameSampleSequenceStream.`updateContext(Sequence<NameSample> sequence, AbstractModel model)`

- ## Uses of AbstractModel in opennlp.tools.postag

  Methods in opennlp.tools.postag with parameters of type AbstractModel
  Modifier and Type
  Method
  Description
  `Event[]`
  POSSampleSequenceStream.`updateContext(Sequence<POSSample> pss, AbstractModel model)`
  `protected void`
  POSTaggerFactory.`validatePOSDictionary(POSDictionary posDict, AbstractModel posModel)`

- ## Uses of AbstractModel in opennlp.tools.util.model

  Methods in opennlp.tools.util.model that return AbstractModel
  Modifier and Type
  Method
  Description
  `AbstractModel`
  GenericModelSerializer.`create(InputStream in)`
  Methods in opennlp.tools.util.model with parameters of type AbstractModel
  Modifier and Type
  Method
  Description
  `void`
  GenericModelSerializer.`serialize(AbstractModel artifact, OutputStream out)`