BinaryGISModelReader (Apache OpenNLP :: Core :: ML :: Maximum Entropy 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.ml.maxent.io, class: BinaryGISModelReader

Package opennlp.tools.ml.maxent.io

# Class BinaryGISModelReader

java.lang.Object
opennlp.tools.ml.model.AbstractModelReader
opennlp.tools.ml.maxent.io.GISModelReader
opennlp.tools.ml.maxent.io.BinaryGISModelReader

public class BinaryGISModelReader extends GISModelReader
A `GISModelReader` that reads models from a binary format.

- ## Field Summary

  ### Fields inherited from class opennlp.tools.ml.model.AbstractModelReader

  `MAX_ENTRIES_PROPERTY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BinaryGISModelReader(DataInputStream dis)`
  Instantiates `BinaryGISModelReader` via a `DataInputStream` containing the model contents.

- ## Method Summary

  ### Methods inherited from class opennlp.tools.ml.maxent.io.GISModelReader

  `checkModelType, constructModel`

  ### Methods inherited from class opennlp.tools.ml.model.AbstractModelReader

  `getModel, readDouble, readInt, readUTF`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BinaryGISModelReader

    public BinaryGISModelReader(DataInputStream dis)
    Instantiates `BinaryGISModelReader` via a `DataInputStream` containing the model contents.
    Parameters:
      `dis` - The `DataInputStream` containing the model information. It must be open and have bytes available.