This is a NLP approach for a question which has been bugging me a lot. Which disney/pixar movies make you smile and which ones make you cry? This is the basic topic we are going to approach
We are going to use sentiment analysis for classification of these movies based on their synopsis. For Sentiment Analysis we are going to use TextBlob. Plot Summaries(synopses) for the following movies were taken from IMBD. All the data files are in .txt format present in the synopses folder.
Movies used:
- Aladdin
- Cars
- Finding Nemo
- Frozen
- Tangled
- The Little Mermaid
- Toy Story 3
- Toy Story
- Up
- Zooptopia
- Frozen-0.094541
- Aladdin-0.083836
- Cars-0.077923
- Toy Story-0.06611
- The Little Mermaid 0.064780
- Toy Story 3-0.049407
- Tangled-0.041784
- Finding Nemo-0.037587
- Up-0.030949
- Zootopia-0.022158
Apart from the inconsistencies of Frozen and Zootopia(each seemingly in opposite side of the spectrum they deserve to be in), the rest are pretty accurate. Aladdin, Cars and Toy Story are happy and cheerful movies. Up, Finding Nemo and Toy Story 3 are quite the emotional flicks. Thus we have pretty accurately categorized movies based on their plot synopsis.
So, Disney/Pixar really know how to play with the heart strings of its audience.