org.cogroo.tools.featurizer
Class FeaturizerModel
java.lang.Object
opennlp.tools.util.model.BaseModel
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
Fields inherited from class opennlp.tools.util.model.BaseModel |
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY |
Methods inherited from class opennlp.tools.util.model.BaseModel |
getArtifact, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize |
FEATURIZER_MODEL_ENTRY_NAME
public static final String FEATURIZER_MODEL_ENTRY_NAME
- See Also:
- Constant Field Values
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
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.