pull/12/head
zj3D 9 months ago
parent 8545ada6c2
commit 856fdcc1e1

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