public class PrefixFeatureExtractor extends WordFeatureExtractor
Constructor and Description |
---|
PrefixFeatureExtractor(List<String> prefixes,
String featureName,
boolean useLastWordOfMultiwordConstituents) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Set<Feature> |
getWordFeatures(TextAnnotation ta,
int wordPosition) |
convertToWordFeatureExtractor, getFeatures
public Set<Feature> getWordFeatures(TextAnnotation ta, int wordPosition) throws EdisonException
getWordFeatures
in class WordFeatureExtractor
EdisonException
public String getName()
getName
in interface FeatureExtractor
getName
in class WordFeatureExtractor
Copyright © 2017. All rights reserved.