Skip to content

prashanth316/Whatsapp-Chat-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 WhatsApp Chat Sentiment Analyzer

📖 Overview

This project is a WhatsApp Chat Sentiment Analyzer designed to go beyond identifying the most positive user in a chat group. It provides detailed insights into the overall sentiment, communication patterns, and activity trends based on WhatsApp chat data.

With this tool, you can understand not only individual positivity but also group interactions, helping you analyze patterns and behaviors more effectively.


🛠 Features

✅ Sentiment analysis of WhatsApp chat data
✅ Visualization of daily, weekly, and monthly activities
✅ Word clouds highlighting frequently used terms
✅ Comparison of positive, neutral, and negative sentiments
✅ Uses machine learning algorithms like Naive Bayes, Random Forest, SVM, and KNN
✅ Implements NLP techniques such as Tokenization, TF-IDF, and Bag of Words
✅ Streamlit-based interactive visualizations for better usability


📂 Folder Structure

WhatsApp-Chat-Analyzer/ ├── .idea/ # IDE-related files ├── pycache/ # Python cache files ├── app.py # Main application script ├── helper.py # Helper functions ├── preprocessor.py # Preprocessing scripts ├── stop_hinglish.txt # Custom stop words file ├── error.webp # Image used in the UI ├── README.md # Project documentation


🚀 How It Works

  1. The chat data is preprocessed to clean and tokenize text.
  2. Sentiment analysis is applied using various machine learning algorithms.
  3. Visualizations are generated to highlight activity trends and sentiment contributions.
  4. The results are presented through Streamlit’s interactive UI.

📥 Installation & Setup

Prerequisites

  • Python 3.x installed
  • pip for package management

Steps

  1. Clone this repository:
    git clone https://github.com/prashanth316/WhatsApp-Chat-Analyzer.git
    cd WhatsApp-Chat-Analyzer

Install dependencies:

bash Copy code pip install -r requirements.txt Run the application:

bash Copy code streamlit run app.py Upload the WhatsApp chat file and explore the visualizations!

🔮 Future Enhancements Add support for multiple languages

Integrate with Google Drive or WhatsApp Web for direct file input

Provide downloadable reports with detailed sentiment graphs

Improve preprocessing with advanced NLP techniques

📫 Connect With Me Feel free to reach out if you want to collaborate or learn more!

LinkedIn | GitHub

yaml Copy code


✅ Repository Details Content (For “Edit Repository Details” popup)

Description:

A WhatsApp chat sentiment analysis tool that visualizes user interactions and activity trends using machine learning and NLP techniques.

makefile Copy code

Website:

(Leave empty or add later after deployment)

makefile Copy code

Topics:

python machine-learning nlp sentiment-analysis whatsapp-analytics streamlit

yaml Copy code

✔ All lowercase
✔ Uses hyphens where necessary
✔ Descriptive yet concise


✅ Summary Table

Field Example Entry
Description A WhatsApp chat sentiment analysis tool that visualizes user interactions and activity trends using machine learning and NLP techniques.
Website Leave empty or add later after deployment
Topics python machine-learning nlp sentiment-analysis whatsapp-analytics streamlit

This setup will make your repository look complete, professional, and ready for others to explore or contribute.

If you want, I can now help you draft descriptions and topics for other projects or walk you through hosting this one! 📊✅

About

A WhatsApp chat sentiment analysis tool that visualizes user interactions and activity trends using machine learning and NLP techniques.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages