Converting Context Free Grammar to Chomsky Normal Form -- 2
$10-30 USD
Completed
Posted over 4 years ago
$10-30 USD
Paid on delivery
Steps to Convert CFG to CNF
1. Eliminate lambda productions
2. Eliminate Unit productions
3. Eliminate non-terminating and unreachable productions
Should have knowledge of automata theory. Context Free Grammar. Chomsky Normal Form
step 2 and 3 have been done in the attached code. What is need is to do step 1.
The attached code has comments, please build on top of it.
Deadline: 24 hours.