From Rules to Statistics to Neural Networks: How NLP Got Here
TL;DR: You will be able to tell the story of NLP in three eras, rules, statistics, and neural networks, with dates, systems, and what each era could and could not do.
This article is one Wisdom Nugget from What Is Natural Language Processing? by Trevor Stephenson.
The story of Natural Language Processing begins not with supercomputers, but with a surprisingly simple idea: If we can write down the rules of language, we can teach a machine to follow them. In the 1950s, in the early days of computing, researchers were optimistic. Language seemed like a code that could be cracked. If a sentence has a subject, verb, and object, you could write that as a rule. If plural nouns end in ‘s’, you could write that as a rule.
By the end of this Nugget you will be able to place ELIZA 1966, Georgetown-IBM 1954, SHRDLU, the statistical revolution, Word2Vec 2013, and the Transformer 2017 on a timeline, explain why hand-written rules scale poorly, explain n-grams and corpora with the book’s own numbers, and explain attention, BERT 2018, and GPT without maths.
The core idea
We moved from hand-written rules that were precise but brittle, to counting patterns in real data that were flexible but shallow, to learning rich representations and attention that are flexible and deep. Each era solved the previous era’s bottleneck and revealed the next one. Rules could not handle exceptions. Statistics could not handle long-distance dependencies or meaning. Neural networks learned representations, but still predict likely continuations rather than understanding the way you do. This history matters because it explains where we are today, and the pipeline in the next chapter reflects decades of learning about what works.
How it works
Section 1 (Figure 3.1) covers rule-based systems: formal grammar after Noam Chomsky, ELIZA’s pattern matching, Georgetown-IBM’s 60 sentences and six rules, SHRDLU’s blocks world. Section 2 (Figure 3.2) covers the statistical revolution: corpora, n-grams, probabilities instead of rules, machine learning for part-of-speech tagging trained on human-tagged sentences, speech recognition, spelling correction, information retrieval, and evaluation on held-out test data.
The tools
Tool 1: Tell the rules era. In 1954, the Georgetown-IBM experiment demonstrated a small system translating 60 Russian sentences into English using a dictionary and six grammar rules. In 1966 Joseph Weizenbaum at MIT built ELIZA, designed to mimic a psychotherapist in a text conversation. It did not understand you at all. It used clever pattern matching: if you typed ‘I am sad about my mother’, ELIZA would look for the pattern ‘I am X’ and respond with ‘How long have you been X?’ or ‘Tell me more about your family.’ ELIZA taught two lasting lessons: even simple rules can create a powerful illusion of understanding when they mirror human conversational patterns, and illusion is not understanding. ELIZA had no model of the world, no memory of what sadness means, no concept of a mother. It was syntax without semantics. SHRDLU, built in the late 1960s by Terry Winograd, could understand and act on commands about a blocks world, a virtual table with coloured blocks. You could say ‘Pick up the red block’ and it would do it in simulation. Within that tiny, restricted world, it seemed incredibly intelligent.
Step by step
The end-of-chapter exercise as a numbered protocol, in order.
- Timeline mapping: place ELIZA 1966, Georgetown-IBM 1954, SHRDLU 1960s, statistical revolution 1990s, Word2Vec 2013, Transformer 2017 on a timeline and note one lesson from each.
- Compare rule-based vs statistical approach for handling I want to eat, and write how each would predict the next word.
- Explain why neural embeddings solved the synonym problem that bag-of-words could not, using example car and automobile.
- Debate: why did hand-written rules scale poorly for real-world language? Give two reasons with examples of exceptions. No time is stated in the book for this exercise.
Worked example
The book’s worked example is the next-word test. Given ‘I want to eat’, a rule-based system might say any noun could come next. A statistical system looks at a corpus and counts: in a corpus of restaurant reviews, after ‘I want to eat’, the next word is ‘pizza’ 15% of the time, ‘sushi’ 12% of the time, ‘something’ 10% of the time. It can then predict that ‘pizza’ is more likely than ‘aeroplane’, not because of a rule, but because of observed frequency.
A real example from the book
Case Study – Chapter 3: From ELIZA to LLM: How Metro Bank Evolved Its Assistant. No person age is given. Metro Bank launched a help assistant in 1970s style, using hand-written rules: if message contains balance, show balance. It worked for 20 phrases but collapsed with What is my balance after fees last Tuesday? Too many exceptions. In the 1990s, they switched to statistical models trained on 50,000 anonymised support chats. The model learned that balance after fees often meant available balance, using n-gram frequencies. Accuracy jumped from 45 percent to 72 percent. In 2018, they adopted embeddings and intent classification, understanding that checking my dough and balance inquiry are similar because dough and balance share contexts in financial slang. In 2022, they deployed a Transformer-based large language model fine-tuned on banking data.
Mistakes to avoid
- Thinking ELIZA understood its users. Correction: it was syntax without semantics, and illusion is not understanding.
- Thinking more rules would eventually cover language. Correction: hand-writing rules scales poorly, for every rule there are dozens of exceptions.
- Thinking statistical methods understand meaning. Correction: they were flexible but shallow and struggled with long-distance dependencies.
- Thinking LLMs understand the way you do. Correction: they predict likely continuations based on patterns in data at a scale no human could ever read.
- Forgetting human oversight for high-risk actions. Correction: Metro Bank kept human oversight, showing history informs responsible deployment.
- Judging a system by whether it seems intelligent. Correction: measure accuracy on held-out test data, as the statistical era introduced.
What not to do
- Do NOT mistake ELIZA’s illusion of understanding for understanding.
- Do NOT try to cover real-world language with hand-written rules alone.
- Do NOT assume statistical counting captures meaning.
- Do NOT claim an LLM understands the way you do.
- Do NOT deploy without human oversight for high-risk actions.
- Do NOT judge intelligence by seeming intelligent instead of measuring accuracy.
Low-energy mode
Place three dates on a timeline from memory: ELIZA 1966, Word2Vec 2013, Transformer 2017, and say one lesson for each. That counts.
If you freelance
This is one way to apply the idea, not a passage from the book. A freelancer can use the three-era story to explain to a client why their old rule-based chatbot collapses on real messages: rules were precise but brittle, and the fix is a system that learns patterns from real examples, with human oversight kept for high-risk actions.
How to know it worked
You placed ELIZA 1966, Georgetown-IBM 1954, SHRDLU 1960s, statistical revolution 1990s, Word2Vec 2013, and Transformer 2017 on a timeline with one lesson each. You explained the pizza 15 percent, sushi 12 percent, something 10 percent example. You explained why embeddings solved the synonym problem with car and automobile.
Key takeaways
- If we can write down the rules of language, we can teach a machine to follow them.
- ELIZA taught the field two lasting lessons. First, even simple rules can create a powerful illusion of understanding when they mirror human conversational patterns. Second, illusion is not understanding.
- It was brilliant in a dollhouse, helpless outside.
- If the statistical era taught machines to count, the neural era taught them to learn representations – to build internal maps of meaning.
Try it today
Do Exercise – Chapter 3: History Evolution today (no time stated in the book, see Exercise).
End of Chapter Exercise – Chapter 3: History Evolution. No time stated in the book.
- Timeline mapping: place ELIZA 1966, Georgetown-IBM 1954, SHRDLU 1960s, statistical revolution 1990s, Word2Vec 2013, Transformer 2017 on a timeline and note one lesson from each.
- Compare rule-based vs statistical approach for handling I want to eat, and write how each would predict the next word.
- Explain why neural embeddings solved the synonym problem that bag-of-words could not, using example car and automobile.
- Debate: why did hand-written rules scale poorly for real-world language? Give two reasons with examples of exceptions.
Frequently asked questions
Why does trying harder not work here?
Trying harder to write more rules fails here by the chapter’s own evidence: hand-writing rules scales poorly because language in the wild is too vast, too varied, too full of idioms, slang, and creative use to be captured by rulebooks alone.
How do I know it worked?
You placed ELIZA 1966, Georgetown-IBM 1954, SHRDLU 1960s, statistical revolution 1990s, Word2Vec 2013, and Transformer 2017 on a timeline with one lesson each. You explained the pizza 15 percent, sushi 12 percent, something 10 percent example. You explained why embeddings solved the synonym problem with car and automobile.
What if it does not work?
If the eras blur together, then anchor on the three verbs: rules were written, statistics were counted, neural networks learned representations. If you cannot explain attention, then use the book’s own line: when you read a sentence, you do not give equal weight to every previous word; some words matter more.
Get the book
Google Play eBookGoogle Play AudiobookBarnes & Noble
More from What Is Natural Language Processing?
- What Is Natural Language Processing?: A Beginner’s Guide to How Machines Understand Language
- Where to Go Next: Your NLP Future (and From Words to World)
- Ethics, Bias, and Limitations: Using NLP Responsibly
- Opinions, Summaries, and Voice: NLP in Action
- Search, Translation, and Chatbots: How NLP Powers the Web
- The Invisible NLP All Around You: Keyboards, Inboxes, and Voice
- Intent, Entities, and Context: How Machines Follow a Conversation
- Giving Words Meaning: From Counting to Meaning Maps to Language Models
- Making Text Machine-Readable: Cleaning, Tokenisation, and the Corpus
- The End-to-End Pipeline: Your Map for the Rest of the Book
- Why Language Is Hard: Ambiguity, Three Layers, and the Outside-In Machine
- What NLP Really Is: The One-Sentence Definition and the Family Picture
- Why This Book, Why Now: A Framework You Can Use for Years
- Natural Language Processing Glossary: Key Terms and Concepts in Plain Language
- How to Use What Is Natural Language Processing? for Study Groups, Classrooms, and Teams
- After You Finish the Book: How to Build Projects, Keep a Journal, and Stay Current
- How the NLP Pipeline and Meaning Maps Work, in Plain Language?
- How Natural Language Processing Works in Everyday Life and Work: 5 Scenarios
- Common Misunderstandings About Natural Language Processing and How to Fix Them
- 7 Free Tools If You Loved This NLP Book
- How This NLP Book Was Built: Concept First Method
- NLP Beginner Book FAQ: Formats, Scope, Safety, Work, Answered
- Who Should Read This NLP Beginner Book? Reader Guide
- NLP Book vs Textbook vs Article vs Coding Course vs Doing Nothing
- Read Chapter 1 Free: What Is Natural Language Processing Really?
- How to Run a One Day Autocorrect Detective Check
- What Is the NLP Pipeline? Input Processing Understanding Generation Explained
- Best Natural Language Processing Books in 2026: A Beginner First Pick
