Uses of Interface opennlp.tools.ml.model.DataReader (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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

- Packages that use DataReader
  Package | Description
  --- | ---
  opennlp.tools.ml.maxent.io | Provides the I/O functionality of the maxent package including reading and writing models in several formats.
  opennlp.tools.ml.model |
  opennlp.tools.ml.naivebayes |
  opennlp.tools.ml.perceptron |

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

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

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

    Classes in opennlp.tools.ml.model that implement DataReader
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BinaryFileDataReader`
    `class` | `ObjectDataReader`
    `class` | `PlainTextFileDataReader`

    Fields in opennlp.tools.ml.model declared as DataReader
    Modifier and Type | Field and Description
    --- | ---
    `protected DataReader` | AbstractModelReader.`dataReader`

    Constructors in opennlp.tools.ml.model with parameters of type DataReader
    Constructor and Description
    `AbstractModelReader(DataReader dataReader)`
    `GenericModelReader(DataReader dataReader)`

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

    Constructors in opennlp.tools.ml.naivebayes with parameters of type DataReader
    Constructor and Description
    `NaiveBayesModelReader(DataReader dataReader)`

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

    Constructors in opennlp.tools.ml.perceptron with parameters of type DataReader
    Constructor and Description
    `PerceptronModelReader(DataReader dataReader)`

Copyright © 2026 The Apache Software Foundation. All rights reserved.