WhatsApp-Sentiment-Analyzer icon indicating copy to clipboard operation
WhatsApp-Sentiment-Analyzer copied to clipboard

WhatsApp chats and sentiment analyzer, using Streamlit and Heroku deployment

Whatsapp Chat Analyzer

Features

  • Monthly Activity map(Positive, Neutral, Negative)
  • Daily Activity map(Positive, Neutral, Negative)
  • Weekly Activity map(Positive, Neutral, Negative)
  • Daily timeline(Positive, Neutral, Negative)
  • Monthly timeline(Positive, Neutral, Negative)
  • Percentage Contribution(Positive, Neutral, Negative)
  • Word Cloud(Positive, Neutral, Negative)
  • Most Common words(Positive, Neutral, Negative)
  • Most user(Positive, Neutral, Negative)

You just have to perform the following task in order to get analysis.

  • Export whatsapp chat (24 hour format).
  • Browse the file.
  • Click Show Analysis.

Deployed link

https://mainakrepositor-whatsapp-sentiment-analyzer-app-ecb5vk.streamlitapp.com/

Run locally

Create new project in pycharm and add above files. After that open terminal and run the following command. This will install all the modules needed to run this app.

pip install -r requirements.txt

To run the app, type following command in terminal.

streamlit run app.py

Libraries

  • streamlit
  • matplotlib
  • seaborn
  • nltk
  • collection
  • wordcloud
  • urlextract
  • emoji

Screenshots

app · Streamlit - Google Chrome 28-04-2022 20_35_52 app · Streamlit - Google Chrome 28-04-2022 20_30_40 app · Streamlit - Google Chrome 28-04-2022 20_30_51 app · Streamlit - Google Chrome 28-04-2022 20_31_04 app · Streamlit - Google Chrome 28-04-2022 20_31_23 app · Streamlit - Google Chrome 28-04-2022 20_31_34