|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.model.AbstractModelReader
opennlp.perceptron.PerceptronModelReader
opennlp.perceptron.BinaryPerceptronModelReader
public class BinaryPerceptronModelReader
Constructor Summary | |
---|---|
BinaryPerceptronModelReader(java.io.DataInputStream dis)
Constructor which directly instantiates the DataInputStream containing the model contents. |
|
BinaryPerceptronModelReader(java.io.File f)
Constructor which takes a File and creates a reader for it. |
Method Summary |
---|
Methods inherited from class opennlp.perceptron.PerceptronModelReader |
---|
checkModelType, constructModel |
Methods inherited from class opennlp.model.AbstractModelReader |
---|
getModel, readDouble, readInt, readUTF |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryPerceptronModelReader(java.io.DataInputStream dis)
dis
- The DataInputStream containing the model information.public BinaryPerceptronModelReader(java.io.File f) throws java.io.IOException
f
- The File in which the model is stored.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |