| Published Version Download ( PDF | 1MB) | License: Creative Commons Attribution 4.0 |
Sentiment Analysis on Twitter for the Major German Parties during the 2021 German Federal Election
Schmidt, Thomas
, Fehle, Jakob, Weissenbacher, Maximilian, Richter, Jonathan, Gottschalk, Philipp
and Wolff, Christian
(2022)
Sentiment Analysis on Twitter for the Major German Parties during the 2021 German Federal Election.
In:
Proceedings of the 18th Conference on Natural Language Processing (KONVENS 2022).
KONVENS 2022 Organizers, Potsdam, Germany, pp. 74-87.
Date of publication of this fulltext: 25 Jun 2024 06:53
Book section
Abstract
We present the results of a project performing sentiment analysis on tweets from German politicians and party accounts for the 2021 German federal election. We collected over 58,000 tweets from the Twitter accounts of the seven parties represented in the German Bundestag, of which a selection of 2,000 tweets were annotated by three annotators. Based on the annotated data, we implemented multiple ...
We present the results of a project performing sentiment analysis on tweets from German politicians and party accounts for the 2021 German federal election. We collected over 58,000 tweets from the Twitter accounts of the seven parties represented in the German Bundestag, of which a selection of 2,000 tweets were annotated by three annotators. Based on the annotated data, we implemented multiple sentiment analysis approaches and evaluated the sentiment classification performance. We found that transformer-based models like bidirectional encoder from transformers (BERT) performed better than traditional machine learning models such as Naive Bayes and lexiconbased models like GerVADER. The best performing BERT model achieved an accuracy of 93.3% and macro f1 score of 93.4%. Applying sentiment analysis on the overall corpus via this method showed that overall, negative sentiment was most frequent and that there were multiple major shifts in sentiment a few months before and after the election. Furthermore, we found that tweets from opposition parties had on average more negative sentiment than those from governing parties.
Alternative links to fulltext
Involved Institutions
Details
| Item type | Book section | ||||
| Journal or Publication Title | Proceedings of the 18th Conference on Natural Language Processing (KONVENS 2022) | ||||
| Title of Book: | Proceedings of the 18th Conference on Natural Language Processing (KONVENS 2022) | ||||
|---|---|---|---|---|---|
| Publisher: | KONVENS 2022 Organizers | ||||
| Place of Publication: | Potsdam, Germany | ||||
| Page Range: | pp. 74-87 | ||||
| Date | 2022 | ||||
| Institutions | Languages and Literatures > Institut für Information und Medien, Sprache und Kultur (I:IMSK) > Lehrstuhl für Medieninformatik (Prof. Dr. Christian Wolff) Informatics and Data Science > Department Human-Centered Computing > Lehrstuhl für Medieninformatik (Prof. Dr. Christian Wolff) | ||||
| Related URLs |
| ||||
| Keywords | sentiment analysis, nlp, twitter, politics, deep learning, transformers | ||||
| Dewey Decimal Classification | 000 Computer science, information & general works > 004 Computer science 300 Social sciences > 320 Political science | ||||
| Status | Published | ||||
| Refereed | Yes, this version has been refereed | ||||
| Created at the University of Regensburg | Yes | ||||
| URN of the UB Regensburg | urn:nbn:de:bvb:355-epub-582416 | ||||
| Item ID | 58241 |
Download Statistics
Download Statistics