edu.stanford.nlp.tagger.maxent
Class FeatureTemplate

java.lang.Object
  |
  +--edu.stanford.nlp.tagger.maxent.FeatureTemplate

public class FeatureTemplate
extends Object


Constructor Summary
FeatureTemplate()
           
FeatureTemplate(int number, String tag, Extractor v, String value)
           
 
Method Summary
 String getHashKey()
           
 String getHashKey(History h)
           
 String getTag()
           
 boolean isTrue(History h, String y)
           
 boolean isTrue(History x, String y, int x1, int y1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureTemplate

public FeatureTemplate()

FeatureTemplate

public FeatureTemplate(int number,
                       String tag,
                       Extractor v,
                       String value)
Method Detail

isTrue

public boolean isTrue(History h,
                      String y)

isTrue

public boolean isTrue(History x,
                      String y,
                      int x1,
                      int y1)

getHashKey

public String getHashKey()

getHashKey

public String getHashKey(History h)

getTag

public String getTag()


Stanford NLP Group