Package opennlp.tools.ml.model
Class AbstractModelReader
java.lang.Object
opennlp.tools.ml.model.AbstractModelReader
- Direct Known Subclasses:
GenericModelReader,GISModelReader,PerceptronModelReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract AbstractModelgetModel()doubleImplement as needed for the format the model is stored in.intreadInt()Implement as needed for the format the model is stored in.readUTF()Implement as needed for the format the model is stored in.
-
Constructor Details
-
AbstractModelReader
- Throws:
IOException
-
AbstractModelReader
-
-
Method Details
-
readInt
Implement as needed for the format the model is stored in.- Throws:
IOException
-
readDouble
Implement as needed for the format the model is stored in.- Throws:
IOException
-
readUTF
Implement as needed for the format the model is stored in.- Throws:
IOException
-
getModel
- Throws:
IOException
-
checkModelType
- Throws:
IOException
-
constructModel
- Throws:
IOException
-