使用python進行簡單的分詞與詞雲

目標: 導入一個文本文件 使用jieba對文本進行分詞 使用wordcloud包繪製詞雲 環境: Python 3.6.0 |Anaconda 4.3.1 (64-bit)html 工具: jupyter notebookpython 從網上下載了一篇小說《老九門》,如下對這篇小說進行分詞,並繪製詞雲圖。git 分詞使用最流行的分詞包jieba,參考:https://github.com/fxsj
相關文章
相關標籤/搜索