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