Class DictionaryFeatureGeneratorFactory
java.lang.Object
opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
opennlp.tools.util.featuregen.DictionaryFeatureGeneratorFactory
public class DictionaryFeatureGeneratorFactory
extends GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionopennlp.tools.util.featuregen.AdaptiveFeatureGeneratorcreate()
-
Constructor Details
-
DictionaryFeatureGeneratorFactory
public DictionaryFeatureGeneratorFactory()
-
-
Method Details
-
create
public opennlp.tools.util.featuregen.AdaptiveFeatureGenerator create() throws opennlp.tools.util.InvalidFormatException- Specified by:
createin classGeneratorFactory.AbstractXmlFeatureGeneratorFactory- Returns:
nullif the subclass usesGeneratorFactory.AbstractXmlFeatureGeneratorFactory.resourceManagerto instantiate.- Throws:
opennlp.tools.util.InvalidFormatException- Thrown if the format is incorrect.
-
getArtifactSerializerMapping
public Map<String, opennlp.tools.util.model.ArtifactSerializer<?>> getArtifactSerializerMapping() throws opennlp.tools.util.InvalidFormatException- Overrides:
getArtifactSerializerMappingin classGeneratorFactory.AbstractXmlFeatureGeneratorFactory- Throws:
opennlp.tools.util.InvalidFormatException
-