org.cogroo.tools.featurizer
Class FeaturizerModel

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

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

The FeaturizerModel is the model used by a learnable Featurizer.

See Also:
FeaturizerME

Field Summary
static String FEATURIZER_MODEL_ENTRY_NAME
           
 
Fields inherited from class opennlp.tools.util.model.BaseModel
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
 
Constructor Summary
FeaturizerModel(InputStream in)
           
FeaturizerModel(String languageCode, opennlp.model.AbstractModel featurizerModel, Map<String,String> manifestInfoEntries, FeaturizerFactory factory)
           
 
Method Summary
 FeaturizerFactory getFactory()
           
 FeatureDictionary getFeatureDictionary()
          Retrieves the tag dictionary.
 opennlp.model.AbstractModel getFeaturizerModel()
           
 
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

FEATURIZER_MODEL_ENTRY_NAME

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

FeaturizerModel

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

FeaturizerModel

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

getFactory

public FeaturizerFactory getFactory()

getFeaturizerModel

public opennlp.model.AbstractModel getFeaturizerModel()

getFeatureDictionary

public FeatureDictionary getFeatureDictionary()
Retrieves the tag dictionary.

Returns:
tag dictionary or null if not used


Copyright © 2012-2013 CoGrOO. All Rights Reserved.