Natural Language Processing
From Rules to Language Understanding
Natural Language Processing (NLP) is the AI subfield that teaches machines to read, write, and understand human language. It is the oldest applied AI field — predating modern deep learning by decades — and the one that LLMs most visibly transformed. Every search box, spam filter, voice assistant, translation tool, and customer chatbot is a piece of NLP infrastructure. Understanding the field as a whole — not just the LLM era — explains why some AI products feel instant and cheap while others feel slow and expensive.
- 1950s — rule-based: linguists hand-encoded grammar and vocabulary; brittle, English-centric, hard to scale
- 1990s — statistical: n-grams, hidden Markov models, and SVMs learned from labelled data; feature engineering was the job
- 2013 — neural era: word2vec and recurrent networks made language a learnable representation rather than a rulebook
- 2018+ — transformers and LLMs: a single architecture learns every NLP task from scale alone, often without task-specific training
The Core NLP Tasks Still Running the World
Beneath the LLM headline, a small set of foundational tasks does most of the work in production systems. They show up everywhere — even when the user never sees them. Knowing the task names matters because every "AI feature" pitched to you is one or two of these in a trench coat.
- Classification: spam detection, sentiment, intent routing, topic tagging — the highest-volume NLP task on the planet
- Named Entity Recognition (NER): pulls structured data (names, places, CVEs, dollar amounts) out of unstructured text
- Translation: 200+ languages, near-human quality for major pairs, foundation for global products
- Summarisation: meeting notes, document briefs, email threads — extractive (verbatim) or abstractive (rewritten)
- Question answering: closed-book (from memory) and retrieval-grounded (RAG) — the interface users now expect by default
- Speech ⇄ text: Whisper, voice assistants, transcription — the glue between voice products and text-only models
How LLMs Changed Everything — and What They Didn't
LLMs absorbed most NLP tasks. A single prompt to a frontier model like Claude or GPT can do classification, NER, translation, summarisation, and Q&A — often better than a fine-tuned model from two years ago, with zero training. But specialist NLP did not disappear. At very high volume — billions of spam classifications per day, real-time intent routing in call centres — a small dedicated model is still 100× cheaper and 10× faster than an LLM API call. The 2026 production pattern is hybrid: small models for the high-volume routine work, LLMs for the open-ended, judgment-heavy work.
- LLMs subsume most NLP tasks zero-shot — build pipelines in days, not quarters of labelled-data work
- Specialist NLP still wins on cost and latency for high-volume, narrow tasks — spam, intent, content moderation
- The 2026 pattern is hybrid: small models triage and route, LLMs reason on the cases that need it
- NLP didn't disappear into LLMs — it became the way most software talks to humans
Prefer slides, quizzes, and saved progress? Read this lesson in the library — free, no sign-up.