August 12, 2019

Overview

The following analyzes dialogue from HBO’s Game of Thrones.


Data retrieved from Kaggle’s Game of Thrones Subtitles dataset:

  • Available in JSON format
  • Comprised of all captions in Seasons 1-7
  • Uses basic bag-of-words model to tally occurrences
  • Analysis conducted with AFINN and NCR sentiment lexicons

Household Names

Honorable & Dishonorable Mentions

Dialogue Sentiment, Season I

Dialogue Sentiment, Season II

Dialogue Sentiment, Season III

Dialogue Sentiment, Season IV

Dialogue Sentiment, Season V

Dialogue Sentiment, Season VI

Dialogue Sentiment, Season VII

Affinity Scores, All Seasons

Prevailing Themes: Trust & Fear

Most Common Sentiments by Season

Documentation

Raw data, preprocessing and analysis scripts, and other documentation for reproducing the present work are available in this GitHub repository.

Packages used include:

  • scales
  • plotly
  • tidytext
  • textdata
  • tidyverse

Works Cited

Finn, Arup (2015). “AFINN Sentiment Lexicon”. GitHub. Retrieved on 11 August 2019 from here.

Saif, Mohammad (2013). “NRC Word-Emotion Association Lexicon”. Retrieved on 11 August 2019 from here.

Saini, Gunnvant (2018). “Game of Thrones Subtitles”. Kaggle. Retrieved on 9 August 2019 from here.