Emotion Classification in German Plays with Transformer-based Language Models Pretrained on Historical and Contemporary Language

Thomas Schmidt, Katrin Dennerlein, Christian Wolff


Abstract
We present results of a project on emotion classification on historical German plays of Enlightenment, Storm and Stress, and German Classicism. We have developed a hierarchical annotation scheme consisting of 13 sub-emotions like suffering, love and joy that sum up to 6 main and 2 polarity classes (positive/negative). We have conducted textual annotations on 11 German plays and have acquired over 13,000 emotion annotations by two annotators per play. We have evaluated multiple traditional machine learning approaches as well as transformer-based models pretrained on historical and contemporary language for a single-label text sequence emotion classification for the different emotion categories. The evaluation is carried out on three different instances of the corpus: (1) taking all annotations, (2) filtering overlapping annotations by annotators, (3) applying a heuristic for speech-based analysis. Best results are achieved on the filtered corpus with the best models being large transformer-based models pretrained on contemporary German language. For the polarity classification accuracies of up to 90% are achieved. The accuracies become lower for settings with a higher number of classes, achieving 66% for 13 sub-emotions. Further pretraining of a historical model with a corpus of dramatic texts led to no improvements.
Anthology ID:
2021.latechclfl-1.8
Volume:
Proceedings of the 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature
Month:
November
Year:
2021
Address:
Punta Cana, Dominican Republic (online)
Editors:
Stefania Degaetano-Ortlieb, Anna Kazantseva, Nils Reiter, Stan Szpakowicz
Venue:
LaTeCHCLfL
SIG:
SIGHUM
Publisher:
Association for Computational Linguistics
Note:
Pages:
67–79
Language:
URL:
https://aclanthology.org/2021.latechclfl-1.8
DOI:
10.18653/v1/2021.latechclfl-1.8
Bibkey:
Cite (ACL):
Thomas Schmidt, Katrin Dennerlein, and Christian Wolff. 2021. Emotion Classification in German Plays with Transformer-based Language Models Pretrained on Historical and Contemporary Language. In Proceedings of the 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature, pages 67–79, Punta Cana, Dominican Republic (online). Association for Computational Linguistics.
Cite (Informal):
Emotion Classification in German Plays with Transformer-based Language Models Pretrained on Historical and Contemporary Language (Schmidt et al., LaTeCHCLfL 2021)
Copy Citation:
PDF:
https://aclanthology.org/2021.latechclfl-1.8.pdf
Code
 lauchblatt/emotions_in_drama