2017年9月26日
摘要: 1.读入待分析的字符串 2.分解提取单词 3.计数字典 4.排除语法型词汇 5.排序 6.输出TOP(20) fo=open('xiaoliang.txt','r') song=fo.read() exc={'the','a','to','of','and','in','that','on',''} 阅读全文
posted @ 2017-09-26 21:22 学徒小梁 阅读(148) 评论(0) 推荐(0)