Skip to content

Selbl/WhatsappAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

WhatsappAnalysis

Description

The Jupyter notebook in this project receives a Whatsapp Chat.txt file and conducts a descriptive and natural language processing analysis on it. The features include:

  1. The evolution of messaging habits in the conversation, with a break-down per sender
  2. Wordcloud of most frequently used words in the chat as a whole and per sender
  3. Sentiment analysis of the texts
  4. Activation times of the texts

While my original purpose was to create a code for group-chat analysis, it also works for conversations with just one person.

I have provided a test chat file for you to try the code out. If you prefer, you can run the code with your own conversations! The test file is randomly generated, so there should not be any clearly defined patterns. Down below I provide the steps to export your own chat from Whatsapp.

Working With Languages Other Than English

You can use this code to analyze conversations in languages other than English. Just keep in mind that you will have to change the language in the stopwords line from english to the language you desire.

Exporting Data

To work with your own data, first you have to open Whatsapp. Then go to the desired chat and click on the three dots in the upper-right corner. It should look like this:

Screenshot_20231012_073320_WhatsApp

Afterwards, click on More to find the following display:

Screenshot_20231012_073324_WhatsApp

Choose your desired way of sending the data to yourself and voilá!

About

Text analysis of Whatsapp conversations using Jupyter Notebooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published