Package opennlp.tools.ml.model

## Class GenericModelReader

- java.lang.Object
- - opennlp.tools.ml.model.AbstractModelReader
  - - opennlp.tools.ml.model.GenericModelReader

-     public class GenericModelReader
      extends AbstractModelReader

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GenericModelReader​(File f)` |
    `GenericModelReader​(DataReader dataReader)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `checkModelType()` |
    `AbstractModel` | `constructModel()` |

    - ### Methods inherited from class opennlp.tools.ml.model.AbstractModelReader

      `getModel, readDouble, readInt, readUTF`

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

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

- - ### Constructor Detail

    - #### GenericModelReader

          public GenericModelReader​(File f)
                             throws IOException

      Throws:
        `IOException`

    - #### GenericModelReader

          public GenericModelReader​(DataReader dataReader)

  - ### Method Detail

    - #### checkModelType

          public void checkModelType()
                              throws IOException

      Specified by:
        `checkModelType` in class `AbstractModelReader`
      Throws:
        `IOException`

    - #### constructModel

          public AbstractModel constructModel()
                                       throws IOException

      Specified by:
        `constructModel` in class `AbstractModelReader`
      Throws:
        `IOException`