Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modified files

  • Loading branch information...
commit c595cfa78cd3a8a28babc3fa59a9074fda57bb0c 1 parent d761954
@kykamath authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 hashtag_propagation_in_groups/mr_analysis.py
View
9 hashtag_propagation_in_groups/mr_analysis.py
@@ -141,10 +141,11 @@ def reducer(self, word, it_ltuo_hashtag_and_ltuo_occ_time_and_occ_location):
ltuo_hashtag_and_ltuo_occ_time_and_occ_location =\
list(chain(*it_ltuo_hashtag_and_ltuo_occ_time_and_occ_location))
hashtags = zip(*ltuo_hashtag_and_ltuo_occ_time_and_occ_location)[0]
- yield word, {
- 'word': word,
- 'ltuo_hashtag_and_ltuo_occ_time_and_occ_location': hashtags
- }
+ yield word, hashtags
+# yield word, {
+# 'word': word,
+# 'ltuo_hashtag_and_ltuo_occ_time_and_occ_location': hashtags
+# }
if __name__ == '__main__':
# HashtagsExtractor.run()
Please sign in to comment.
Something went wrong with that request. Please try again.