edu.washington.cs.knowitall.argumentidentifier
Class ArgLearnerFeatureSet

java.lang.Object
  extended by edu.washington.cs.knowitall.extractor.conf.featureset.FeatureSet<ChunkedBinaryExtraction>
      extended by edu.washington.cs.knowitall.argumentidentifier.ArgLearnerFeatureSet

public class ArgLearnerFeatureSet
extends FeatureSet<ChunkedBinaryExtraction>


Field Summary
 
Fields inherited from class edu.washington.cs.knowitall.extractor.conf.featureset.FeatureSet
featureNames
 
Constructor Summary
ArgLearnerFeatureSet()
           
 
Method Summary
 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)
           
 
Methods inherited from class edu.washington.cs.knowitall.extractor.conf.featureset.FeatureSet
featurizeToDouble, getFeatureNames, getNumFeatures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgLearnerFeatureSet

public ArgLearnerFeatureSet()
Method Detail

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.