ContextGenerator (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.ml.maxent, interface: ContextGenerator

# Interface ContextGenerator<T>

All Known Implementing Classes:
  `BasicContextGenerator`

public interface ContextGenerator<T>
Represents a generator of contexts for maxent decisions.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String[]`
  `getContext(T o)`
  Builds up the list of contextual predicates given an `object`.

- ## Method Details

  - ### getContext

    String[] getContext(T o)
    Builds up the list of contextual predicates given an `object`.
    Parameters:
      `o` - The `object` used as input.