宿州学院学报2024,Vol.39Issue(12):18-23,6.DOI:10.3969/j.issn.1673-2006.2024.12.004
基于Python的景点数据可视化与评论情感分析
Scenic Spot Data Visualization and Comment Sentiment Analysis Based on Python
摘要
Abstract
With the rapid development of China's tourism and the Internet,more and more tourists use tourism web-sites to inquire about scenic spot information and purchase tickets.The information about scenic spots on the website and users'online comments play an important role in tourists' search for tourism information.The python crawler technology is used to crawl the relevant information of scenic spots in 34 provinces and the online comment data of 10 scenic spots on the Lvmama Tourism website.Taking the crawled data as the object of this analysis,the key infor-mation such as the area of scenic spots,starting price,star rating,rating and tourist comments are visually analyzed.At the same time,TextCNN,LSTM and TextCNN-LSTM emotion analysis models are used to make emotion analysis on tourists'comment data,and the three models are analyzed and compared from two evaluation indicators,namely Accuracy and LOSS.On the whole,TextCNN-LSTM model performs better than other models.关键词
景点/旅游/数据爬取/可视化/情感分析Key words
Scenic spots/Travel/Data crawling/Visualization/Emotion analysis分类
信息技术与安全科学引用本文复制引用
何珊珊,冯莹莹..基于Python的景点数据可视化与评论情感分析[J].宿州学院学报,2024,39(12):18-23,6.基金项目
安徽省质量工程教学团队项目(2021jxtd215) (2021jxtd215)
安徽省自然科学研究项目(KJ2020A12165) (KJ2020A12165)
安徽省教学示范课项目(2020SJJXSFK19175). (2020SJJXSFK19175)