摘要: sep=''',.?!":''' exclude={'the','and','of','to'} for c in sep: news=news.replace(c,' ') wordList=news.lower().split() wordDict={} wordSet=set(wordList)-exclude for w in wordSet: wordDict[w... 阅读全文
posted @ 2018-03-27 17:31 206梁荣臻 阅读(161) 评论(0) 推荐(0) 编辑