Content deleted Content added
→As pseudocode: - add missing tick after R in line 11 |
→Parsing non-CNF context-free grammars: replaced unsubstantiated statement |
||
Line 67:
===Parsing non-CNF context-free grammars===
As pointed out by Lange and Leiß (2009), the drawback of these transformations is that they can lead to an undesirable bloat in grammar size. Using <math>|G|</math> to denote the size of the original grammar <math>G</math>, the size blow-up in the worst case may range from <math>|G|^2</math> to <math>2^{2 |G|}</math>, depending on the used transformation algorithm. For the use in teaching, they propose a slight generalization of the CYK algorithm, "without compromising efficiency of the algorithm, clarity of its presentation, or simplicity of proofs" (Lange and Leiß 2009).
===Parsing weighted context-free grammars===
|