GithubHelp home page GithubHelp logo

chat-analyzer's Introduction

Chat Analyzer

Description

This program analyzes the given exported chat for:

  • What is the percentage contribution (in terms of number of messages) of a user in the chat
  • How active each user is in the chat
  • How many times each user has started a conversation in the chat
  • Has a user's (or the whole chat's) interaction increased or decreased

It also allows the user to add some constraints (Like generating results only for a particular user and/or generating results within a given time frame) and generate graphs for some actions.

If you want to run your own analysis, to avoid parsing the chatfile and extracting it's data yourself, the program can also export the chat data after converting it into a standard json format.

The program currently works for Whatsapp, Signal and Telegram chat exports. To know how to export chats from the supported platforms, checkout the steps here

How to Run

First install the required dependencies using the command:

pip install -r requirements.txt

Then you can run the program, by entering the src directory and then running the following command:

python chat_analyzer.py <options> <path_to_chatfile>

To know about the available options run the command:

python chat_analyzer --help

Testing

To test changes, enter the tests directory and run the following command:

pytest tests.py

Sample Plots

The program can provide various graphs of behavioral analytics upon request (wherever possible) For example:



chat-analyzer's People

Contributors

anitmangal avatar asaraf7 avatar dependabot[bot] avatar jravi2 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.