original_docstring: Print out top words for each topic in the LDA Model.
docstring: Print out top words for each topic in the LDA Model.
docstring_tokens: Print out top words for each topic in the LDA Model .
code: def print_lda_topics(self):
          """Print out top words for each topic in the LDA Model."""
          assert self.lda_model
  
          for idx, topic in self.lda_model.print_topics(-1):
              print("Topic: {} \nWords: {}".format(idx, topic))
code_tokens: def print_lda_topics ( self ) : assert self . lda_model for idx , topic in self . lda_model . print_topics ( - 1 ) : print ( "Topic: {} \nWords: {}" . format ( idx , topic ) )
short_docstring: Print out top words for each topic in the LDA Model.
short_docstring_tokens: Print out top words for each topic in the LDA Model .
comment: """Print out top words for each topic in the LDA Model."""