public class PredDependentAttrFeature extends AttrFeature
attr, wordExtractorincludeArgs, indexcounter, indices, name, POSPrefix, predMaxIndex| Modifier | Constructor and Description |
|---|---|
protected |
PredDependentAttrFeature(FeatureName name,
Word.WordData attr,
TargetWord tw,
boolean usedForPredicateIdentification,
String POSPrefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFeatureString(Predicate pred,
Word arg) |
String |
getFeatureString(Sentence s,
int predIndex,
int argIndex) |
addFeatures, addFeatures, performFeatureExtractionaddMap, addPOSPrefix, doExtractFeatures, extractFeatures, getMap, getName, indexOf, setDoneWithPredFeatureExtraction, size, toStringprotected PredDependentAttrFeature(FeatureName name, Word.WordData attr, TargetWord tw, boolean usedForPredicateIdentification, String POSPrefix)
public String getFeatureString(Sentence s, int predIndex, int argIndex)
getFeatureString in class SingleFeaturepublic String getFeatureString(Predicate pred, Word arg)
getFeatureString in class SingleFeatureCopyright © 2016. All rights reserved.