public class POSBaselineContextGenerator
extends opennlp.tools.util.featuregen.CustomFeatureGenerator
| Constructor and Description |
|---|
POSBaselineContextGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAdaptiveData() |
void |
createFeatures(List<String> features,
String[] tokens,
int index,
String[] previousOutcomes) |
void |
init(Map<String,String> properties,
opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider resourceProvider) |
void |
updateAdaptiveData(String[] tokens,
String[] outcomes) |
public void createFeatures(List<String> features, String[] tokens, int index, String[] previousOutcomes)
public void clearAdaptiveData()
public void init(Map<String,String> properties, opennlp.tools.util.featuregen.FeatureGeneratorResourceProvider resourceProvider) throws opennlp.tools.util.InvalidFormatException
init in class opennlp.tools.util.featuregen.CustomFeatureGeneratoropennlp.tools.util.InvalidFormatExceptionCopyright © 2016 IXA pipes. All rights reserved.