Encyclopedia > Chomsky normal form

  Article Content

Chomsky Normal Form

Redirected from Chomsky normal form

A formal grammar is in Chomsky Normal Form iff all production rules are of the form:
A -> BC or
A -> α
where A, B and C are nonterminal symbols and α is a terminal symbol.

Every grammar in Chomsky Normal is context-free, and conversely, every context-free grammar which does not generate the empty string can be transformed into an equivalent one which is in Chomsky Normal Form.

The Chomsky Normal Form of a context-free grammar is important because it yields efficient algorithms. For example, the CYK algorithm which decides whether a given string can be generated by a given grammar uses the Chomsky Normal Form.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Holtsville, New York

... of 18, 7.5% from 18 to 24, 33.5% from 25 to 44, 23.9% from 45 to 64, and 6.9% who are 65 years of age or older. The median age is 34 years. For every 100 females there are ...

 
 
 
This page was created in 26.5 ms