opennlp.tools.util.featuregen
Interface FeatureGeneratorResourceProvider


public interface FeatureGeneratorResourceProvider

The FeatureGeneratorResourceProvider provides access to the resources provided in the model. Inside the model resources are identified by a name.

Note:
This class is not be intended to be implemented by users.
All implementing classes must be thread safe.


Method Summary
 Object getResource(String resourceIdentifier)
          Retrieves the resource object for the given name/identifier.
 

Method Detail

getResource

Object getResource(String resourceIdentifier)
Retrieves the resource object for the given name/identifier.

Parameters:
resourceIdentifier - the identifier which names the resource.
Returns:
the resource object


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