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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
public Label label
pattern
public DFSA pattern
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