public class ChunkBaselineContextGenerator
extends opennlp.tools.util.featuregen.CustomFeatureGenerator
implements opennlp.tools.util.featuregen.ArtifactToSerializerMapper
| Constructor and Description |
|---|
ChunkBaselineContextGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAdaptiveData() |
void |
createFeatures(List<String> features,
String[] tokens,
int index,
String[] previousOutcomes) |
Map<String,opennlp.tools.util.model.ArtifactSerializer<?>> |
getArtifactSerializerMapping() |
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)
createFeatures in interface opennlp.tools.util.featuregen.AdaptiveFeatureGeneratorpublic void updateAdaptiveData(String[] tokens, String[] outcomes)
updateAdaptiveData in interface opennlp.tools.util.featuregen.AdaptiveFeatureGeneratorpublic void clearAdaptiveData()
clearAdaptiveData in interface opennlp.tools.util.featuregen.AdaptiveFeatureGeneratorpublic 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.