edu.isi.karma.modeling.semantictypes.sl
Class RegexFeatureExtractor

java.lang.Object
  extended by edu.isi.karma.modeling.semantictypes.sl.RegexFeatureExtractor

public class RegexFeatureExtractor
extends java.lang.Object

This class generates features for tokens. Some of the features are: StartsWith, NumDigits, Symbol

Author:
amangoel

Constructor Summary
RegexFeatureExtractor()
           
 
Method Summary
static java.util.ArrayList<java.lang.String> getFieldFeatures(java.lang.String field)
           
static java.util.ArrayList<java.lang.String> getTokenFeatures(Part part)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexFeatureExtractor

public RegexFeatureExtractor()
Method Detail

getFieldFeatures

public static java.util.ArrayList<java.lang.String> getFieldFeatures(java.lang.String field)

getTokenFeatures

public static java.util.ArrayList<java.lang.String> getTokenFeatures(Part part)