I analyzed each chapter's emotion level of a famous novel "The Great Gatsby" by American writer F. Scott Fitzgerald.
I used Natural Language Processing for sentiment analysis. Also I biuld a plot in order to see the most "positive" chapter, using Matplotlib and NumPy.
Notes:
Natural language processing (NLP) is an interdisciplinary subfield of linguistics, computer science, and artificial intelligence concerned with the interactions between computers and human language, in particular how to program computers to process and analyze large amounts of natural language data. (From Wikipedia)
Sentiment analysis (also known as opinion mining or emotion AI) is the use of natural language processing, text analysis, computational linguistics, and biometrics to systematically identify, extract, quantify, and study affective states and subjective information. (From Wikipedia)