|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.model.AbstractModelReader
opennlp.maxent.io.GISModelReader
opennlp.maxent.io.SuffixSensitiveGISModelReader
opennlp.maxent.io.PooledGISModelReader
public class PooledGISModelReader
This class works exactly like the SuffisSensitiveGISModelReader except that it attempts to pool all context strings. This is useful when loading models which share many context strings.
Constructor Summary | |
---|---|
PooledGISModelReader(java.io.File f)
A reader for GIS models which inspects the filename and invokes the appropriate GISModelReader depending on the filename's suffixes. |
Method Summary | |
---|---|
java.lang.String |
readUTF()
Implement as needed for the format the model is stored in. |
Methods inherited from class opennlp.maxent.io.SuffixSensitiveGISModelReader |
---|
main |
Methods inherited from class opennlp.maxent.io.GISModelReader |
---|
checkModelType, constructModel |
Methods inherited from class opennlp.model.AbstractModelReader |
---|
getModel, readDouble, readInt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PooledGISModelReader(java.io.File f) throws java.io.IOException
The following assumption are made about suffixes:
f
-
java.io.IOException
Method Detail |
---|
public java.lang.String readUTF() throws java.io.IOException
AbstractModelReader
readUTF
in class AbstractModelReader
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |