Analyzing Sentiment and Ratings

Section I: A Grown-Up Discussion about a Cartoon for Kids

Follow this project's progress in this ipython notebook


March 27, 2015

Okay, hear me out.

In "The Desert", we follow a group of protagonists as they deserparately struggle to find their way out of the middle of a desert (surprise, surprise). Throughout the episode, we watch as each character declines into their own respsective anti-selves. Chaos. Hopelessness. Id. The focus of the episode - what happens when each character is put out of their element?

How well-written was this show? If you're familiar with the show, the following was my response to a forum post titled "Which episode was your favorite?" where I dissect the plot of the episode character-by-character. If you're familiar with the show, enjoy the fandom. Otherwise, feel free to skip right past the nerd sesh.


One of them is definitely Book 2's The Desert.

We see all of the characters out of their element - both metaphorically and literally. Sokka is typically the rational one, and as the eldest, he is typically looked to for direction. They joke about him being the 'leader' in a previous episode, but really he is their go-to guy. In The Desert, he's tripping balls, effectively ineffective. Instead of the one coming up with solutions, he's become a burden.

Katara now has to play the leader. You can see that she's more concerned about keeping everyone together than getting out of the desert, probably because her nature is more about community than mission - but the only way to keep everyone together is by getting out of the desert. That scene when she looks down at everyone and essentially says "that's it" is where you see her change momentarily in character, taking on Sokka's role.

Toph can't bend. She can't see. Surrounded by nothing but sand, she is also useless. Not to mention the silent guilt she must feel after choosing to save the gaang over Appa, which has brought on some unnatural rage from Aang.

Aang is usually the mediator and peacemaker. You really see an incredible contradiction to his nature in this episode. You can't help but hate how his rage gets in the way of keeping everything together. Instead of keeping an open-mind, he's focused only on Appa. Not only that, but focus on anything other than Appa sets him off. Aang's rage crescendos through the episode until the very last moment when the Avatar state takes over him. The rage shows and all the disappointment in him from the episode totally washes away and you can't help but feel for him.

Out of all the episodes, this one was the only that has me fighting back tears everytime I watch it.

Anyway, awhile back I did a little digging into what viewership ratings were like for this show. I posted my findings and initiated a forum discussion on Reddit here. Recently, I decided to carry over a project on sentiment analysis, and compound on what I had already dug up on the show.

What I expected to find was simple: negative sentiment for the really good episodes, and neutral sentiment for the filler episodes. Positive sentiment I did not anticipate so much as the nature of the show was quite deep and incorporated a lot of cultural inspirations, giving the show quite the dynamic. If there would be any positive episodes, it would be the fillers.

To do this, I searched for the show's transcripts. Luckily, the fanbase for the show is immense, and they weren't hard to find. I fed them into the program I'd already created for a previous iteration of text and sentiment exploration quite easily, however I was surprised by what I found.

Overall, the average sentiment of the show was negative.

This was not so surprising - good stories need conflict, and conflict is negative. What I was surprised to find was that every single episode - all but ONE - were valuated as negative in sentiment. All but ONE. I had already run the program on a number of different texts in projects before this one - blog entries, tweets, Amazon product reviews - and the estimator seemed to work just fine. Even then, I was worried there was something wrong with my code.

I sat back, concerned. What about the one positive episode? It occured to me that the episode valuated as positive happened to be a flashback episode, and then I suddenly realized the reason for the consistently negative trend in sentiment.

If you're a fan of the show, I'll give you a moment to guess for yourself.

It just so happens that the entirety of Avatar: The Last Airbender (albeit the one spisode) take place during a time of war. Even filler episodes with close to neutral sentiment take place during wartime, so the sentiment of conflict never really escapes the story. The writers and producers of the show did well to preserve this concept. Common words with negative sentiment prove this theory. Frequently occuring words include 'smoke' 'tanks', 'attack', 'first', and 'struggles'. To establish this kind of consistent atmosphere in a show on Nickelodeon - was impressive to say the least.

I delved deeper into why the "flashback" episode was the most positive.

It turns out that it was in this episode in particular (Book 3, Episode 6) where two of the main protagonists gain significant insight into their pasts. One gains clarity into the nature of his role as a political figure, and that political figure's relationship with other nation's leaders. Another learns of his lineage and his relation to the first political figure. To add to the positive sentiment in the episode, the flashback includes a scene where the main character is born. This was also the episode that gave precedence to this concept that is one of the show's fanbases favorite themes.