摘要: 为更好地揣摩大众股民的心理及情感,提出一种基于网络论坛的股市分析方法。根据python实现相应的网络爬虫,利用该爬虫获取网络论坛中的所有帖子,对每日新帖子的数量进行统计分析,针对每个帖子中的文本内容设计分析工具,以进行情感分析,并将这些情感结果进行统计。实验结果表明,通过对比同一时期内的中国股市走势图,该方法能对其进行较为准确的分析。
关键词:
网络爬虫,
股市分析,
情感分析,
网络论坛
Abstract: In order to figure out the emotion of the public shareholders, this paper proposes an Internet-forum-based stock market analysis method. A python-based Web crawler is implemented. All posts on the Internet forum are downloaded using this crawler, and analyzes the number of new posts daily. The sentimental analysis tool is also designed to judge the posts’ sentiment, and the final result is counted. Experimental results show that by comparing Chinese stock’s movement in the same period, it can be found that these methods can be used in relatively accurate analysis.
Key words:
Internet crawler,
stock market analysis,
sentiment analysis,
Internet forum
中图分类号:
吴晶, 陈仪香, 刘道明. 基于网络论坛的股市分析方法[J]. 计算机工程, 2012, 38(13): 254-256,259.
TUN Jing, CHEN Yi-Xiang, LIU Dao-Meng. Internet-forum-based Stock Market Analysis Method[J]. Computer Engineering, 2012, 38(13): 254-256,259.