Generates a word cloud image from a text file and a mask picture.
1. Clone this repository to your local machine using either SSH or HTTPS:
- `[email protected]:ggangliu/word_cloud_for_wechart_record.git`
- `https://github.com/ggangliu/word_cloud_for_wechart_record.git`
2. Run `python generate_wordcloud.py`.
3. Inform the following files paths as requested:
- `Text file`
- `Mask picture(optional)`
- `Background picture (optional)`
- `Font path (Required only on Windows)`
4. Run `python convert_to_exe.py`, can be create an exe file called `generate_wordcloud.exe`,
and it will be saved to the `dist` direct ory.
The output file will be saved to the same directory as the script and will be called wordcloud.png
.