python WordCloud 實現詞雲

   簡單示例 from matplotlib import pyplot as plt from wordcloud import WordCloud filename = "text.txt" #文本路徑 with open(filename,encoding="utf-8") as f: data = f.read() font = r'C:\Windows\Fonts\F
相關文章
相關標籤/搜索