Package opennlp.tools.ml.maxent.io
Class BinaryQNModelReader
java.lang.Object
opennlp.tools.ml.model.AbstractModelReader
opennlp.tools.ml.maxent.io.GISModelReader
opennlp.tools.ml.maxent.io.QNModelReader
opennlp.tools.ml.maxent.io.BinaryQNModelReader
A
QNModelReader that reads models from a binary format.-
Constructor Summary
ConstructorsConstructorDescriptionInstantiatesBinaryQNModelReadervia aDataInputStreamcontaining the model contents. -
Method Summary
Methods inherited from class opennlp.tools.ml.maxent.io.QNModelReader
checkModelType, constructModelMethods inherited from class opennlp.tools.ml.model.AbstractModelReader
getModel, readDouble, readInt, readUTF
-
Constructor Details
-
BinaryQNModelReader
InstantiatesBinaryQNModelReadervia aDataInputStreamcontaining the model contents.- Parameters:
dis- TheDataInputStreamcontaining the model information. It must be open and have bytes available.
-