public class QSingleSingleFeature extends SingleFeature implements QuadraticFeature
includeArgs, indexcounter, indices, name, POSPrefix, predMaxIndexVALUE_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
QSingleSingleFeature(SingleFeature f1,
SingleFeature f2,
boolean usedForPredicateIdentification,
String POSPrefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFeatureString(Predicate pred,
Word arg) |
String |
getFeatureString(Sentence s,
int predIndex,
int argIndex) |
String |
getName() |
protected void |
performFeatureExtraction(Sentence s,
boolean allWords)
This method works with features that have includeArgs==false.
|
addFeatures, addFeaturesaddMap, addPOSPrefix, doExtractFeatures, extractFeatures, getMap, indexOf, setDoneWithPredFeatureExtraction, size, toStringprotected QSingleSingleFeature(SingleFeature f1, SingleFeature f2, boolean usedForPredicateIdentification, String POSPrefix)
protected void performFeatureExtraction(Sentence s, boolean allWords)
SingleFeatureperformFeatureExtraction in class SingleFeaturepublic 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.