Skip to content

Commit

Permalink
addressing issue #35
Browse files Browse the repository at this point in the history
  • Loading branch information
anwala committed Aug 1, 2024
1 parent 1b3daae commit d43a5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sumgram/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.3'
__version__ = '1.0.4'
1 change: 1 addition & 0 deletions sumgram/sumgram.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,7 @@ def get_top_sumgrams(doc_dct_lst, n=2, params=None):
#measure to avoid re-using previous state of params when get_top_sumgrams is called multiple times from a script
params = copy.deepcopy(params)

doc_dct_lst = copy.deepcopy(doc_dct_lst)
report = {}
if( len(doc_dct_lst) == 0 ):
return report
Expand Down

0 comments on commit d43a5c5

Please sign in to comment.