Skip to content

This project classifies the Hindi text into the set of emotion classes such as Angry, Happy, Sad and Neutral.

Notifications You must be signed in to change notification settings

kush-2418/Hindi-Emotion-Analysis-ML

Repository files navigation

Hindi-Emotion-Analysis-ML

  1. Demo
  2. Overview
  3. Dataset
  4. Installation
  5. Run

Demo

Overview

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.

Dataset

The dataset for this project can be downloaded from the Google Drive https://drive.google.com/drive/folders/18ejR2NCK5xcmJG8bDBkIF3YEnM86jNiM?usp=sharing

Installation

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

Run

Create an environment and clone this repository. To run this project run a command into terminal :

streamlit run app.py

About

This project classifies the Hindi text into the set of emotion classes such as Angry, Happy, Sad and Neutral.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published