🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

chatclouds

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatclouds

Allows you to make wordclouds for your Whatsapp Chats

0.0.5
PyPI
Maintainers
1

Overview:

Chatclouds is a wordcloud library which allows you to create and save a wordcloud of your whatsapp chats. The library uses wordcloud library to generate images. The preprocessing of the text from the txt files are already taken care of. The only thing you need to do is to extract your chat from WhatsApp and then using that file in your python code.

Importing chatclouds:

import chatclouds

Functions:

  • show() Code:

    from chatclouds import show show(filename)

    filename needs to be the name/ path of txt file containing your WhatsApp Chat.

    What it does: show() function returns an image of the WordCloud that has been formed from the chat after preprocessing the text and removing all the stopwords.

  • save() Code:

    from chatclouds import save save(filename)

    filename needs to be the name/ path of txt file containing your WhatsApp Chat.

    What it does: show() function saves a .png image of the WordCloud that has been formed from the chat after preprocessing the text and removing all the stopwords.

  • plot_time() Code:

    from chatclouds import common plot_time(filename)

    filename needs to be the name/ path of txt file containing your WhatsApp Chat.

    What it does: plot_time() function plots and shows a bar plot of number of messages on the y axis and 1 hour time slots on x axis.

  • common() Code:

    from chatclouds import common common(filename)

    filename needs to be the name/ path of txt file containing your WhatsApp Chat.

    What it does: common() function prints the 20 most frequently used word in the chat between two people.

Change Log

===========

0.0.4 (23/11/2020)

  • Fourth Release

0.0.5 (24/11/2020)

  • Fifth Release

Keywords

wordcloud

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts