摘要: import jieba xxx=open("熊出没.txt","r",encoding='utf-8').read() words=jieba.lcut(xxx) counts={} for word in words: if len(word)==1: continue else: counts[word]=counts.get(word,0)... 阅读全文
posted @ 2017-09-25 18:47 讲道理 阅读(161) 评论(0) 推荐(0) 编辑