How to do a basic sentiment analysis on text.
When engaging in a conversation either in person or online, it's no hard task for us to gauge how someone might be feeling. For example, If you were to read the text "OMG I love Hex soooo much!" it'd be safe to assume that this person has had a great experience with Hex and wants to express their enthusiasm.
This simple example demonstrates the essence of what a sentiment analysis model does. The model looks at text and makes a prediction on the sentiment that the writer was trying to express.
Being able to predict the sentiment of text can give great insights into how an audience is talking about an event, brand, or product.
Lets see how we can implement this in python!