edu.stanford.nlp.lexgram
Interface Rule

All Superinterfaces:
Scored
All Known Implementing Classes:
DFSARule, SimpleRule

public interface Rule
extends Scored

Rule: Interface for representing a generic rewrite rule.


Method Summary
 Collection getFirstItems()
           
 Label label()
           
 Object pattern()
           
 double score()
          Return the score of this thing
 

Method Detail

score

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

Specified by:
score in interface Scored

label

public Label label()

pattern

public Object pattern()

getFirstItems

public Collection getFirstItems()


Stanford NLP Group