if <i, j, C -> W1 .> for each rule B -> C W2, add <i, i, B -> . C W2>
at initialization, for each rule S -> W add <0, 0, S -> . W> if <i, j, C -> W1 . B W2> for each rule B -> W, add <j, j, B -> . W>
if <i, j, A -> W1 . B W2> and <j, k, B -> W3 .> add <i, k, A -> W1 B . W2>
Initialize and invoke RULE to add active edges to AGENDA.
Until AGENDA is empty
For each EDGE in AGENDA
Add EDGE to chart and
Apply fundamental rule to EDGE,
adding any new edges to AGENDA and
Invoke RULE on EDGE,
adding any new edges to AGENDA.
Report any complete parses in AGENDA.
In this trace, bold numbers indicate the order of steps, categories in braces are subcat values and categories in boxes are daughters (ordered from left to right).
Backtracking takes place following step 11 because of the word which remains (report).
The edges created
Last modified: Mon Oct 13 00:14:46 EST
Comments:
gasser@cs.indiana.edu