opennlp.tools.util.featuregen

## Class CustomFeatureGenerator

- java.lang.Object
- - opennlp.tools.util.featuregen.CustomFeatureGenerator

- All Implemented Interfaces:
    AdaptiveFeatureGenerator

  Deprecated.

      @Deprecated
      public abstract class CustomFeatureGenerator
      extends Object
      implements AdaptiveFeatureGenerator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CustomFeatureGenerator()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `init(Map<String,String> properties, FeatureGeneratorResourceProvider resourceProvider)` Deprecated. Initialized the Custom Feature Generator with defined properties and loaded resources.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator

      `clearAdaptiveData, createFeatures, updateAdaptiveData`

- - ### Constructor Detail

    - #### CustomFeatureGenerator

          public CustomFeatureGenerator()

      Deprecated.

  - ### Method Detail

    - #### init

          public abstract void init(Map<String,String> properties,
                                    FeatureGeneratorResourceProvider resourceProvider)
                             throws InvalidFormatException

      Deprecated.
      Initialized the Custom Feature Generator with defined properties and loaded resources.
      Parameters:
        `properties` -
        `resourceProvider` -
      Throws:
        `InvalidFormatException`

Copyright © 2026 The Apache Software Foundation. All rights reserved.