python瓦登尔湖词频统计 #瓦登尔湖词频统计: import string path = 'D:/python3/Walden.txt' with open(path,'r',encoding= 'utf-8') as text: words = [raw_word.strip(string.punctuation).lower() for raw_word in text.read().split()] words_index = set(words) counts_dict = {index:words.cou...
Files 70b1543 Sign in to see the full file tree. words.txt Latest commit Cannot retrieve latest commit at this time. History History File metadata and controls Code Blame 465 KB Raw View raw (Sorry about that, but we can’t show files that are this big right now.)...