edu.washington.cs.knowitall.argumentidentifier
Class Arg1LocationFeatureGenerator

java.lang.Object
  extended by edu.washington.cs.knowitall.argumentidentifier.Arg1LocationFeatureGenerator

public class Arg1LocationFeatureGenerator
extends Object

Generates features for Arg1LocationClassifier

Author:
janara

Constructor Summary
Arg1LocationFeatureGenerator()
           
 
Method Summary
 DoubleFeatures extractFeatures(ChunkedExtraction extr, ChunkedArgumentExtraction arg1, int current, boolean train)
           
 String getHeader()
           
 double toDouble(boolean bool)
           
 double toDouble(double num)
           
 double toDouble(int num)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arg1LocationFeatureGenerator

public Arg1LocationFeatureGenerator()
Method Detail

getHeader

public String getHeader()

toDouble

public double toDouble(boolean bool)

toDouble

public double toDouble(int num)

toDouble

public double toDouble(double num)

extractFeatures

public DoubleFeatures extractFeatures(ChunkedExtraction extr,
                                      ChunkedArgumentExtraction arg1,
                                      int current,
                                      boolean train)


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.