ddangelov / Top2Vec

Top2Vec learns jointly embedded topic, document and word vectors.
BSD 3-Clause "New" or "Revised" License
2.96k stars 374 forks source link

Persian language not working in word clouds plot #268

Open majidebraa opened 2 years ago

majidebraa commented 2 years ago

Hello. when using word clouds with a dataset in the Persian language get this picture from the plot:

myplot

jessicajhassibi commented 2 years ago

Same for arabic, I believe. I have a multilingual dataset. Bildschirmfoto 2022-06-12 um 15 28 42

ddangelov commented 2 years ago

You need a custom font that can be specified with font_path more details here: https://amueller.github.io/word_cloud/generated/wordcloud.WordCloud.html#wordcloud.WordCloud

I should add the option.