FeatureGeneratorResourceProvider (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2026 The Apache Software Foundation. All rights reserved.