English

Analyzing German Parliamentary Speeches: A Machine Learning Approach for Topic and Sentiment Classification

Computation and Language 2025-08-06 v1 Machine Learning

Abstract

This study investigates political discourse in the German parliament, the Bundestag, by analyzing approximately 28,000 parliamentary speeches from the last five years. Two machine learning models for topic and sentiment classification were developed and trained on a manually labeled dataset. The models showed strong classification performance, achieving an area under the receiver operating characteristic curve (AUROC) of 0.94 for topic classification (average across topics) and 0.89 for sentiment classification. Both models were applied to assess topic trends and sentiment distributions across political parties and over time. The analysis reveals remarkable relationships between parties and their role in parliament. In particular, a change in style can be observed for parties moving from government to opposition. While ideological positions matter, governing responsibilities also shape discourse. The analysis directly addresses key questions about the evolution of topics, sentiment dynamics, and party-specific discourse strategies in the Bundestag.

Keywords

Cite

@article{arxiv.2508.03181,
  title  = {Analyzing German Parliamentary Speeches: A Machine Learning Approach for Topic and Sentiment Classification},
  author = {Lukas Pätz and Moritz Beyer and Jannik Späth and Lasse Bohlen and Patrick Zschech and Mathias Kraus and Julian Rosenberger},
  journal= {arXiv preprint arXiv:2508.03181},
  year   = {2025}
}

Comments

Accepted at 20th International Conference on Wirtschaftsinformatik (WI25); September 2025, M\"unster, Germany

R2 v1 2026-07-01T04:34:42.216Z