public class DefaultFeaturizerFactory extends FeaturizerFactory
| Constructor and Description |
|---|
DefaultFeaturizerFactory()
Creates a
DefaultFeaturizerFactory that provides the default
implementation of the resources. |
DefaultFeaturizerFactory(FeatureDictionary featureDictionary,
String cgFlags)
Creates a
DefaultFeaturizerFactory. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
createArtifactMap() |
Map<String,opennlp.tools.util.model.ArtifactSerializer> |
createArtifactSerializersMap() |
void |
validateArtifactMap() |
create, createManifestEntries, getCGFlags, getDictionaryPoisonedTags, getFeatureDictionary, getFeaturizerContextGenerator, getSequenceValidatorpublic DefaultFeaturizerFactory()
DefaultFeaturizerFactory that provides the default
implementation of the resources.public DefaultFeaturizerFactory(FeatureDictionary featureDictionary, String cgFlags)
DefaultFeaturizerFactory. Use this constructor to
programmatically create a factory.public Map<String,opennlp.tools.util.model.ArtifactSerializer> createArtifactSerializersMap()
createArtifactSerializersMap in class FeaturizerFactorypublic Map<String,Object> createArtifactMap()
createArtifactMap in class FeaturizerFactorypublic void validateArtifactMap()
throws opennlp.tools.util.InvalidFormatException
validateArtifactMap in class FeaturizerFactoryopennlp.tools.util.InvalidFormatExceptionCopyright © 2012–2017 CoGrOO. All rights reserved.