edu.washington.cs.knowitall.argumentidentifier
Class ArgLearnerFeatureSet
java.lang.Object
edu.washington.cs.knowitall.extractor.conf.featureset.FeatureSet<ChunkedBinaryExtraction>
edu.washington.cs.knowitall.argumentidentifier.ArgLearnerFeatureSet
public class ArgLearnerFeatureSet
- extends FeatureSet<ChunkedBinaryExtraction>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgLearnerFeatureSet
public ArgLearnerFeatureSet()
featureNames
public static List<String> featureNames()
featurize
public double featurize(String featureName,
ChunkedBinaryExtraction extr)
- Specified by:
featurize in class FeatureSet<ChunkedBinaryExtraction>
getIntValue
public int getIntValue(boolean bool,
boolean dir)
wordsTillStart
public int wordsTillStart(ChunkedBinaryExtraction extr)
arg1Length
public int arg1Length(ChunkedBinaryExtraction extr)
wordsTillEnd
public int wordsTillEnd(ChunkedBinaryExtraction extr)
ppAfterArg2
public boolean ppAfterArg2(ChunkedBinaryExtraction extr)
correctArg1End
public boolean correctArg1End(ChunkedBinaryExtraction extr)
ppBeforeArg1
public boolean ppBeforeArg1(ChunkedBinaryExtraction extr)
npBeforeArg2
public boolean npBeforeArg2(ChunkedBinaryExtraction extr,
boolean train)
predStartsWithNP
public boolean predStartsWithNP(ChunkedBinaryExtraction extr)
toInPred
public boolean toInPred(ChunkedBinaryExtraction extr,
boolean train)
toBeforePred
public boolean toBeforePred(ChunkedBinaryExtraction extr)
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.