会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
简笺
博客园
首页
新随笔
联系
管理
订阅
2019年4月3日
jieba库及词频统计
摘要: 1 import jieba 2 txt = open("C:\\Users\\Administrator\\Desktop\\流浪地球.txt", "r", encoding='utf-8').read() 3 words = jieba.lcut(txt) 4 counts = {} 5 for
阅读全文
posted @ 2019-04-03 23:14 简笺
阅读(603)
评论(0)
推荐(0)
公告