From 856fdcc1e14082fba9f0945031a44b26a1a5d636 Mon Sep 17 00:00:00 2001 From: zj3D Date: Thu, 14 Mar 2024 22:36:00 +0800 Subject: [PATCH] 1 --- 工程化/类型申明/tf-24.py | 1 + 1 file changed, 1 insertion(+) 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