Here we give a detailed conversion for an example of converting a context-free grammar (CFG) to Chomsky Normal Form (CNF), with all 5 steps done.
Timestamps:
0:00 - Intro
1:25 - The example grammar
2:47 - Step 1 conversion
3:53 - Step 2 conversion
8:45 - Step 3 conversion
14:10 - Step 4 conversion
17:15 - Step 5 conversion
Easy Theory Website: https://www.easytheory.org
Discord: https://discord.gg/SD4U3hs
If you like this content, please consider subscribing to my channel: https://www.youtube.com/channel/UC3VY6RTXegnoSD_q446oBdg?sub_confirmation=1
▶SEND ME THEORY QUESTIONS◀
[email protected]
▶ABOUT ME◀
I am a professor of Computer Science, and am passionate about CS theory. I have taught many courses at several different universities, including several sections of undergraduate and graduate theory-level classes.