This project aims to build a model to classify the sentiment of a text in one of the three following categories: happiness, sadness or anger. This program was implemented using Python 3 and scikit-learn.
Clone the project to your local machine and install the dependences listed in the requirements.txt
file:
pip install -r requirements.txt
Make sure to use Python3 to run the project:
python3 Main.py
Some logs and metrics will be shown while the models are being built. After some seconds you'll be able to enter your text in the terminal. You can see some output examples bellow:
Enter your message (0 to quit): I miss you
Sadness :(
Enter your message (0 to quit): I don't wanna know about it, I hate you!
Anger -.-
Enter your message (0 to quit): This place has many good reviews
Happiness :)