Skip to content

Emotion Detection from Text using NLP & Machine Learning A real-time Streamlit web app that predicts emotions like happy, sad, angry, etc., from user input text using Logistic Regression, TF-IDF, and NLTK preprocessing. Trained on a custom dataset and visualizes prediction confidence with emojis and suggestions.

Notifications You must be signed in to change notification settings

SharletAlex/Emotion_Detection_WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎭 Real-Time Emotion Detection from Text

A Streamlit app that detects emotions (happy, sad, angry, etc.) from user-entered text using Natural Language Processing (NLP).

🔧 Features

  • Real-time emotion prediction
  • Confidence score and probability chart
  • Uses TF-IDF, Logistic Regression, and label encoding
  • Trained on custom dataset

🛠️ Installation

git clone https://github.com/your-username/emotion-detector.git
cd emotion-detector
pip install -r requirements.txt



To run the app:

streamlit run app.py

About

Emotion Detection from Text using NLP & Machine Learning A real-time Streamlit web app that predicts emotions like happy, sad, angry, etc., from user input text using Logistic Regression, TF-IDF, and NLTK preprocessing. Trained on a custom dataset and visualizes prediction confidence with emojis and suggestions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages