How to generate word clouds from LDA models in Python?

后端 未结 3 1236
再見小時候
再見小時候 2021-01-01 09:20

I am doing some topic modeling on newspaper articles, and have implemented LDA using gensim in Python3. Now I want to create a word cloud for each topic, using the top 20 wo

3条回答
  •  迷失自我
    2021-01-01 09:51

    is there any way to just save the top words for each topic ?

    Yes there is. jLDADMM outputs the top topical words for each topic. In version 1.0, only top topical words are written in the top-word output file, without their probabilities given the topic.

提交回复
热议问题