gensim.models.LsiModel.show_topics

LsiModel.show_topics(num_topics=-1, num_words=10, log=False, formatted=True)[source]

Return num_topics most significant topics (return all by default). For each topic, show num_words most significant words (10 words by default).

The topics are returned as a list – a list of strings if formatted is True, or a list of (word, probability) 2-tuples if False.

If log is True, also output this result to log.