Analyze Chatsapp chat
The script reads an exported whatsapp chat and then extracts the data. You may need to install some packages before run it
- Python 2.7+ or Python 3
pip install pandas emoji seaborn matplotlib numpy wordcloud
$ git clone https://github.com/PetengDedet/WhatsApp-Analyzer.git
$ cd WhatsApp-Analyzer
$ python whatsapp_analyzer.py
- This script use regex to extract the data.
- Currently support below chat pattern:
"14/10/18, 11:16 - Contact Name: this is a message"
"2/30/18, 2:07 AM - Contact Name: Test👌"
"[30/12/18 4.59.25 PM] Nama User: 🙏test"
"[06/07/17 13.23.30] +62 123-456-78910: image omitted"
- Some date format may not supported
- Tested in python 2.7+ on MacOS
- When using virtualenv there is error backend stuff I don't know how to fix it yet. Help please :)
- If chat file located outside script directory, please fill it with fullpath not relativepath
- There is common words file:
- id_cw.py for Bahasa Indonesia
- en_cw.py for English. Thanks @Deekayen gist If you want to add any other language, you can make it one
- Open a chat/group chat
- Tap on trhee dots oh the top right
- Tap "More"
- Choose "Export chat"
- Choose "Without Media"
- Open a chat/group chat
- Tap on contact name/group name on the top to see the details
- Scroll down to find "Export Chat" menu
- Choose "Without Media"
Description included inside