摘要: 1.读入待分析的字符串 2.分解提取单词 3.计数字典 4.排除语法型词汇 5.排序 6.输出TOP(20) fo=open('test.txt','r')a=fo.read()fo.close() exc={'the','a','to','of','and','in','that','on','' 阅读全文
posted @ 2017-09-26 11:08 041覃楚君 阅读(141) 评论(0) 推荐(0)