01Chapter 1: Start with the question: goals and a label taxonomyThis chapter assumes you can read basic Python (lists, dictionaries, functions) and JSON. You should also have a general idea of what a large language model is. Later chapters use precision and recall, so you should know those terms. This chapter has no model calls.3 min read
02Chapter 2: Where feedback comes from and how it is skewedThis chapter assumes you have read the chapter on goals and label taxonomy, so you know which question your analysis must answer. It also assumes basic Python and basic statistics. Before you clean or score any text, you need to know who wrote it and who did not. Every feedback channel over-represen3 min read
03Chapter 3: Preparing review text: cleaning, deduplication and PII redactionThis chapter assumes you know basic Python (lists, sets, functions, regular expressions at a simple level) and have the goals and label taxonomy from the first chapter in hand. Raw reviews are messy, repeated and sometimes personal. Fixing that before any analysis keeps later results honest and keep3 min read
04Chapter 4: Measuring sentiment: lexicons, classifiers and LLMsSentiment analysis assigns each review a label such as positive, negative, neutral or mixed. This chapter assumes you have read the earlier chapters on taxonomy and text preparation. It also assumes you can run Python and understand precision and recall. The examples use cleaned text and the four-la2 min read
05Chapter 5: Finding themes in unlabelled reviewsYou should know basic Python, lists and dictionaries, and what a vector is. You should also have read the chapter on text preparation, so the reviews you use here are already cleaned, deduplicated and free of personal data. The goal is to discover themes when you have no labels yet.4 min read
06Chapter 6: Extracting structured labels with an LLMThis chapter assumes you can write basic Python, read JSON, and call a language model through an API. It also assumes you have a label taxonomy from the earlier chapter on goals, and that your review text is already cleaned and redacted.3 min read
08Chapter 8: Summarising thousands of reviews without losing traceabilityThis chapter assumes you can write basic Python, read JSON, and call a language model through an API. It also assumes you have already clustered reviews into themes (the topic discovery chapter) or extracted labels with an LLM (the extraction chapter).3 min read
09Chapter 9: Checking your analysis against human labelsThis chapter assumes you can read basic Python, know what precision and recall mean, and have a set of model labels from an earlier step, such as sentiment scores or LLM-extracted themes. You will compare those labels with labels written by people, and decide whether the analysis is good enough to t3 min read
10Chapter 10: Privacy, bias, fake reviews and hallucinationThis chapter assumes you can read basic Python and JSON. It also assumes you have met the text preparation and LLM extraction steps from earlier chapters. Review analysis can fail in four ways even when the code runs: it can expose personal data, it can reflect a skewed sample, it can count fake rev3 min read
11Chapter 11: Scaling up: batching, caching and costThis chapter assumes you can call an LLM through an API and that you have the classify_review pattern from the extraction chapter: one review in, validated JSON out. Here you will make that pattern cheap and fast enough for hundreds of thousands of reviews.3 min read
12Chapter 12: From analysis to decisions: trends, priorities and reportingThis chapter assumes you can already produce labelled reviews (sentiment, themes, aspects) as a table of rows, and that you have checked label quality against a human sample. It covers the last step. You turn those labels into trends, a priority list and a report that a product or support team will 3 min read