uses the WordCloud lib to make a word cloud image, scaling the words in proportion to their scores (they are placed randomly).for each word w and the user u for which the cloud is, compute p(w|u)/p(w), this quantifies how much u favors w compared to everyone else. ![]() for each word w and user u, compute p(w|u), the probability of u writing w (this data is separated between servers).Here's a step by step of how the bot makes a wordcloud: emojis to get the custom emojis usage of the server.cloud to generate your word cloud, you can also tag someone in the command to generate their word cloud.load (days) use this to load messages up to x days on your server.If you got any questions about this project, feel free to DM Inspi#8989 on Discord. add a token.txt file at the root of the projectÄocker run -e TOKEN=TOKEN_FROM_ABOVE_GOES_HERE mrhazel/discord-word-cloud.consult this guide if you need help with pip.use python -m pip install -r requirements.txt at the root of the project.Install the requirements listed in requirements.txt with pip. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |