Skip to content

kingshukmondal/sentiment_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—¨οΈ Sentiment Analysis Chat Application

Welcome to the Sentiment Analysis Chat Application! πŸŽ‰ This application allows users to chat while analyzing the sentiment of their messages in real-time.

🌟 Features

Real-Time Sentiment Analysis: Get instant feedback on whether your messages are positive, neutral, or negative! πŸŸ’πŸŸ‘πŸ”΄
Visual Sentiment Representation: View a Bar Graph showing the distribution of sentiments from your messages. πŸ“Š
Message Statistics: Track the total number of messages and their sentiment breakdown! πŸ“ˆ
Clear Chat History: Easily clear the chat for a fresh start! 🧹
Save Chat History: Keep a record of your conversations in a text file! πŸ’Ύ

πŸ“¦ Installation

  1. Clone this repository:
    git clone https://github.com/kingshukmondal/sentiment_analysis.git
    cd sentiment-analysis-chat
  2. Install the required packages:
    pip install -r requirements.txt
  3. Run the application:
    python app.py

πŸ“š Requirements

  • Python 3.x
  • NLTK library
  • Tkinter for GUI

Additional Libraries

Make sure to install the required libraries for sentiment analysis:

pip install nltk

You may also need to download the VADER lexicon used for sentiment analysis:

import nltk
nltk.download('vader_lexicon')

πŸš€ How to Use

  1. Type your message in the input box and hit Enter or click the Send button! πŸ’¬
  2. View the sentiment analysis results along with a visual representation in the form of a pie chart! πŸ₯§
  3. Check out the statistics to see how many messages you've sent and their sentiments! πŸ“Š
  4. Use the Clear button to reset the chat or Save to export your chat history.

πŸ–ΌοΈ Screenshots

Here are some screenshots of the application:

Screenshot 1 Screenshot 2 Screenshot 3

🎨 Contribution

Contributions are welcome! If you'd like to enhance the app or add new features, feel free to fork the repository and submit a pull request.

πŸ™ Acknowledgements

  • Thanks to NLTK for providing sentiment analysis tools.
  • Special thanks to the open-source community for their inspiration and resources!

Feel free to reach out if you have any questions or suggestions! Happy chatting! 😊

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published