Emotion courses in German historical comedies and tragedies

paper, specified "long paper"
Authorship
  1. 1. Katrin Dennerlein

    Julius-Maximilians Universität Würzburg (Julius Maximilian University of Wurzburg)

  2. 2. Thomas Schmidt

    Media Informatics Group / Lehrstuhl für Medieninformatik - Universität Regensburg (University of Regensburg)

  3. 3. Christian Wolff

    Media Informatics Group / Lehrstuhl für Medieninformatik - Universität Regensburg (University of Regensburg)

Work text
This plain text was ingested for the purpose of full-text search, not to preserve original formatting or readability. For the most complete copy, refer to the original conference program.


Introduction

From 1650 to early nineteenth century the drama in the German speaking area develops rapidly and turns into the most popular genre of this period (Brenner, 1999; Meid, 2009: 327-501). It becomes a 'school of affects' (Rotermund, 1972: 25). Until now, literary scholars have mostly investigated individual emotions, examining
selected plays in detail (Schings, 1980; Meier, 1993; Schulz, 1988; Zeller 2005; Anz, 2011; Schonlau, 2017). As a result, little is known about which emotions play a role in character communication in specific genres for this period. In computational literary studies, emotional aspects in dramatic texts have been studied only sporadically in comparison with prose fiction (Kim and Klinger, 2019; Jacobs, 2019). Regarding plays, the main focus has been the analysis of valence or polarity, and mostly on individual authors or works (Mohammad, 2011; Nalisnick and Baird, 2013; Schmidt and Burghardt, 2018; Schmidt et al., 2019b; Schmidt et al., 2019c; Schmidt and Wolff, 2021). In this paper, we will present first results on the prediction of emotions in 226 comedies and tragedies from the 17th to the early 19th century using state-of-the-art language models (for more information see Schmidt et al., 2021a; 2021b; 2021c; Dennerlein et al., 2022b; Schmidt et al; 2022). This research is part of the project “Emotions in Drama”.

The project "Emotions in Drama" (EmoDrama) is funded by the DFG (German Research Association) in the priority program Computational Literary Studies (SPP 2207/1) with two grants (project number 424207618; grants DE 2188/3-1 und WO 835/4-1). For more information see
https://dfg-spp-cls.github.io/projects_en/2020/01/24/TP-Emotions_in_Drama/

Emotion Set, Annotation
We define 'emotions' as internally represented and subjectively experienced categories that can be registered by the individual in an ego-related and introspective-mental as well as physical way. They may express themselves in perceptible variations of expression (Schwarz-Friesel, 2007: 55). We annotate intended emotions experienced by and attributed to characters. Following an extensive study of the affect theories of the time (Zeller 2005; Grimm 2010), we have worked out definitions that closely follow the historical concepts and have developed an annotation scheme with many examples and some further distinctions (Dennerlein et al. 2022a). We decided to annotate the following emotions:

The main criterion for the choice of emotion categories was that the selection should make it possible to represent changes in literary history and differences in genre. So far, these emotions have been annotated in 11 dramas (5 comedies and 6 tragedies from 1745-1807) by two independent annotators each resulting more than 13,000 annotations (Schmidt et al., 2021a). Annotators could annotate text spans of variable size ranging from one word to several sentences because the expression of emotions can refer to text segments of different lengths. The inter-annotator agreements range from 0.3 to 0.4 for κ-values at the emotion level, depending on the drama, which corresponds to a weak to moderate agreement (Landis and Koch, 1977). These comparatively low agreement values are common for the annotation of historical and literary texts (Alm and Sproat, 2005; Sprugnoli et al., 2016; Schmidt et al., 2018; Schmidt et al., 2019a; Schmidt et al., 2019; Schmidt et al., 2020). We intend to further enhance the scores through continuous improvement of the annotation guidance and training of the annotators.

Computational Emotion Classification
We evaluated multiple computational single-label classification approaches on the emotion annotations for the emotion classification of the 13 emotions and (polarity) classes (Schmidt et al., 2021a; 2021c). The highest accuracies were achieved with the transformer-based model
gbert by
deepset (Chan et al., 2020) finetuned to the emotion classification task with all annotations filtered by the disagreements of the two annotators (resulting in 7,000–10,000 annotations depending on the hierarchical system). This model achieves accuracies ranging from 90% (polarity) to 67% (sub-emotions) and outperforms the more commonly used method of lexicon-based sentiment analysis in DH (Kim and Klinger, 2019; Fehle et al., 2021). More information about the results and the model can be found in Schmidt et al. (2021c). The computational emotion classification used in the next parts was applied on the sentences of the plays for 123 comedies and 103 tragedies from 1650-1829.

Emotions in comedies and tragedies: annotation vs. classification
We analyze the frequency of emotion annotations and the computational classifications throughout the plot of the drama. For that goal each drama is divided into five equal parts (quintiles) because it allows for normalized comparisons. We calculated the average number of annotations (for 11 plays) and computational emotion classifications (for 226 plays) per quintile for each genre.
Fig. 1 shows the distribution of the emotion 'suffering' in the plot of the annotated dramas. The emotion was annotated on average exactly twice as often in tragedies as in comedies (on average 27-32 passages with suffering in the comedy, 45-60 in the tragedy).

Fig. 1: Development of 'suffering’ as measured in annotations for tragedies and comedies.
Moreover, one can see in fig. 1 that suffering is clustered at the beginning and end of tragedies. In the middle of the tragedies, however, there is obviously hope for an improvement of the situation and the characters feel less suffering. In comedies, on the other hand, after a brief decrease in suffering, we recognize a suffering climax, which can be interpreted as the turning point towards a good ending. In fig. 2, we visualize the average amount of sentences classified as suffering by the computational emotion classification throughout the 5 quintiles of the plays. Fig. 3 illustrates the opposite emotion joy for the 1,619 annotations in the annotated plays.

Fig. 2: Development of 'suffering’ as measured by the emotion classification in tragedies and comedies.

Fig. 3: Development of 'joy‘ as measured by the annotations in tragedies and comedies.
In comedies, joy is least annotated in the middle of the plot, when confusion and problems accumulate; towards the end, the values rise again almost to the level of the beginning (fig. 3). In tragedies, on the other hand, the most joyful statements by characters are found shortly before the middle of the plot (fig. 3). This finding of a sudden drop in joy correlates with the dramaturgical concept of
peripetia, the change of happiness. According to the ideal-typical Aristotelian definition, the change of action inevitably leads to a bad ending. The results of our annotation analysis show a matching steady decline of joy in tragedy.

Fig. 4, however, shows that the emotion classification model produces different results.

Fig. 4: Development of ‘joy‘ as measured by the emotion classification in tragedies and comedies.
Particularly interesting in fig. 4 is the fact that the absolute number of joy sentences is higher in the tragedies than in the comedies. However, it is clear that joy then decreases much more in tragedies than in comedies, which increases the tragic effect of the tragedies. Compared to the annotated comedies, the curve for joy in the comedies shows little change. In our presentation, we will discuss whether we are dealing with the larger deviations between figs. 3 and 4 as an indication of the still insufficient quality of the prediction, or whether the results are rather related to the specific tragedy and comedy subgenres that predominate in our corpus and that have less ideal-typical developments than the annotated dramas.

Bibliography

Alm, C. O. and Sproat, R. (2005). Emotional Sequencing and Development in Fairy Tales. In Tao, J., Tan, T. and Picard, R. W. (eds),
Affective Computing and Intelligent Interaction. (Lecture Notes in Computer Science). Berlin, Heidelberg: Springer, pp. 668–74 doi:
10.1007/11573548_86.

Anz, T. (2011). Todesszenarien: Literarische Techniken zur Evokation von Angst, Trauer und anderen Gefühlen. In Ebert, L. (ed),
Emotionale Grenzgänge. Konzeptualisierungen von Liebe, Trauer und Angst in Sprache und Literatur. Würzburg: Königshausen & Neumann, pp. 113–29.

Brenner, P. J. and Grimminger, Rolf (1999). Das Drama.
Die Literatur Des 17. Jahrhunderts, vol. 2. (Hansers Sozialgeschichte Der Deutschen Literatur Vom 16. Jahrhundert Bis Zur Gegenwart.). München/Wien, pp. 539–74.

Chan, B., Schweter, S. and Möller, T. (2020). German’s Next Language Model.
Proceedings of the 28th International Conference on Computational Linguistics. Barcelona, Spain (Online): International Committee on Computational Linguistics, pp. 6788–96 doi:
10.18653/v1/2020.coling-main.598.
https://aclanthology.org/2020.coling-main.598 (accessed 15 February 2022).

Dennerlein, K., Schmidt, T. and Wolff, C. (2022a). Figurenemotionen in deutschsprachigen Dramen annotieren. Zenodo doi:
10.5281/zenodo.6228151.
https://zenodo.org/record/6228152 (accessed 21 April 2022).

Dennerlein, K., Schmidt, T. and Wolff, C. (2022b). Emotionen im kulturellen Gedächtnis bewahren.
DHd 2022 Kulturen des Digitalen Gedächtnisses. 8. Tagung des Verbands ‘Digital Humanities im Deutschsprachigen Raum’ (DHd 2022). Potsdam, Germany: Zenodo, pp. 93–98 doi:
10.5281/zenodo.6327957.
https://zenodo.org/record/6327957 (accessed 21 April 2022).

Fehle, J., Schmidt, T. and Wolff, C. (2021). Lexicon-based Sentiment Analysis in German: Systematic Evaluation of Resources and Preprocessing Techniques.
Proceedings of the 17th Conference on Natural Language Processing (KONVENS 2021). Düsseldorf, Germany: KONVENS 2021 Organizers, pp. 86–103
https://aclanthology.org/2021.konvens-1.8 (accessed 21 April 2022).

Grimm, H. (1980). Affekt. In Barck, K., Fontius, M., Schlenstedt, D., Burkhart, S. and Wolfzettel, F. (eds),
Ästhetische Grundbegriffe, vol. 1. pp. 16–49.

Kim, E. and Klinger, R. (2019). A Survey on Sentiment and Emotion Analysis for Computational Literary Studies.
Zeitschrift Für Digitale Geisteswissenschaften. Herzog August Bibliothek doi:
10.17175/2019_008_V2.
https://zfdg.de/2019_008 (accessed 14 February 2022).

Landis, J. R. and Koch, G. G. (1977). The Measurement of Observer Agreement for Categorical Data.
International Biometric Society,
33(1). [Wiley, International Biometric Society]: 159–74 doi:
10.2307/2529310.

Meid, Volker (2009).
Die Deutsche Literatur Im Zeitalter des Barock. Vom Späthumanismus zur Frühaufklärung 1570–1740. (Ed.) De Boor, Helmut & Newald, Richard (Geschichte der Deutschen Literatur von der Aufklärung bis zur Gegenwart). München: Beck.

Mohammad, S. (2011). From Once Upon a Time to Happily Ever After: Tracking Emotions in Novels and Fairy Tales.
Proceedings of the 5th ACL-HLT Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities. Portland, OR, USA: Association for Computational Linguistics, pp. 105–14
https://www.aclweb.org/anthology/W11-1514 (accessed 21 March 2021).

Nalisnick, E. T. and Baird, H. S. (2013). Character-to-Character Sentiment Analysis in Shakespeare’s Plays.
Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers). Sofia, Bulgaria: Association for Computational Linguistics, pp. 479–83
https://www.aclweb.org/anthology/P13-2085 (accessed 1 May 2020).

Rotermund, E. (1972).
Affekt und Artistik: Studien zur Leidenschaftsdarstellung und zum Argumentationsverfahren bei Hofmann von Hofmannswaldau. ( 7). München: W. Fink.

Schings, H.-J. (1980).
Der Mitleidigste Mensch ist der Beste Mensch: Poetik des Mitleids von Lessing bis Büchner. (Edition Beck). München: Beck.

Schmidt, T. and Burghardt, M. (2018). An Evaluation of Lexicon-based Sentiment Analysis Techniques for the Plays of Gotthold Ephraim Lessing.
Proceedings of the Second Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature. Santa Fe, New Mexico: Association for Computational Linguistics, pp. 139–49
https://www.aclweb.org/anthology/W18-4516 (accessed 6 April 2020).

Schmidt, T., Burghardt, M. and Dennerlein, K. (2018). Sentiment Annotation of Historic German Plays: An Empirical Study on Annotation Behavior. In Kübler, S. and Zinsmeister, H. (eds),
Proceedings of the Workshop on Annotation in Digital Humanities (AnnDH 2018). Sofia, Bulgaria, pp. 47–52
http://ceur-ws.org/Vol-2155/schmidt.pdf (accessed 20 April 2022).

Schmidt, T., Burghardt, M., Dennerlein, K. and Wolff, C. (2019a). Katharsis – A Tool for Computational Drametrics.
Book of Abstracts, Digital Humanities Conference 2019 (DH 2019). Utrecht, Netherlands
https://dev.clariah.nl/files/dh2019/boa/0584.html (accessed 23 May 2021).

Schmidt, T., Burghardt, M., Dennerlein, K. and Wolff, C. (2019b). Sentiment Annotation for Lessing’s Plays: Towards a Language Resource for Sentiment Analysis on German Literary Texts. In Declerck, T. and McCrae, J. P. (eds),
Proceedings of the Poster Session of the 2nd Conference on Language, Data and Knowledge (LDK-PS 2019). Leipzig, Germany: RWTH Aachen, pp. 45–50
http://ceur-ws.org/Vol-2402/paper9.pdf (accessed 21 April 2022).

Schmidt, T., Burghardt, M. and Wolff, C. (2019c). Toward Multimodal Sentiment Analysis of Historic Plays: A Case Study with Text and Audio for Lessing’s Emilia Galotti. In Navarretta, C., Agirrezabal, M. and Maegaard, B. (eds),
Proceedings of the Digital Humanities in the Nordic Countries 4th Conference (DHN 2019). Copenhagen, Denmark, pp. 405–14
http://ceur-ws.org/Vol-2364/37_paper.pdf (accessed 21 April 2022).

Schmidt, T., Dennerlein, K. and Wolff, C. (2021a). Towards a Corpus of Historical German Plays with Emotion Annotations.
3rd Conference on Language, Data and Knowledge (LDK 2021), vol. 93. (Open Access Series in Informatics (OASIcs)). Dagstuhl, Germany: Schloss Dagstuhl – Leibniz-Zentrum für Informatik, p. 9:1-9:11 doi:
10.4230/OASIcs.LDK.2021.9.
https://drops.dagstuhl.de/opus/volltexte/2021/14545 (accessed 21 April 2022).

Schmidt, T., Dennerlein, K. and Wolff, C. (2021b). Using Deep Learning for Emotion Analysis of 18th and 19th Century German Plays. In Burghardt, M., Dieckmann, L., Steyer, T., Trilcke, P., Walkowski, N.-O., Weis, J. and Wuttke, U. (eds),
Fabrikation von Erkenntnis: Experimente in Den Digital Humanities. Esch-sur-Alzette, Luxembourg: Melusina Press doi:
10.26298/melusina.8f8w-y749-udlf
https://www.melusinapress.lu/read/10-26298-melusina-8f8w-y749-udlf/section/8d0fefff-384c-4798-b5d7-032809de2430 (accessed 20 April 2022).

Schmidt, T., Dennerlein, K. and Wolff, C. (2021c). Emotion Classification in German Plays with Transformer-based Language Models Pretrained on Historical and Contemporary Language.
Proceedings of the 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature. Punta Cana, Dominican Republic (online): Association for Computational Linguistics, pp. 67–79 doi:
10.18653/v1/2021.latechclfl-1.8.
https://aclanthology.org/2021.latechclfl-1.8 (accessed 21 April 2022).

Schmidt, T., Dennerlein, K. and Wolff, C. (2022). Evaluation computergestützter Verfahren der Emotionsklassifikation für deutschsprachige Dramen um 1800.
DHd 2022 Kulturen Des Digitalen Gedächtnisses. 8. Tagung Des Verbands ‘Digital Humanities Im Deutschsprachigen Raum’ (DHd 2022). Potsdam, Germany: Zenodo doi:
10.5281/zenodo.6328169.
https://zenodo.org/record/6328169 (accessed 21 April 2022).

Schmidt, T., Engl, I., Halbhuber, D. and Wolff, C. (2020). Comparing Live Sentiment Annotation of Movies via Arduino and a Slider with Textual Annotation of Subtitles. In Reinsone, S., Skadiņa, I., Daugavietis, J. and Baklāne, A. (eds),
Post-Proceedings of the 5th Conference Digital Humanities in the Nordic Countries (DHN 2020), vol. 2865. Riga, Latvia: CEUR Workshop Proceedings, pp. 212–23
http://ceur-ws.org/Vol-2865/poster1.pdf (accessed 21 April 2022).

Schmidt, T., Winterl, B., Maul, M., Schark, A., Vlad, A. and Wolff, C. (2019d). Inter-Rater Agreement and Usability: A Comparative Evaluation of Annotation Tools for Sentiment Annotation. In Draude, C., Lange, M. and Sick, B. (eds),
INFORMATIK 2019: 50 Jahre Gesellschaft Für Informatik – Informatik Für Gesellschaft (Workshop-Beiträge). Bonn: Gesellschaft für Informatik e.V., pp. 121–33 doi:
10.18420/inf2019_ws12.

Schmidt, T. and Wolff, C. (2021). Exploring Multimodal Sentiment Analysis in Plays: A Case Study for a Theater Recording of Emilia Galotti.
Proceedings of the Conference on Computational Humanities Research 2021 (CHR 2021). Amsterdam, The Netherlands, pp. 392–404.

Schonlau, Anja (2017).
Emotionen im Dramentext: Eine Methodische Grundlegung mit Exemplarischer Analyse zu Neid und Intrige 1750-1800. Berlin, Boston: De Gruyter.

Schulz, G.-M. (1988).
Tugend, Gewalt und Tod: das Trauerspiel der Aufklärung und die Dramaturgie des Pathetischen und des Erhabenen. Tübingen: Niemeyer.

Schwarz-Friesel, M. (2007).
Sprache und Emotion. Tübingen: Francke.

Sprugnoli, R., Tonelli, S., Marchetti, A. and Moretti, G. (2015). Towards Sentiment Analysis for Historical Texts.
Digital Scholarship in the Humanities,
31. Oxford: Oxford University Press: 762–72 doi:
10.1093/llc/fqv027.

Zeller, R. (2005). Tragödientheorie, Tragödienpraxis und Leidenschaften. In Steiger, J. A. (ed),
Passion, Affekt und Leidenschaft in der Frühen Neuzeit, vol. II. Wiesbaden: Harrassowitz, pp. 691–704.

If this content appears in violation of your intellectual property rights, or you see errors or omissions, please reach out to Scott B. Weingart to discuss removing or amending the materials.

Conference Info

In review

ADHO - 2022
"Responding to Asian Diversity"

Tokyo, Japan

July 25, 2022 - July 29, 2022

361 works by 945 authors indexed

Held in Tokyo and remote (hybrid) on account of COVID-19

Conference website: https://dh2022.adho.org/

Contributors: Scott B. Weingart, James Cummings

Series: ADHO (16)

Organizers: ADHO