What are the current approaches for analyzing emotions within a piece of text? Which tools and Python packages should you use for sentiment analysis? In this episode, I return to the Real Python podcast to discuss modern sentiment analysis in Python.
As someone with a background in clinical psychology, I've always had an interest in studying emotions (I actually did my PhD in emotions research!). We chat about how this interest has continued into my data science career.
I cover three ways to approach sentiment analysis. We start by discussing traditional lexicon-based and machine-learning approaches. Then, we dive into how specific types of LLMs can be used for the task. We also share multiple resources so you can continue to explore sentiment analysis on your own.
