Nikoloz Mamisashvili
Nikoloz Mamisashvili

Reputation: 99

Non-English Wordcloud in python 3

I am trying to create wordcloud in python 3 with wordcloud package library. The problem is that I get the rectangular images instead of words because I want to do it on Georgian words, not English. enter image description here

Does anyone know how to fix this problem? I wonder if something can be done with indicating Georgian fonts.

Thank you.

Upvotes: 2

Views: 174

Answers (1)

ch yas
ch yas

Reputation: 1

Here is what really helped me; first, check that font is installed on your computer. Then, add this to your wordcloud:

wordcloud = WordCloud(
    ***
    ,font_path='C:\\Windows\\Fonts\\***....ttf'' 
).generate(df)

Upvotes: 0

Related Questions