|
|||||||||
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.PlainTextPerceptronModelReader
public class PlainTextPerceptronModelReader
Constructor Summary | |
---|---|
PlainTextPerceptronModelReader(java.io.BufferedReader br)
Constructor which directly instantiates the BufferedReader containing the model contents. |
|
PlainTextPerceptronModelReader(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 PlainTextPerceptronModelReader(java.io.BufferedReader br)
br
- The BufferedReader containing the model information.public PlainTextPerceptronModelReader(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 |