public class ArgLearnerFeatureSet extends FeatureSet<ChunkedBinaryExtraction>
featureNames| Constructor and Description |
|---|
ArgLearnerFeatureSet() |
| Modifier and Type | Method and Description |
|---|---|
int |
arg1Length(ChunkedBinaryExtraction extr) |
boolean |
correctArg1End(ChunkedBinaryExtraction extr) |
static List<String> |
featureNames() |
double |
featurize(String featureName,
ChunkedBinaryExtraction extr) |
int |
getIntValue(boolean bool,
boolean dir) |
boolean |
npBeforeArg2(ChunkedBinaryExtraction extr,
boolean train) |
boolean |
ppAfterArg2(ChunkedBinaryExtraction extr) |
boolean |
ppBeforeArg1(ChunkedBinaryExtraction extr) |
boolean |
predStartsWithNP(ChunkedBinaryExtraction extr) |
boolean |
toBeforePred(ChunkedBinaryExtraction extr) |
boolean |
toInPred(ChunkedBinaryExtraction extr,
boolean train) |
int |
wordsTillEnd(ChunkedBinaryExtraction extr) |
int |
wordsTillStart(ChunkedBinaryExtraction extr) |
featurizeToDouble, getFeatureNames, getNumFeaturespublic double featurize(String featureName, ChunkedBinaryExtraction extr)
featurize in class FeatureSet<ChunkedBinaryExtraction>public int getIntValue(boolean bool,
boolean dir)
public int wordsTillStart(ChunkedBinaryExtraction extr)
public int arg1Length(ChunkedBinaryExtraction extr)
public int wordsTillEnd(ChunkedBinaryExtraction extr)
public boolean ppAfterArg2(ChunkedBinaryExtraction extr)
public boolean correctArg1End(ChunkedBinaryExtraction extr)
public boolean ppBeforeArg1(ChunkedBinaryExtraction extr)
public boolean npBeforeArg2(ChunkedBinaryExtraction extr, boolean train)
public boolean predStartsWithNP(ChunkedBinaryExtraction extr)
public boolean toInPred(ChunkedBinaryExtraction extr, boolean train)
public boolean toBeforePred(ChunkedBinaryExtraction extr)
Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.