摘要: import jieba# 读取文本文件path = "红楼梦.txt"file = open(path, "r", encoding="GB2312",errors="ignore")text = file.read()file.close()# 使用jieba分词words = jieba.lc 阅读全文
posted @ 2023-12-21 21:37 Antea 阅读(26) 评论(0) 推荐(0)