Package opennlp.tools.util.featuregen
Class BrownClusterBigramFeatureGeneratorFactory
java.lang.Object
opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
opennlp.tools.util.featuregen.BrownClusterBigramFeatureGeneratorFactory
public class BrownClusterBigramFeatureGeneratorFactory
extends GeneratorFactory.AbstractXmlFeatureGeneratorFactory
Generates Brown clustering features for token bigrams.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BrownClusterBigramFeatureGeneratorFactory
public BrownClusterBigramFeatureGeneratorFactory()
-
-
Method Details
-
create
- Specified by:
create
in classGeneratorFactory.AbstractXmlFeatureGeneratorFactory
- Returns:
- null if the subclass uses
GeneratorFactory.AbstractXmlFeatureGeneratorFactory.resourceManager
to instantiate - Throws:
InvalidFormatException
-
getArtifactSerializerMapping
public Map<String,ArtifactSerializer<?>> getArtifactSerializerMapping() throws InvalidFormatException- Overrides:
getArtifactSerializerMapping
in classGeneratorFactory.AbstractXmlFeatureGeneratorFactory
- Throws:
InvalidFormatException
-