opennlp.tools.util.featuregen
Interface FeatureGeneratorFactory


Deprecated. do not use this interface, will be removed!

@Deprecated
public interface FeatureGeneratorFactory

The FeatureGeneratorFactory interface is factory for AdaptiveFeatureGenerators.

Note:
All implementing classes must be thread safe.

See Also:
AdaptiveFeatureGenerator, FeatureGeneratorResourceProvider

Method Summary
 AdaptiveFeatureGenerator createFeatureGenerator(FeatureGeneratorResourceProvider resourceProvider)
          Deprecated. 
 

Method Detail

createFeatureGenerator

@Deprecated
AdaptiveFeatureGenerator createFeatureGenerator(FeatureGeneratorResourceProvider resourceProvider)
Deprecated. 

Constructs a new AdaptiveFeatureGenerator.

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.