摘要:
import jieba f = open(r'C:\liaozhai.txt', mode="r", encoding='gbk') txt=f.read() words = jieba.lcut(txt) counts = {} for word in words: if len(word) = 阅读全文
posted @ 2020-11-15 11:59
汤圆喵喵
阅读(28)
评论(0)
推荐(0)
摘要:
import io import jieba txt = io.open("liaozhai.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) counts = {} for word in words: if len(word) 阅读全文
posted @ 2020-11-15 10:19
汤圆喵喵
阅读(29)
评论(0)
推荐(0)
浙公网安备 33010602011771号