public class PreviousMapFeatureGenerator
extends opennlp.tools.util.featuregen.CustomFeatureGenerator
| Constructor and Description |
|---|
PreviousMapFeatureGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAdaptiveData()
Clears the previous map.
|
void |
createFeatures(List<String> features,
String[] tokens,
int index,
String[] preds) |
void |
init(Map<String,String> arg0,
opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider arg1) |
void |
updateAdaptiveData(String[] tokens,
String[] outcomes)
Generates previous decision features for the token based on contents of the
previous map.
|
public void createFeatures(List<String> features, String[] tokens, int index, String[] preds)
public void updateAdaptiveData(String[] tokens, String[] outcomes)
public void clearAdaptiveData()
Copyright © 2017 IXA pipes. All rights reserved.