OnePassRealValueDataIndexer (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.ml.model, class: OnePassRealValueDataIndexer

# Class OnePassRealValueDataIndexer

java.lang.Object
opennlp.tools.ml.model.AbstractDataIndexer
opennlp.tools.ml.model.OnePassDataIndexer
opennlp.tools.ml.model.OnePassRealValueDataIndexer

All Implemented Interfaces:
  `DataIndexer`

public class OnePassRealValueDataIndexer extends OnePassDataIndexer
A `DataIndexer` for maxent model data which handles cutoffs for uncommon contextual predicates and provides a unique integer index for each of the predicates and maintains event values.

See Also:
  - `DataIndexer`
  - `AbstractDataIndexer`

- ## Field Summary

  ### Fields inherited from class AbstractDataIndexer

  `SORT_DEFAULT, SORT_PARAM`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OnePassRealValueDataIndexer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `float[][]`
  `getValues()`

  ### Methods inherited from class OnePassDataIndexer

  `index`

  ### Methods inherited from class AbstractDataIndexer

  `getContexts, getNumEvents, getNumTimesEventsSeen, getOutcomeLabels, getOutcomeList, getPredCounts, getPredLabels, init`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### OnePassRealValueDataIndexer

    public OnePassRealValueDataIndexer()

- ## Method Details

  - ### getValues

    public float[][] getValues()
    Specified by:
      `getValues` in interface `DataIndexer`
    Overrides:
      `getValues` in class `AbstractDataIndexer`
    Returns:
      Retrieves the values associated with each event context or `null` if integer values are to be used.