---
title: "Character-to-Character Sentiment Analysis in Shakespeare's Plays"
description: "The paper asks whether a computer can follow how characters in a narrative feel about one another… 19 references, cited by 17 papers here."
authors: ["Eric T. Nalisnick", "Henry S. Baird"]
year: 2013
venue: "Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)"
source: "https://aclanthology.org/P13-2085/"
licence: "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)"
licence_url: "https://creativecommons.org/licenses/by-nc-sa/3.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/nalisnick-2013-character-character-sentiment-analysis-shakespeare/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/nalisnick-2013-character-character-sentiment-analysis-shakespeare/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2013](https://md.research.elamur.ai/free/en/papers/2013/page/2/) / Character-to-Character Sentiment Analysis in Shakespeare's Plays

# Character-to-Character Sentiment Analysis in Shakespeare's Plays

**Authors:** Eric T. Nalisnick and Henry S. Baird · **Year:** 2013 · **Venue:** [Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)](https://md.research.elamur.ai/free/en/venues/acl/) ([ACL 2013](https://md.research.elamur.ai/free/en/venues/acl/2013/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

**Links:** [Publisher's page](https://aclanthology.org/P13-2085/) · [PDF](https://aclanthology.org/P13-2085.pdf) · [OpenAlex](https://openalex.org/W2101860453)

**Citations:** 40 citations (OpenAlex, 2026-10-14) · [17](https://md.research.elamur.ai/free/en/papers/nalisnick-2013-character-character-sentiment-analysis-shakespeare/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
The paper asks whether a computer can follow how characters in a narrative feel about one another, not just the mood of a whole text or of one character. Nalisnick and Baird use the explicit dialogue structure of plays, working from Jon Bosak's XML editions of Shakespeare. Their method is deliberately shallow and has no domain tuning. Each uninterrupted speech gets a score equal to the sum of the AFINN lexicon valences of its words. That score is then credited to the relationship between the speaker and whoever spoke just before. Adding these scores gives static rankings of each character's allies and enemies. Tracking the running total across line numbers gives dynamic curves for any pair of characters. For Hamlet, Othello, Romeo and Juliet, and The Taming of the Shrew, the curves mostly agree with standard readings of the plays. In one case they drew attention to a turning-point scene. The evaluation is qualitative only. Its value lies in showing that a crude lexicon combined with a structural guess about the addressee already yields interpretable relationship dynamics.

## Key points
- **Method:** Valence comes from the AFINN lexicon (Nielsen, 2011) and is summed over each continuous speech. The result is credited to the preceding speaker, who is treated as the addressee.
- **Hamlet's final rankings:** Claudius scores lowest at −27, while Gertrude scores a surprisingly high +24.
- **Act III Scene IV ("The Queen's Closet", near line 2,250):** In this scene, Hamlet's running score toward Gertrude rises from −1 to 22. In the same scene, Gertrude's score toward Hamlet falls from 1 to −19.
- **Other relationships analysed:**
  - Othello→Desdemona peaks early and then collapses.
  - Romeo and Juliet are strongly positive toward each other.
  - Petruchio is negative toward Katharina during roughly lines 1200–1700, his "taming" phase.
  - An interactive viewer called ShakespeareExplorer covers every pair of characters in every play.
- **Known failures and future work:**
  - Sentiment about characters who are not on stage gets misattributed to whoever spoke last.
  - Iago's flattery hides his hatred of Othello.
  - The authors propose detecting references to offstage characters and handling irony and deceit.
  - For novels, they propose first running Elson and McKeown's speaker attribution.

## Interesting ideas
- Credit a speech's sentiment to a directed speaker→addressee pair rather than to the text as a whole, turning a polarity score into an edge in a relationship graph.
- Use a cheap structural default for the addressee (the previous speaker) and record where that default fails, such as offstage targets, as a separate repair problem.
- Follow a cumulative score over the course of the text and treat sudden jumps as markers of pivotal scenes.
- Name the cases a shallow signal cannot see, such as deceptive flattery, as a known weakness instead of hiding them.
- Judge the output against well-known reader interpretations of famous works when no gold labels exist.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (frames): Speech-act frames in prag could carry an explicit addressee slot filled from turn order, so attitude becomes a who-feels-what-toward-whom relation.
- **I2** (frames): Coreference could take "previous turn-holder" as a weak prior for second-person reference, overridden when a mention points to someone absent.
- **I3** (world): Timestamped attitude states on entity pairs would let the world model flag events where a relation flips, and those events can serve as explainable hooks for questions about why something changed.
- **I4** (learn): Iago-style deceptive praise makes a good negative control, where surface polarity and true attitude diverge, for testing whether the irony and implicature layers add value.
- **I5** (answer): Fables and tales with canonical moral readings, such as who is the villain, could serve as a sanity-check set for relationship questions answered from the world graph.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Lehigh University](https://md.research.elamur.ai/free/en/universities/lehigh-university/) — University, Bethlehem, United States · 10 works · 1,573 citations

📚 Shelves (5): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 17,965 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,450 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,296 works · [📚 Literature and Literary Theory](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/literature-and-literary-theory/) · 541 works

🧭 Topics (1): [😊 Sentiment & emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) · 1,035 works

## Cite

Cite as: Eric T. Nalisnick and Henry S. Baird. 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).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{nalisnick2013character,
  title = {{Character-to-Character Sentiment Analysis in Shakespeare's Plays}},
  author = {Eric T. Nalisnick and Henry S. Baird},
  booktitle = {Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
  year = {2013},
  url = {https://aclanthology.org/P13-2085/}
}
```

- [← previous Latent Anaphora Resolution for Cross-Lingual Pronoun Prediction](https://md.research.elamur.ai/free/en/papers/hardmeier-2013-latent-anaphora-resolution-cross-lingual/)
- [next → A Non-Monotonic Arc-Eager Transition System for Dependency Parsing](https://md.research.elamur.ai/free/en/papers/honnibal-2013-non-monotonic-arc-eager-transition/)
- [↑ back to papers of 2013](https://md.research.elamur.ai/free/en/papers/2013/page/2/)

## References

19 references, 3 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. A. Agarwal, A. Corvalan, J. Jensen, and O. Rambow. 2012. Social network analysis of alice in wonderland. NAACL-HLT 2012, page 88. [find](https://scholar.google.com/scholar?q=A%2E+Agarwal%2C+A%2E+Corvalan%2C+J%2E+Jensen%2C+and+O%2E+Rambow%2E+2012%2E+Social+network+analysis+of+alice+in+wonderland%2E+NAACL%2DHLT+2012%2C+page+88%2E)
2. Cecilia Ovesdotter Alm and Richard Sproat. 2005. Emotional sequencing and development in fairy tales. In Affective Computing and Intelligent Interaction, pages 668–674. Springer. [find](https://scholar.google.com/scholar?q=Cecilia+Ovesdotter+Alm+and+Richard+Sproat%2E+2005%2E+Emotional+sequencing+and+development+in+fairy+tales%2E+In+Affective+Computing+and+Intelligent+Interaction%2C+pages+668%E2%80%93674%2E+Springer%2E)
3. Alina Andreevskaia and Sabine Bergler. 2007. Clac and clac-nb: knowledge-based and corpus-based approaches to sentiment tagging. In Proceedings of the 4th International Workshop on Semantic Evaluations, SemEval ’07, pages 117–120, Stroudsburg, PA, USA. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Alina+Andreevskaia+and+Sabine+Bergler%2E+2007%2E+Clac+and+clac%2Dnb%3A+knowledge%2Dbased+and+corpus%2Dbased+approaches+to+sentiment+tagging%2E+In+Proceedings+of+the+4th+International+Workshop+on+Semantic+Evaluation)
4. Nathanael Chambers and Dan Jurafsky. 2009. Unsupervised learning of narrative schemas and their participants. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP: Volume 2-Volume 2, pages 602–610. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Nathanael+Chambers+and+Dan+Jurafsky%2E+2009%2E+Unsupervised+learning+of+narrative+schemas+and+their+participants%2E+In+Proceedings+of+the+Joint+Conference+of+the+47th+Annual+Meeting+of+the+ACL+and+the+4th+I)
5. Micha Elsner. 2012. Character-based kernels for novelistic plot structure. In Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics, EACL ’12, pages 634–644, Stroudsburg, PA, USA. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Micha+Elsner%2E+2012%2E+Character%2Dbased+kernels+for+novelistic+plot+structure%2E+In+Proceedings+of+the+13th+Conference+of+the+European+Chapter+of+the+Association+for+Computational+Linguistics%2C+EACL+%E2%80%9912%2C+pag)
6. David K Elson and Kathleen R McKeown. 2009. Extending and evaluating a platform for story understanding. In Proceedings of the AAAI 2009 Spring Symposium on Intelligent Narrative Technologies II. [find](https://scholar.google.com/scholar?q=David+K+Elson+and+Kathleen+R+McKeown%2E+2009%2E+Extending+and+evaluating+a+platform+for+story+understanding%2E+In+Proceedings+of+the+AAAI+2009+Spring+Symposium+on+Intelligent+Narrative+Technologies+II%2E)
7. D.K. Elson and K.R. McKeown. 2010. Automatic attribution of quoted speech in literary narrative. In Proceedings of AAAI. [find](https://scholar.google.com/scholar?q=D%2EK%2E+Elson+and+K%2ER%2E+McKeown%2E+2010%2E+Automatic+attribution+of+quoted+speech+in+literary+narrative%2E+In+Proceedings+of+AAAI%2E)
8. D.K. Elson, N. Dames, and K.R. McKeown. 2010. Extracting social networks from literary fiction. In Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics, pages 138–147. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=D%2EK%2E+Elson%2C+N%2E+Dames%2C+and+K%2ER%2E+McKeown%2E+2010%2E+Extracting+social+networks+from+literary+fiction%2E+In+Proceedings+of+the+48th+Annual+Meeting+of+the+Association+for+Computational+Linguistics%2C+pages+138%E2%80%9314)
9. Michael Gamon. 2004. Sentiment classification on customer feedback data: noisy data, large feature vectors, and the role of linguistic analysis. In Proceedings of the 20th international conference on Computational Linguistics, COLING ’04, Stroudsburg, PA, USA. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Michael+Gamon%2E+2004%2E+Sentiment+classification+on+customer+feedback+data%3A+noisy+data%2C+large+feature+vectors%2C+and+the+role+of+linguistic+analysis%2E+In+Proceedings+of+the+20th+international+conference+on+)
10. Soo-Min Kim and Eduard Hovy. 2004. [Determining the sentiment of opinions](https://md.research.elamur.ai/free/en/papers/kim-2004-determining-sentiment-opinions/). In Proceedings of the 20th international conference on Computational Linguistics, COLING ’04, Stroudsburg, PA, USA. Association for Computational Linguistics.
11. Saif M Mohammad and Peter D Turney. 2008. Crowdsourcing the creation of a word–emotion association lexicon. [find](https://scholar.google.com/scholar?q=Saif+M+Mohammad+and+Peter+D+Turney%2E+2008%2E+Crowdsourcing+the+creation+of+a+word%E2%80%93emotion+association+lexicon%2E)
12. S. Mohammad. 2011. From once upon a time to happily ever after: Tracking emotions in novels and fairy tales. In Proceedings of the 5th ACL-HLT Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities, pages 105–114. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=S%2E+Mohammad%2E+2011%2E+From+once+upon+a+time+to+happily+ever+after%3A+Tracking+emotions+in+novels+and+fairy+tales%2E+In+Proceedings+of+the+5th+ACL%2DHLT+Workshop+on+Language+Technology+for+Cultural+Heritage%2C+So)
13. P. Mutton. 2004. Inferring and visualizing social networks on internet relay chat. In Information Visualisation, 2004. IV 2004. Proceedings. Eighth International Conference on, pages 35–43. IEEE. [find](https://scholar.google.com/scholar?q=P%2E+Mutton%2E+2004%2E+Inferring+and+visualizing+social+networks+on+internet+relay+chat%2E+In+Information+Visualisation%2C+2004%2E+IV+2004%2E+Proceedings%2E+Eighth+International+Conference+on%2C+pages+35%E2%80%9343%2E+IEEE%2E)
14. F. Å. Nielsen. 2011. Afinn, March. [find](https://scholar.google.com/scholar?q=F%2E+A%CC%8A%2E+Nielsen%2E+2011%2E+Afinn%2C+March%2E)
15. Bo Pang and Lillian Lee. 2008. Opinion mining and sentiment analysis. Foundations and trends in information retrieval, 2(1-2):1–135. [↗](https://doi.org/10.1561/1500000011)
16. Bo Pang, Lillian Lee, and Shivakumar Vaithyanathan. 2002. [Thumbs up?: sentiment classification using machine learning techniques](https://md.research.elamur.ai/free/en/papers/pang-2002-thumbs-up-sentiment-classification-machine/). In Proceedings of the ACL-02 conference on Empirical methods in natural language processing - Volume 10, EMNLP ’02, pages 79–86, Stroudsburg, PA, USA. Association for Computational Linguistics.
17. Stephen Ramsay. 2011. Reading Machines: Toward an Algorithmic Criticism. University of Illinois Press. [find](https://scholar.google.com/scholar?q=Stephen+Ramsay%2E+2011%2E+Reading+Machines%3A+Toward+an+Algorithmic+Criticism%2E+University+of+Illinois+Press%2E)
18. Antonio Roque. 2012. Towards a computational approach to literary text analysis. NAACL-HLT 2012, page 97. [find](https://scholar.google.com/scholar?q=Antonio+Roque%2E+2012%2E+Towards+a+computational+approach+to+literary+text+analysis%2E+NAACL%2DHLT+2012%2C+page+97%2E)
19. C. Strapparava and A. Valitutti. 2004. [Wordnet-affect: an affective extension of wordnet](https://md.research.elamur.ai/free/en/papers/strapparava-2004-wordnet-affect-affective-extension-wordnet/). In Proceedings of LREC, volume 4, pages 1083–1086.

*Updated 2 November 2026*
