Skip to main content

Allows you to make wordclouds for your Whatsapp Chats

Project description

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatclouds-0.0.5.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

chatclouds-0.0.5-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page