zj3D 8 months ago
parent 8545ada6c2
commit 856fdcc1e1

@ -25,6 +25,7 @@ def frequencies_(word_list):
def sort_(word_freq):
return word_freq.most_common()
if __name__ == '__main__':
word_freqs = sort_(frequencies_(extract_words_( testfilepath )))
print_word_freqs(word_freqs)
Loading…
Cancel
Save