完成股吧数据分析项目:

1. 修复词云断句问题 - 添加英文单词过滤
2. 创建 Word2Vec + CNN 情绪感知模型
3. 创建情绪时间序列分析脚本(基于大连理工大学情感词典)
4. 添加停用词文件(1427个中英文停用词)
5. 更新 analyze.py 保存时间字段 post_publish_time
6. 更新 requirements.txt 添加必要依赖
This commit is contained in:
2026-05-28 15:30:16 +08:00
parent 5231e995dd
commit 0098977172
7 changed files with 2165 additions and 19 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ if __name__ == '__main__':
print(f'{"="*50}')
# 爬取10页数据
data = fetch_stock_posts(code, name, pages=10)
data = fetch_stock_posts(code, name, pages=30)
if data and data['total_posts'] > 0:
print(f'\n共获取 {data["total_posts"]} 条帖子')