Interpretation of Sentiment Analysis in Aeschylus’s Greek Tragedy

Vijaya Kumari Yeruva, Mayanka Chandrashekar, Yugyung Lee, Jeffrey A. Rydberg-Cox, Virginia Blanton, Nathan A. Oyler2020

TL;DR

This paper explores the challenges and benefits of using NLP and machine learning for sentiment analysis on ancient Greek tragedies. By comparing human annotators with three popular machine learning tools, the study reveals fair to slight agreement between them, highlighting the nuances of interpreting sentiment in historical literary texts.

What Problem Does This Paper Address?

The digital humanities are increasingly leveraging NLP and machine learning to analyze historical texts. However, applying sentiment analysis, a technique often trained on modern social media data, to ancient literary works like Greek tragedies presents unique challenges. These texts contain complex emotional expressions and cultural contexts that may not be directly interpretable by current algorithms. This paper aims to bridge this gap by investigating the effectiveness of sentiment analysis tools on Greek tragedy, exploring the difficulties faced by both human and machine annotators, and assessing the consistency of their interpretations.

Methods

The study employed a two-pronged approach: human annotation and machine annotation.

For human annotation, 61 college students were surveyed. They were asked to:

  1. Rate the sentiment of a sentence in isolation.
  2. Identify words contributing to that sentiment.
  3. Rate the sentiment of the sentence when provided with surrounding context.

This survey design aimed to understand how context influences sentiment perception and to assess the interpretability of sentiment.

For machine annotation, three popular sentiment analysis tools were used:

  1. VADER (Valence Aware Dictionary and sEntiment Reasoner): A rule-based model specifically tuned for social media text.
  2. CoreNLP's sentiment annotator: Based on Recursive Neural Tensor Networks.
  3. TextBlob: A library for text processing that provides polarity and subjectivity scores.

The machine annotations were normalized to a five-point scale to align with human annotations. The researchers then conducted quantitative and qualitative analyses to compare the agreement and disagreement between human and machine annotators, as well as among human annotators themselves.

Datasets

The primary dataset for this study consists of sentences extracted from Aeschylus's Greek tragedies. These sentences were obtained from TEI conformant XML texts from the Perseus Digital Library. A stratified sampling method was used to select 50 sentences, which were then used for both human and machine annotation. No new benchmark datasets were introduced; rather, existing literary texts were utilized.

Key Insights and Ideas

  • Context is King (Even for Machines): While machine annotators struggle with context, human annotators' sentiment ratings significantly change when provided with surrounding text, indicating that context is crucial for accurate interpretation, even in ancient literature.
  • Nuance is Hard: The study highlights that sentiment analysis in literary texts is not straightforward. Subtle differences in word choice and the inherent ambiguity of emotional expression make consistent annotation challenging for both humans and machines.
  • Human-Machine Agreement is Fair to Slight: The research found only fair to slight agreement between human and machine sentiment annotations, suggesting that current NLP tools, while powerful, still have a considerable gap to bridge when interpreting the emotional landscape of classical literature.
  • Sentence Length Matters (for Disagreement): Longer sentences tended to exhibit more disagreement among human annotators, possibly due to increased complexity and the presence of more sentiment-laden words.

Key Results

  • Human-to-Human Agreement: The study found positive correlations between human annotations for sentences and sentences with context (HS-HC), indicating a degree of consistency in human interpretation.
  • Human-to-Machine Agreement: Correlations between human and machine annotations (HS-MA, HC-MA) were moderate, with Pearson correlation values of 0.62 and 0.36, respectively.
  • Inter-rater Reliability: Cohen's Kappa values for human-machine agreement were generally low, ranging from -0.05 to 0.23, indicating slight to fair agreement. VADER showed the best agreement with human annotators (kappa=0.23).
  • Sentiment Change with Context: In one instance, human annotations shifted from "Neutral" (3.0) to "Moderately Negative" (3.8) when context was added, and in another, from "Neutral" (3.4) to "Moderately Positive" (1.9), demonstrating the impact of context.
  • Sentence Length: Longer sentences showed a negative correlation with human sentiment annotations (HA) and VADER scores, but a positive correlation with the standard deviation of human annotations (SD), suggesting more disagreement on longer texts.

Limitations and Future Work

The authors acknowledge that their study is an initial step and that the sentiment analysis tools used were primarily trained on modern social media data, which may not fully capture the nuances of ancient Greek tragedy. They also note that human annotators may not have been deeply familiar with the specific plays, potentially limiting their contextual understanding.

Future work could involve developing sentiment analysis models specifically trained on classical literary corpora. Further research into the interpretability of machine annotations and exploring more sophisticated methods for incorporating context into machine learning models are also suggested. The study also points to the need for more robust methods to measure agreement and disagreement in complex literary analysis.

Summary updated

Abstract

Recent advancements in NLP and machine learning have created unique challenges and opportunities for digital humanities research. In particular, there are ample opportunities for NLP and machine learning researchers to analyze data from literary texts and to broaden our understanding of human sentiment in classical Greek tragedy. In this paper, we will explore the challenges and benefits from the human and machine collaboration for sentiment analysis in Greek tragedy and address some open questions related to the collaborative annotation for the sentiments in literary texts. We focus primarily on (i) an analysis of the challenges in sentiment analysis tasks for humans and machines, and (ii) whether consistent annotation results are generated from the multiple human annotators and multiple machine annotators. For human annotators, we have used a survey-based approach with about 60 college students. We have selected three popular sentiment analysis tools for machine annotators, including VADER, CoreNLP’s sentiment annotator, and TextBlob. We have conducted a qualitative and quantitative evaluation and confirmed our observations on sentiments in Greek tragedy.
BibTeX
@misc{yeruva2020interpretation,
  author = {Vijaya Kumari Yeruva and Mayanka Chandrashekar and Yugyung Lee and Jeffrey A. Rydberg-Cox and Virginia Blanton and Nathan A. Oyler},
  title = {{Interpretation of Sentiment Analysis in Aeschylus’s Greek Tragedy}},
  year = {2020},
}
Figure