dev
zj3D 8 months ago
parent 5099345721
commit 2d46194636

@ -29,6 +29,7 @@ def process_chunk(shared_chunks,word_count):
print(e)
break
@timing_decorator
def main():
# 创建一个Manager实例
@ -56,5 +57,6 @@ def main():
word_freqs = Counter(word_count).most_common(10)
print_word_freqs(word_freqs)
if __name__ == '__main__':
main()
Loading…
Cancel
Save