next up previous
Next: Prediction loops Up: Probabilistic Earley Parsing Previous: Completion (probabilistic)

Coping with recursion

 

The standard Earley algorithm, together with the probability computations described in the previous section would be sufficient if it weren't for the problem of recursion in the prediction and completion steps.

The non-probabilistic Earley algorithm can stop recursing as soon as all predictions/completions yield states already contained in the current state set. For the computation of probabilities, however, this would mean truncating the probabilities resulting from the repeated summing of contributions.





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