Sentiment Analysis Coding Challenge

This was a very interesting coding challenge to do: imagining we were AI’s unable to grasp the sentiment of the content we tried to analyse several simple texts with a Sentiment Analysis program Simon built, following a Daniel Shiffman tutorial. It’s based upon the AFINN list, an affective lexicon by Finn Årup Nielsen. Previous and present versions of the word list are available in a zip file on GitHub.

Just like Simon is saying in the last video, some more natural language processing would help and there are libraries that can do it. The AFINN list we relied upon only contains 2477 words, so it only did a good job with very straightforward texts using simple vocab. With a more complicated program we’re pretty sure one can make an AI get some irony though, don’t you think?

img_3424

img_3429

The text below was a bit out of AFINN’s league:

img_3427

img_3425

img_3430

img_3431

img_3432

img_3433

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s