diff --git a/工程化/类型申明/tf-24.py b/工程化/类型申明/tf-24.py index c70f62e..1c060bb 100644 --- a/工程化/类型申明/tf-24.py +++ b/工程化/类型申明/tf-24.py @@ -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) \ No newline at end of file