摘要: #coding=utf--8 import jieba exclude={',','、','。','\u3000','\n','"',"《",'》','?'} txt=open('doupo.txt','r').read() wordList=list(jieba.cut(txt)) wordSet=set(wordList)-exclude wordDict={} for w in wordS... 阅读全文
posted @ 2018-03-27 22:53 160苏伟祥 阅读(92) 评论(0) 推荐(0)