Class PosTaggerFeatureGenerator
java.lang.Object
opennlp.tools.util.featuregen.PosTaggerFeatureGenerator
- All Implemented Interfaces:
opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
public class PosTaggerFeatureGenerator
extends Object
implements opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
A POS tagging driven feature generator. Adds words and pos tags of the surrounding context.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFeatures(List<String> features, String[] tokens, int index, String[] tags) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface opennlp.tools.util.featuregen.AdaptiveFeatureGenerator
clearAdaptiveData, updateAdaptiveData
-
Constructor Details
-
PosTaggerFeatureGenerator
public PosTaggerFeatureGenerator()
-
-
Method Details
-
createFeatures
-