Home | Trees | Index | Help |
|
---|
Package nltk_lite :: Package contrib :: Module kimmo :: Class KimmoArrowRule |
|
Method Summary | |
---|---|
__init__(self,
name,
description)
| |
__repr__(self)
| |
Returns a tuple of (next_states, contains_halt_state) | |
arrow(self)
| |
leftFSA(self)
| |
lhpair(self)
| |
Does this rule's LHS match this input/output pair? | |
pairs(self)
| |
right_advance(self,
current_states,
input,
output,
subsets)
| |
rightFSA(self)
|
Method Details |
---|
advance(self, fsa, current_states, input, output, subsets)Returns a tuple of (next_states, contains_halt_state) |
matches(self, input, output, subsets)Does this rule's LHS match this input/output pair? If it doesn't, return None. If it does, return True if the rule must pass, False if the rule must fail. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Sep 5 09:37:22 2006 | http://epydoc.sf.net |