摘要: import jieba txt = open("D:\\浏览器下载\\西游记.txt","r",encoding = "utf-8").read() #打开文本 words = jieba.lcut(txt) #分词 counts = {} for word in words: if len(wo 阅读全文
posted @ 2020-11-15 10:42 减辞 阅读(39) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-15 10:01 减辞 阅读(18) 评论(0) 推荐(0)