Visualization of chat sentiments from a whatsapp chat backup (16k Messages).
-
pip install -r requirements.txt
-
python -m textblob.download_corpora
- copy your whatsapp chat texts in chat_sample.txt (backup chats via email to get the txt file)
- set usernames (
user1
&user2
in thewhatsapp-sentiment.py
file) python whatsapp-sentiment.py