摘要: 1.jieba 库 -中文分词库 words = jieba.lcut(str) >列表,词语 count = {} for word in words: if len(word)==1: continue else: count[word] = count.get(word,0)+1 函数 jie 阅读全文
posted @ 2018-06-02 15:33 fight139 阅读(252) 评论(0) 推荐(0)