How to create a word cloud from a corpus in Python?

后端 未结 5 1683
刺人心
刺人心 2020-12-04 09:57

From Creating a subset of words from a corpus in R, the answerer can easily convert a term-document matrix into a word cloud easily.

Is there a similar

5条回答
  •  孤街浪徒
    2020-12-04 10:47

    Here's a blog post which does just that: http://peekaboo-vision.blogspot.com/2012/11/a-wordcloud-in-python.html

    The whole code is here: https://github.com/amueller/word_cloud

提交回复
热议问题