摘要: import jieba from collections import Counter 读取《红楼梦》文本 with open("hongloumeng.txt", "r", encoding="utf-8") as f: text = f.read() 使用jieba分词 words = jie 阅读全文
posted @ 2025-06-23 14:50 无聊了多少人 阅读(10) 评论(0) 推荐(0)