edu.stanford.nlp.lexgram
Class DFSARule

java.lang.Object
  |
  +--edu.stanford.nlp.lexgram.DFSARule
All Implemented Interfaces:
Rule, Scored

public final class DFSARule
extends Object
implements Rule, Scored

DFSARule: Represents a rewrite rule via a DFSA


Field Summary
 Label label
           
 DFSA pattern
           
 
Method Summary
 Collection getFirstItems()
           
 Label label()
           
 Object pattern()
           
 double score()
          Return the score of this thing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

public Label label

pattern

public DFSA pattern
Method Detail

score

public double score()
Description copied from interface: Scored
Return the score of this thing

Specified by:
score in interface Rule

label

public Label label()
Specified by:
label in interface Rule

pattern

public Object pattern()
Specified by:
pattern in interface Rule

getFirstItems

public Collection getFirstItems()
Specified by:
getFirstItems in interface Rule


Stanford NLP Group