Package opennlp.tools.ml.model
Class OnePassRealValueDataIndexer
java.lang.Object
opennlp.tools.ml.model.AbstractDataIndexer
opennlp.tools.ml.model.OnePassDataIndexer
opennlp.tools.ml.model.OnePassRealValueDataIndexer
- All Implemented Interfaces:
DataIndexer
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:
-
Field Summary
Fields inherited from class opennlp.tools.ml.model.AbstractDataIndexer
CUTOFF_DEFAULT, CUTOFF_PARAM, SORT_DEFAULT, SORT_PARAM -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class opennlp.tools.ml.model.OnePassDataIndexer
indexMethods inherited from class opennlp.tools.ml.model.AbstractDataIndexer
getContexts, getNumEvents, getNumTimesEventsSeen, getOutcomeLabels, getOutcomeList, getPredCounts, getPredLabels, init
-
Constructor Details
-
OnePassRealValueDataIndexer
public OnePassRealValueDataIndexer()
-
-
Method Details
-
getValues
public float[][] getValues()- Specified by:
getValuesin interfaceDataIndexer- Overrides:
getValuesin classAbstractDataIndexer- Returns:
- Retrieves the values associated with each event context or
nullif integer values are to be used.
-