Skip to content

A simple python script to find and compare WhatsApp chat entropy

Notifications You must be signed in to change notification settings

Suji04/Chat_Entropy_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chat_Entropy_Analysis

A simple python script to find and compare WhatsApp chat entropy.

Formula

Here I'm using Shannon equation to find word based chat entropy of whatsapp messages(with 3 of my friends).

How to use?

  1. Download this notebook

  2. Export your whatsapp chats(without media) as a .txt file. You can find the export option in whatsapp(top-left corner --> more options).

  3. Save the .txt files in the same directory as that of the notebook.

  4. Rename the files as 'friend A.txt', 'friend B.txt', 'friend C.txt'.

  5. Put your username in the code at the right place(please see the notebook).

  6. Now just see the results and share with your friends!

How to interpret?

In the context of Information Theory Entropy is a measure of Information contained in a message. Higher entropy indicates higher information. The results of this project can give you an idea about how much information you or your friend provide while chatting. However this is an oversimplified model so it may not produce the correct result in complicated situations (e.g. use of different laguages, too much use of different words with same meaning etc.)

My Results

Help

If you have any new idea about this please contribute by pull request or contact me. If you liked this repo star it!

About

A simple python script to find and compare WhatsApp chat entropy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published