摘要:
import jieba txt = open("西游记.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键值对的形式存储词语及其出现的次数 for word in 阅读全文
posted @ 2020-11-15 11:21
派大星特烦
阅读(102)
评论(0)
推荐(0)
摘要:
import jieba excludes = {"什么","一个","我们","那里","你们","如今","说道","知道","起来","姑娘","这里","出来","他们","众人","自己", "一面","只见","怎么",&quo 阅读全文
posted @ 2020-11-15 11:03
派大星特烦
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号