The Guardian

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


Methodology: how we trained a machine learning model to analyse rhetoric on immigration in the UK parliament over the course of a century

The Guardian has revealed a significant rightward shift toward sentiment relating to immigration among MPs speaking in the House of Commons in the past five years.

To do this analysis the Guardian’s Data Science and Data Projects teams, in collaboration with University College London, developed an in-house machine learning model to measure linguistic sentiment in debates in the Commons over the course of a century.

Unlike off-the-shelf sentiment models, the Guardian’s version distinguishes sentiment directed specifically at immigration from general emotionally charged language about any topic.

Continue reading…



Source link : https://www.theguardian.com/politics/2026/feb/25/behind-the-guardians-analysis-of-100-years-of-mps-language-on-immigration

Author : Carmen Aguilar García, Anna Vissens, Alice Thornewill von Essen, Tom Ravalde and Pamela Duncan

Publish date : 2026-02-25 08:00:00

Copyright for syndicated content belongs to the linked Source.

Tags : The Guardian