create wordcloud in python for foreign language (Hebrew)
问题 I want to create a wordcloud. When my string is in English, everything works fine: from wordcloud import WordCloud from matplotlib import pyplot as plt text="""Softrock 40 - close to the 6 MHz that the P6D requires (6.062 according) - https://groups.yahoo.com/neo/groups/softrock40/conversations/messages I want the USB model that has a controllable (not fixed) central frequency.""" wordcloud = WordCloud().generate(text) plt.imshow(wordcloud, interpolation='bilinear') plt.axis("off") plt.show()