next up previous
Next: Scanning Up: Earley Parsing Previous: Earley Parsing

Prediction

For each state

displaymath7797

where Y is a nonterminal anywhere in the RHS, and for all rules tex2html_wrap_inline7803 expanding Y, add states

displaymath7798

A state produced by prediction is called a predicted state. Each prediction corresponds to a potential expansion of a nonterminal in a left-most derivation.



Andreas Stolcke
Sat Jun 29 21:49:02 PDT 1996