Skip to content
Snippets Groups Projects
Commit c71f4d83 authored by Janos Bekesi's avatar Janos Bekesi
Browse files

still not there yet...

parent 166dfd83
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,7 @@ def format_topics_sentences(ldamodel=None, corpus=None, texts=None):
contents = pd.Series(texts)
sent_topics_df = pd.concat([sent_topics_df, contents], axis=1)
sent_topics_df = sent_topics_df['Dominant_Topic'].fillna(0).apply(lambda x: str(int(x)))
return sent_topics_df
return(sent_topics_df)
def convertldaGenToldaMallet(mallet_model):
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment