opennlp.maxent.io
Class QNModelReader

java.lang.Object
  extended by opennlp.model.AbstractModelReader
      extended by opennlp.maxent.io.QNModelReader
Direct Known Subclasses:
BinaryQNModelReader, ObjectQNModelReader

public class QNModelReader
extends AbstractModelReader


Constructor Summary
QNModelReader(DataReader dataReader)
           
QNModelReader(File file)
           
 
Method Summary
 void checkModelType()
           
 AbstractModel 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

QNModelReader

public QNModelReader(DataReader dataReader)

QNModelReader

public QNModelReader(File file)
              throws IOException
Throws:
IOException
Method Detail

checkModelType

public void checkModelType()
                    throws IOException
Specified by:
checkModelType in class AbstractModelReader
Throws:
IOException

constructModel

public AbstractModel constructModel()
                             throws IOException
Specified by:
constructModel in class AbstractModelReader
Throws:
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.