Skip to content

Commit

Permalink
Update mallet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Feb 21, 2017
1 parent e2f1cb9 commit 3e8becf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dariah_topics/mallet.py
Expand Up @@ -284,9 +284,7 @@ def show_docTopicMatrix(output_folder, docTopicsFile = "doc_topics.txt"):
index=shortened_docnames[0:],
columns=topicLabels[0:])

docTopicMatrix = docTopicMatrix.transpose()

return docTopicMatrix
return docTopicMatrix.T

def show_topics_keys(output_folder, topicsKeyFile = "topic_keys.txt", topic_num=10, num_top_words=10):

Expand Down

0 comments on commit 3e8becf

Please sign in to comment.