Content deleted Content added
m Made link available also in english version |
→Standard form: clarification on the empty string Tags: Mobile edit Mobile app edit Android app edit |
||
Line 18:
==Standard form==
The [[dynamic programming]] algorithm requires the context-free grammar to be rendered into [[Chomsky normal form]] (CNF), because it tests for possibilities to split the current sequence into two smaller sequences. Any context-free grammar that does not generate the empty string can be represented in CNF using only [[Formal grammar#The syntax of grammars|production rules]] of the forms <math>A\rightarrow \alpha</math>
==Algorithm==
|