public interface SequenceLabelerContextGenerator extends opennlp.tools.util.BeamSearchContextGenerator<String>
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureGenerator(opennlp.tools.util.featuregen.AdaptiveFeatureGenerator generator)
Adds a feature generator to this set of feature generators.
|
void |
clearAdaptiveData()
Informs all the feature generators for a name finder that the context of
the adaptive data (typically a document) is no longer valid.
|
void |
updateAdaptiveData(String[] tokens,
String[] outcomes)
Informs all the feature generators for a sequence labeler that the
specified tokens have been classified with the corresponding set of
specified outcomes.
|
void addFeatureGenerator(opennlp.tools.util.featuregen.AdaptiveFeatureGenerator generator)
generator - The feature generator to add.void updateAdaptiveData(String[] tokens, String[] outcomes)
tokens - The tokens of the sentence or other text unit which has been
processed.outcomes - The outcomes associated with the specified tokens.void clearAdaptiveData()
Copyright © 2016 IXA pipes. All rights reserved.