public class BrownClusterBigramFeatureGeneratorFactory extends GeneratorFactory.AbstractXmlFeatureGeneratorFactory
Constructor and Description |
---|
BrownClusterBigramFeatureGeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
AdaptiveFeatureGenerator |
create() |
AdaptiveFeatureGenerator |
create(Element generatorElement,
FeatureGeneratorResourceProvider resourceManager)
Deprecated.
|
Map<String,ArtifactSerializer<?>> |
getArtifactSerializerMapping() |
public BrownClusterBigramFeatureGeneratorFactory()
@Deprecated public AdaptiveFeatureGenerator create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager) throws InvalidFormatException
AdaptiveFeatureGenerator
from a the describing
XML element.generatorElement
- the element which contains the configurationresourceManager
- the resource manager which could be used
to access referenced resourcesAdaptiveFeatureGenerator
InvalidFormatException
public AdaptiveFeatureGenerator create() throws InvalidFormatException
create
in class GeneratorFactory.AbstractXmlFeatureGeneratorFactory
GeneratorFactory.AbstractXmlFeatureGeneratorFactory.resourceManager
to instantiateInvalidFormatException
public Map<String,ArtifactSerializer<?>> getArtifactSerializerMapping() throws InvalidFormatException
getArtifactSerializerMapping
in class GeneratorFactory.AbstractXmlFeatureGeneratorFactory
InvalidFormatException
Copyright © 2018 The Apache Software Foundation. All rights reserved.