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
AGISModelReader
that reads models from a binary format.
-
-
Constructor Summary
Constructors Constructor Description BinaryGISModelReader(DataInputStream dis)
InstantiatesBinaryGISModelReader
via aDataInputStream
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
-
-
-
-
Constructor Detail
-
BinaryGISModelReader
public BinaryGISModelReader(DataInputStream dis)
InstantiatesBinaryGISModelReader
via aDataInputStream
containing the model contents.- Parameters:
dis
- TheDataInputStream
containing the model information. It must be open and have bytes available.
-
-