Package opennlp.tools.ml

# Class AbstractMLModelWriter

java.lang.Object
opennlp.tools.ml.model.AbstractModelWriter
opennlp.tools.ml.AbstractMLModelWriter

public abstract class AbstractMLModelWriter extends AbstractModelWriter

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractMLModelWriter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `persist()`
  Serializes the `model` using the `AbstractModelWriter.writeUTF(String)`, `AbstractModelWriter.writeDouble(double)`, or `AbstractModelWriter.writeInt(int)`} methods implemented by extending classes.

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

  `close, writeDouble, writeInt, writeUTF`

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

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

- ## Constructor Details

  - ### AbstractMLModelWriter

    public AbstractMLModelWriter()

- ## Method Details

  - ### persist

    public void persist() throws IOException
    Description copied from class: `AbstractModelWriter`
    Serializes the `model` using the `AbstractModelWriter.writeUTF(String)`, `AbstractModelWriter.writeDouble(double)`, or `AbstractModelWriter.writeInt(int)`} methods implemented by extending classes.
    Specified by:
      `persist` in class `AbstractModelWriter`
    Throws:
      `IOException` - Thrown if IO errors occurred.