opennlp.tools.doccat
Class DoccatModel

java.lang.Object
  extended by opennlp.tools.util.model.BaseModel
      extended by opennlp.tools.doccat.DoccatModel
All Implemented Interfaces:
ArtifactProvider

public class DoccatModel
extends BaseModel


Field Summary
 
Fields inherited from class opennlp.tools.util.model.BaseModel
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
 
Constructor Summary
DoccatModel(File modelFile)
           
DoccatModel(InputStream in)
           
DoccatModel(String languageCode, opennlp.model.AbstractModel doccatModel)
           
DoccatModel(URL modelURL)
           
 
Method Summary
 opennlp.model.AbstractModel getChunkerModel()
           
 
Methods inherited from class opennlp.tools.util.model.BaseModel
getArtifact, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoccatModel

public DoccatModel(String languageCode,
                   opennlp.model.AbstractModel doccatModel)

DoccatModel

public DoccatModel(InputStream in)
            throws IOException,
                   InvalidFormatException
Throws:
IOException
InvalidFormatException

DoccatModel

public DoccatModel(File modelFile)
            throws IOException,
                   InvalidFormatException
Throws:
IOException
InvalidFormatException

DoccatModel

public DoccatModel(URL modelURL)
            throws IOException,
                   InvalidFormatException
Throws:
IOException
InvalidFormatException
Method Detail

getChunkerModel

public opennlp.model.AbstractModel getChunkerModel()


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