GithubHelp home page GithubHelp logo

analyzethechat's Introduction

alt

AnalyzeTheChat

Python based WhatsApp chat analyzer

Demo

The online demo can be found here

How to Install AnalyzeTheChat?

It is advisable to make a new virtual environment (with python 3.6) for this project. Step-by-Step
details on creating a virtual environment can be found here

Clone the repository

Once you have created the virtual environment, activate it and use the following command.

git clone https://github.com/aqeelanwar/AnalyzeTheChat.git

Install required packages

cd AnalyzeTheChat
pip install -r requirements.txt

How to run AnalyzeTheChat?

Export the WhatsApp chat

Export the WhatsApp chat you like to analyze using the following steps

  1. Open the WhatsApp chat
  2. Click the three vertical dots on top-right
  3. Click More
  4. Click Export Chat
  5. Click Without Media
  6. Save the generated .txt file where it is accessible

export-whatsapp-chat

Execute the code

# Generic
python main.py --path <path-to-chat> --save_as <save-type>

# Example
python main.py --path theoffice.txt --keyword 'jello' --save_as pdf

Arguments

Argument Type Explanation
path Required Path to the .txt file exported from previous step
keyword Optional Keyword that needs to be searched in the chat and plotted w.r.t each contact in the chat
save_as Optional Format of the saved graphs. [pdf, png, jpg]

View the results

The results can be viewed in the results folder.

Example

results

analyzethechat's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.