|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.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.
Field Summary |
---|
Fields inherited from class opennlp.maxent.io.GISModelReader |
---|
NUM_PREDS |
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 | |
---|---|
protected java.lang.String |
readUTF()
Implement as needed for the format the model is stored in. |
Methods inherited from class opennlp.maxent.io.SuffixSensitiveGISModelReader |
---|
main, readDouble, readInt |
Methods inherited from class opennlp.maxent.io.GISModelReader |
---|
checkModelType, getCorrectionConstant, getCorrectionParameter, getModel, getOutcomePatterns, getOutcomes, getParameters, getPredicates |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 |
---|
protected java.lang.String readUTF() throws java.io.IOException
GISModelReader
readUTF
in class SuffixSensitiveGISModelReader
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |