Using gensim I was able to extract topics from a set of documents in LSA but how do I access the topics generated from the LDA models?
gensim
When printing the
Recently, came across a similar issue while working with Python 3 and Gensim 2.3.0. print_topics() and show_topics() weren't giving any error but also not printing anything. Turns out that show_topics() returns a list. So one can simply do:
print_topics()
show_topics()
topic_list = show_topics() print(topic_list)