Emotion detection in text data involves identifying the emotions expressed in textual data. This can be a challenging task since emotions are often expressed in complex and subtle ways. Natural language processing (NLP) techniques can be used to analyze text data and identify the emotions expressed in it.
The aim of this project is to develop a model that uses NLP techniques to accurately detect emotions in text data. The model can be used for sentiment analysis, customer feedback analysis, and social media monitoring. The model is trained on a dataset of text data that has been labeled with the corresponding emotions expressed in it.
The dataset used for this project contains text data labeled with one of eight emotions: anger, disgust, fear, joy, neutral, sadness, shame and surprise. The dataset contains a total of 34795 rows.
The Logistic Regression achieved an accuracy of 62% on the data.
Clone the repository to your local machine:
git clone https://github.com/SannketNikam/Chatbot.git
Install the 'requirements.txt':
pip install -r requirements.txt
To run this project :
streamlit run app.py
It'll automatically open the Streamlit app in your default browser.