public class CharacterNgramFeatureGeneratorFactory extends GeneratorFactory.AbstractXmlFeatureGeneratorFactory
CharacterNgramFeatureGenerator
Constructor and Description |
---|
CharacterNgramFeatureGeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
AdaptiveFeatureGenerator |
create() |
AdaptiveFeatureGenerator |
create(Element generatorElement,
FeatureGeneratorResourceProvider resourceManager)
Deprecated.
|
public CharacterNgramFeatureGeneratorFactory()
@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
Copyright © 2020 The Apache Software Foundation. All rights reserved.