Package opennlp.tools.ml.model
Class AbstractModelWriter
- java.lang.Object
-
- opennlp.tools.ml.model.AbstractModelWriter
-
- Direct Known Subclasses:
GenericModelWriter
,GISModelWriter
,PerceptronModelWriter
public abstract class AbstractModelWriter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractModelWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
close()
abstract void
persist()
abstract void
writeDouble(double d)
abstract void
writeInt(int i)
abstract void
writeUTF(java.lang.String s)
-
-
-
Method Detail
-
writeUTF
public abstract void writeUTF(java.lang.String s) throws java.io.IOException
- Throws:
java.io.IOException
-
writeInt
public abstract void writeInt(int i) throws java.io.IOException
- Throws:
java.io.IOException
-
writeDouble
public abstract void writeDouble(double d) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public abstract void close() throws java.io.IOException
- Throws:
java.io.IOException
-
persist
public abstract void persist() throws java.io.IOException
- Throws:
java.io.IOException
-
-