This Hindi Emotion Analysis project classifies the Hindi text sentence into the set of classes such as Angry, Happy, Sad and Neutral. The project plots word cloud for all the respective emotions. The user can select and train any one of the model (SVM,Logistic Regression and Random Forest Classifier) and tune the hyper parameters accordingly. The project also allows user to predict the emotion on new text. If a user is Hindi speaker he/she can directly input the Hindi text for prediction otherwise an option is provided for him/her to enter the text in English and translate it in Hindi.
The dataset for this project can be downloaded from the Google Drive https://drive.google.com/drive/folders/18ejR2NCK5xcmJG8bDBkIF3YEnM86jNiM?usp=sharing
The Code is written in Python 3.7. To install the required packages and libraries, run this command in the project directory after cloning the repository:
pip install -r requirements.txt
Create an environment and clone this repository. To run this project run a command into terminal :
streamlit run app.py