摘要: 利用python对新闻进行分词,获取数据,存入数据库 import jieba txt = open("all2.csv", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键 阅读全文
posted @ 2021-10-05 22:10 小强哥in 阅读(28) 评论(0) 推荐(0) 编辑