amueller / word_cloud

A little word cloud generator in Python
https://amueller.github.io/word_cloud
MIT License
10.1k stars 2.31k forks source link

Word Cloud generated from Arabic letters is broken #723

Open damascene opened 1 year ago

damascene commented 1 year ago

Description

Word Cloud generated from Arabic letters is broken. Seems like a dependent package update that removed the need for - bidi.algorithm and arabic_reshaper

Steps/Code to Reproduce

Run the Arabic example in this repository https://github.com/amueller/word_cloud/blob/master/examples/arabic.py

Expected Results

image

Actual Results

The broken version

image

Versions

Python 3.8.10 (default, Mar 13 2023, 10:26:41) [GCC 9.4.0] NumPy 1.24.3 matplotlib 3.7.1 wordcoud 1.9.1.1