Package opennlp.tools.ml.maxent.io
Class QNModelWriter
java.lang.Object
opennlp.tools.ml.model.AbstractModelWriter
opennlp.tools.ml.AbstractMLModelWriter
opennlp.tools.ml.maxent.io.GISModelWriter
opennlp.tools.ml.maxent.io.QNModelWriter
- Direct Known Subclasses:
BinaryQNModelWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
persist()
Writes theQN model
, using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes.Methods inherited from class opennlp.tools.ml.model.AbstractModelWriter
close, writeDouble, writeInt, writeUTF
-
Constructor Details
-
QNModelWriter
-
-
Method Details
-
persist
Writes theQN model
, using theAbstractModelWriter.writeUTF(String)
,AbstractModelWriter.writeDouble(double)
, orAbstractModelWriter.writeInt(int)
} methods implemented by extending classes.If you wish to create a
QNModelWriter
which uses a different structure, it will be necessary to override the#persist()
method in addition to implementing thewriteX(..)
methods.- Overrides:
persist
in classGISModelWriter
- Throws:
IOException
- Thrown if IO errors occurred.
-