Package opennlp.tools.util.featuregen
Class WordClusterFeatureGeneratorFactory
java.lang.Object
opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
opennlp.tools.util.featuregen.WordClusterFeatureGeneratorFactory
public class WordClusterFeatureGeneratorFactory
extends GeneratorFactory.AbstractXmlFeatureGeneratorFactory
Defines a word cluster generator factory; it reads an element containing
 'w2vwordcluster' as a tag name. These clusters are typically produced by
 word2vec or clark pos induction systems.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
WordClusterFeatureGeneratorFactorypublic WordClusterFeatureGeneratorFactory()
 
- 
- 
Method Details- 
create- Specified by:
- createin class- GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- Returns:
- nullif the subclass uses- GeneratorFactory.AbstractXmlFeatureGeneratorFactory.resourceManagerto instantiate
- Throws:
- InvalidFormatException
 
- 
getArtifactSerializerMappingpublic Map<String,ArtifactSerializer<?>> getArtifactSerializerMapping() throws InvalidFormatException- Overrides:
- getArtifactSerializerMappingin class- GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- Throws:
- InvalidFormatException
 
 
-