# Uses of Interface
opennlp.tools.ml.model.DataReader

Packages that use DataReader
Package
Description
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.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.

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

  Constructors in opennlp.tools.ml.maxent.io with parameters of type DataReader
  Modifier
  Constructor
  Description
  ``
  `GISModelReader(DataReader dataReader)`
  Initializes a `GISModelReader` via a `DataReader`.
  ``
  `QNModelReader(DataReader dataReader)`
  Initializes a `QNModelReader` via a `DataReader`.

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

  Classes in opennlp.tools.ml.model that implement DataReader
  Modifier and Type
  Class
  Description
  `class`
  `BinaryFileDataReader`
  A `DataReader` that reads files from a binary format.
  `class`
  `ObjectDataReader`
  A `DataReader` implementation based on `ObjectInputStream`.
  `class`
  `PlainTextFileDataReader`
  A generic `DataReader` implementation for plain text files.
  Fields in opennlp.tools.ml.model declared as DataReader
  Modifier and Type
  Field
  Description
  `protected DataReader`
  AbstractModelReader.`dataReader`
  Constructors in opennlp.tools.ml.model with parameters of type DataReader
  Modifier
  Constructor
  Description
  ``
  `AbstractModelReader(DataReader dataReader)`
  Initializes a `AbstractModelReader` via a `DataReader`.
  ``
  `GenericModelReader(DataReader dataReader)`
  Initializes a `GenericModelReader` via a `DataReader`.

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

  Constructors in opennlp.tools.ml.naivebayes with parameters of type DataReader
  Modifier
  Constructor
  Description
  ``
  `NaiveBayesModelReader(DataReader dataReader)`
  Initializes a `NaiveBayesModelReader` via a `DataReader`.

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

  Constructors in opennlp.tools.ml.perceptron with parameters of type DataReader
  Modifier
  Constructor
  Description
  ``
  `PerceptronModelReader(DataReader dataReader)`
  Initializes a `PerceptronModelReader` via a `DataReader`.