摘要: import jieba f = open(聊斋.txt', "r", encoding='gbk') words = jieba.lcut(txt) counts = {} for word in words: if len(word) == 1: continue else: counts[wo 阅读全文
posted @ 2020-11-14 22:12 唯闻卿卿 阅读(32) 评论(0) 推荐(0) 编辑