read this file carefully
open config.py and set your setting such as input address
run program.py with python3.4 or higher
select your context (twitter or telegram or normal text or twitter exported data)
wait until the program finishes
tweet.js
file in next steptweet.js
in the data folder to the config file (in config.py/data_config
) 4
you can set font and mask in general_config file
enter a TTF font
mask image should be png or jpg
you don't need to specify file format! the program will guess it
if you use a third-party mask and its not black and white (greyscale for example) you can set NORMALIZE_MASK to True
normalize mask is a slow operation, it handles greyscale masks, if you use built-in masks you don't need it
if stop words didn't remove automatically, set STOP_WORD_CLEAN to "manual" in config.py
only if Persian words are reversed, make ARABIC_RESHAPER to True
line color and line width are for splitter line between text and whitespace, it may be good for some cases
max words and min font and max font are 3 numbers, change them with caution, if the min font is too low or max words is high, the whole operation will take much time if the max font is not so big, the cloud is ugly
You can also install requirements using requirements.txt
and pip
:
pip3 install -r requirements.txt
Mohammadreza Alihoseiny for developing wordcloud-fa and writing this blog post
amueller for developing wordcloud package
Ali Yoonesi for good advice and troubleshoots
Radin Shayanfar for pull requests and bug fixes
SQLAlchemy Admin for Starlette/FastAPI
Computer vision and Deep learning
PyBotNet framework, high level remote control
A toolkit full of handy functions including most used models and utilities for deep-learning practitioners!
a simple blog and otp Authentication with django rest framework
Classify Git commits with deep learning
Programmer Farsi - A bot that brings tweets about programming to your feed.
An anthology of a variety of tools for the Persian language in Python