public class PredDependentBrown extends PredDependentAttrFeature
attr, wordExtractorincludeArgs, indexcounter, indices, name, POSPrefix, predMaxIndex| Modifier | Constructor and Description |
|---|---|
protected |
PredDependentBrown(FeatureName name,
TargetWord tw,
boolean includeAllWords,
String POSPrefix,
BrownCluster bc,
BrownCluster.ClusterVal cv) |
| 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 PredDependentBrown(FeatureName name, TargetWord tw, boolean includeAllWords, String POSPrefix, BrownCluster bc, BrownCluster.ClusterVal cv)
public String getFeatureString(Sentence s, int predIndex, int argIndex)
getFeatureString in class PredDependentAttrFeaturepublic String getFeatureString(Predicate pred, Word arg)
getFeatureString in class PredDependentAttrFeatureCopyright © 2016. All rights reserved.