01Chapter 1: Tokens, types and vocabularyThis chapter assumes you can write Python strings, lists, and functions, and that you have used import re before. You should also know basic grammar terms such as noun, verb, and plural.2 min read
02Chapter 2: Subword tokenisation: BPE and WordPieceWord-level tokenisers fail on words they have never seen. Subword tokenisers avoid this by splitting rare words into smaller known pieces, so any word can be built from a fixed vocabulary.2 min read
03Chapter 3: Overstemming and understemmingStemming and lemmatisation both reduce words to a shared form, but each can get it wrong. This chapter assumes you know basic Python, can install the NLTK library, and understand the terms noun, verb, and plural.1 min read