Skip to content

Commit

Permalink
requirements updated and doctest fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sina.bock@stud-mail.uni-wuerzburg.de committed Jul 12, 2017
1 parent d0aeb08 commit 480a897
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions dariah_topics/mallet.py
Expand Up @@ -96,8 +96,7 @@ def create_mallet_binary(path_to_mallet='mallet', path_to_file=False,
Example:
>>> outfolder = "tutorial_supplementals/mallet_output"
>>> binary = "tutorial_supplementals/mallet_output/binary.mallet"
>>> mallet_binary = mallet.create_mallet_binary(path_to_corpus="corpus_txt",
output_file=binary)
>>> mallet_binary = mallet.create_mallet_binary(path_to_corpus="corpus_txt",output_file=binary)
'tutorial_supplementals/mallet_output/binary.mallet'
"""
if system() == 'Windows':
Expand Down Expand Up @@ -274,10 +273,7 @@ def create_mallet_model(path_to_mallet='mallet', path_to_binary=None, input_mode
Example:
>>> outfolder = "tutorial_supplementals/mallet_output"
>>> binary = "tutorial_supplementals/mallet_output/binary.mallet"
>>> mallet.create_mallet_model(path_to_binary=binary,
folder_for_output=outfolder,
num_iterations=5,
num_topics=10)
>>> mallet.create_mallet_model(path_to_binary=binary, folder_for_output=outfolder, num_iterations=5,num_topics=10)
>>> os.path.isfile('tutorial_supplementals/mallet_output/binary.mallet')
True
"""
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -31,8 +31,8 @@
'flask>=0.11.1'
],
'vis': [
'wordcloud>=1.3.1',
'pyLDAvis>=2.0.0', # to feature 'pyldavis'
#'wordcloud>=1.3.1',
#'pyLDAvis>=2.0.0', # to feature 'pyldavis'
],
'evaluation': [
'wikipedia>=1.4.0',
Expand Down

0 comments on commit 480a897

Please sign in to comment.