org.cogroo.tools.chunker2
Class ChunkerModel

java.lang.Object
  extended by opennlp.tools.util.model.BaseModel
      extended by org.cogroo.tools.chunker2.ChunkerModel
All Implemented Interfaces:
opennlp.tools.util.model.ArtifactProvider

public class ChunkerModel
extends opennlp.tools.util.model.BaseModel

The ChunkerModel is the model used by a learnable Chunker.

See Also:
ChunkerME

Field Summary
static String CHUNKER_MODEL_ENTRY_NAME
           
 
Fields inherited from class opennlp.tools.util.model.BaseModel
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
 
Constructor Summary
ChunkerModel(InputStream in)
           
ChunkerModel(String languageCode, opennlp.model.AbstractModel featurizerModel, Map<String,String> manifestInfoEntries, ChunkerFactory factory)
           
 
Method Summary
 opennlp.model.AbstractModel getChunkerModel()
           
 ChunkerFactory getFactory()
           
 
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
 

Field Detail

CHUNKER_MODEL_ENTRY_NAME

public static final String CHUNKER_MODEL_ENTRY_NAME
See Also:
Constant Field Values
Constructor Detail

ChunkerModel

public ChunkerModel(String languageCode,
                    opennlp.model.AbstractModel featurizerModel,
                    Map<String,String> manifestInfoEntries,
                    ChunkerFactory factory)

ChunkerModel

public ChunkerModel(InputStream in)
             throws IOException,
                    opennlp.tools.util.InvalidFormatException
Throws:
IOException
opennlp.tools.util.InvalidFormatException
Method Detail

getFactory

public ChunkerFactory getFactory()

getChunkerModel

public opennlp.model.AbstractModel getChunkerModel()


Copyright © 2012-2013 CoGrOO. All Rights Reserved.