Package opennlp.tools.util.featuregen
Interface FeatureGeneratorFactory
-
@Deprecated public interface FeatureGeneratorFactoryDeprecated.do not use this interface, will be removed!TheFeatureGeneratorFactoryinterface is factory forAdaptiveFeatureGenerators.Note:
All implementing classes must be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AdaptiveFeatureGeneratorcreateFeatureGenerator(FeatureGeneratorResourceProvider resourceProvider)Deprecated.
-
-
-
Method Detail
-
createFeatureGenerator
@Deprecated AdaptiveFeatureGenerator createFeatureGenerator(FeatureGeneratorResourceProvider resourceProvider)
Deprecated.Constructs a newAdaptiveFeatureGenerator.Note:
It is assumed that all resource objects are thread safe and can be shared between multiple instances of feature generators. If that is not the case the implementor should make a copy of the resource object. All resource objects that are included in OpenNLP can be assumed to be thread safe.- Parameters:
resourceProvider- provides access to resources which are needed for feature generation.- Returns:
- the newly created feature generator
-
-