Behind the Guardian’s analysis of 100 years of MPs’ language on immigration

The Guardian - World NewsEN 2 min read 100% complete by Carmen Aguilar García, Anna Vissens, Alice Thornewill von Essen, Tom Ravalde and Pamela DuncanFebruary 25, 2026 at 09:00 AM
Behind the Guardian’s analysis of 100 years of MPs’ language on immigration

AI Summary

medium article 2 min

The Guardian, in collaboration with University College London, analyzed a century of UK parliamentary language on immigration, revealing a recent shift towards more negative sentiment. The analysis, covering 1925 to 2025, used a custom-built machine learning model developed by The Guardian's Data Science and Data Projects teams. The model was trained on over 22,600 fragments of manually annotated parliamentary speeches, identified using immigration-related trigger terms. Large Language Models were used to expand the training dataset. This bespoke model analyzed almost 238,000 fragments related to immigration to determine the overall sentiment score for each year. The goal was to objectively measure and track changes in sentiment towards immigration expressed by MPs in the House of Commons over time.

Keywords

immigration sentiment 100% machine learning 80% natural language processing 70% parliamentary speeches 70% data science 60% sentiment analysis 60% large language models 50% house of commons 50% linguistic analysis 40%

Sentiment Analysis

Neutral
Score: 0.10

Source Transparency

Source
The Guardian - World News
Classification Confidence
90%

This article was automatically classified using rule-based analysis.

Find Similar Articles

AI-Powered

Discover articles with similar content using semantic similarity analysis.