Contents Course home

Course notesWorked examples

Every table and trace the notes print by hand is produced by one of these. They belong to the chapters, and each chapter lists its own at the foot of the page. This index exists so no link is ever dead.

What Natural Language Processing Is

Corpora and Preprocessing

The Empirical Laws of Text

Term Weighting and Similarity

Subword Tokenisation

Count Vectors, PPMI, and SVD

Learned Word Embeddings

n-gram Language Models and Perplexity

Neural Language Models

Recurrent Networks

Gated Recurrence: LSTM and GRU

Text Classification and Evaluation

Contextual Embeddings

Self-Attention and the Transformer

Pretrained Transformers: BERT and GPT

Steering LLMs: Decoding and Prompting

Evaluating Generated Text

Machine Translation