Article directory
1 Introduction
Weibo public opinion analysis and Weibo sentiment analysis visualization system based on Python. The backend of the project is composed of a crawler module, a data analysis module, a data storage module, and a business logic module.
Python public opinion analysis based on Weibo, sentiment analysis visualization system
"Weibo Public Opinion Analysis and Weibo Sentiment Analysis Visualization System Based on Python" This project contains source code, supporting development software, software installation tutorials, etc. The system has complete functions and is suitable for graduation project, course design, and database homework study.
Features include
-
sign up
-
User Management
-
Popular event display
-
Public opinion analysis, including public opinion analysis, sentiment classification, user distribution, keyword cloud chart, popular posts, and popular comment rankings
-
Personal information management
Data acquisition, filtering and storage were carried out successively, and the stored database data was extracted, analyzed and processed to obtain structured data that met the needs. The processed data was analyzed as needed to obtain relevant visual data and then provided the corresponding The interface is given to the front-end page and displayed on the front-end page of the project.
Django is used to build the entire project framework. The crawler module uses the requests official dependency library to obtain data, obtains structured json data according to the api interface exposed by Weibo, and then uses pandas to filter, process and analyze the data.
2 meaning
The Weibo public opinion analysis system will conduct overall intelligent operation through computers. There are many aspects to the management and data storage of the Weibo public opinion analysis system information. It provides users with an intelligent management information platform so that administrators can manage it anytime and anywhere. View the detailed information required by users and the statistical content of hot words, increase the relationship between the system and users, and perform systematic, standardized and effective data information management in a timely, accurate and effective manner.
3 Technology stack
technology stack | illustrate | Remark |
---|---|---|
Django | as backend interface | |
PyMySQL、Pandas | link mysql | [Python-Data Analysis] How to use pandas to quickly read MySQL data tables? |
snownlp | Sentiment analysis as sentiment score | Daily notes-snownlp sentiment analysis calculates sentiment scores |
beautifulsoup4 | Crawler, web interface analysis | |
urllib3、requests | network request | |
certifi | Network certificate | Python certifi: How to use SSL certificates in Python |
jieba | Keyword extraction | https://blog.csdn.net/FontThrone/article/details/72782499 |
Django
Django is one of the two most popular web frameworks in the Python community. With powerful scaffolding and many out-of-the-box components, building web applications with Django is fast and effortless.
4 renderings
Weibo home page
emotion analysis
Keyword analysis
Top Comments
Public opinion prediction
5 Recommended Reading
Weibo big data public opinion analysis visualization system based on Python