摘要: api参考地址:https://github.com/fxsjy/jieba/blob/master/README.md 安装自行百度 基本用法: jieba.cut 方法接受三个输入参数: 需要分词的字符串;cut_all 参数用来控制是否采用全模式;HMM 参数用来控制是否使用 HMM 模型 j 阅读全文
posted @ 2017-12-28 12:23 botoo 阅读(985) 评论(0) 推荐(0) 编辑
摘要: 先放两张效果图: 还有这个: 是不是立马逼格满满~ 这里用到的是一个有趣的模块,叫wordcloud: github: https://github.com/amueller/word_cloud 官网: https://amueller.github.io/word_cloud/ *建议自行通过下 阅读全文
posted @ 2017-12-28 10:43 botoo 阅读(3207) 评论(2) 推荐(0) 编辑