This is a class designed to track statistics of different chats on WhatsApp.
Following imports required:
import pandas as pd
import numpy as np
import re
import time
import os
import string
import matplotlib.pyplot as plt
from matplotlib.patches import Circle
import seaborn as sns
from datetime import datetime, timedelta
from collections import Counter
from copy import copy
from functools import reduceAll are standard packages installed with anaconda.
Run the ChatData.py file to generate data summary printout and summary plots.
Configuration file chat_config.py contains settings such as filename etc.
Specify relative path to file. WhatsApp file must be downloaded without images/docs in a .txt format.
- Reading in data from whatsapp .txt file (two person chats and group chats)
- Looking at histogram of messages sent via hour and via month. Stacked to show what each participant did.
- Looking at reply statistics, by sender. Prints out averages and standard deviations
- View Pie chart that shows number of messages sent.
- Looking at Time Series of reply time and number of words sent over a rolling average period.
- Summary of chat data printed to console.
Add NLP Sentiment and Emoji Analysis.
Add wordcloud
Add support for other messaging services.