gensim.models.LdaModel.get_topic_terms

LdaModel.get_topic_terms(topicid, topn=10)[source]

Return a list of (word_id, probability) 2-tuples for the most probable words in topic topicid.

Only return 2-tuples for the topn most probable words (ignore the rest).