How do Computers Learn Sentence Structure? (Context-Free Grammars)

Before diving into grammar, we need to talk about syntax. The set of rules that governs how we arrange words in sentences.