Transform facebook messages to wordclouds (Python)

in #programming5 years ago

I made a python program that generates a wordcloud out of your facebook messages (examples below). Go to https://github.com/torsteoe/messenger-wordclouds for easy instructions on how to run the program. Please don't hesitate to contact me if you have any questions or comments regarding the script.

Short summary

  1. Download facebook message data from facebook.com
  2. Install requirements and run script

Examples of generated "random" wordclouds

Most frequent words

content.png

Messages per person

senders.png

Imported libraries: wordcloud, pillow, numpy, stop_words, multidict, json, random, os

I also recommend looking at the script that inspired me: https://github.com/mrgarrett45/songclouds, MrGarrett45 has written a script that generates wordclouds from lyrics.

Sort:  

Congratulations @torsteoe! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You distributed more than 50 upvotes. Your next target is to reach 100 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 58004.44
ETH 2579.54
USDT 1.00
SBD 2.40