Python3利用wordcloud實現詞雲

from wordcloud import WordCloud import matplotlib.pyplot as plt #注意這個是沒有後綴的 f = open('cloud', 'r').read() wordcloud = WordCloud(background_color="white", width=1000, height=860, margin=2).generate(f)
相關文章
相關標籤/搜索