public class PredDependentFeatsFeature extends FeatsFeature
wordExtractorincludeArgs, indexcounter, indices, name, POSPrefix, predMaxIndex| Modifier | Constructor and Description |
|---|---|
protected |
PredDependentFeatsFeature(FeatureName name,
TargetWord tw,
boolean usedForPredicateIdentification,
String POSPrefix) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFeatureStrings(Predicate pred,
Word arg) |
String[] |
getFeatureStrings(Sentence s,
int predIndex,
int argIndex) |
protected void |
performFeatureExtraction(Sentence s,
boolean allWords) |
addFeatures, addFeaturesaddMap, addPOSPrefix, doExtractFeatures, extractFeatures, getMap, getName, indexOf, setDoneWithPredFeatureExtraction, size, toStringprotected PredDependentFeatsFeature(FeatureName name, TargetWord tw, boolean usedForPredicateIdentification, String POSPrefix)
public String[] getFeatureStrings(Sentence s, int predIndex, int argIndex)
getFeatureStrings in class SetFeaturepublic String[] getFeatureStrings(Predicate pred, Word arg)
getFeatureStrings in class SetFeatureprotected void performFeatureExtraction(Sentence s, boolean allWords)
performFeatureExtraction in class SetFeatureCopyright © 2016. All rights reserved.