158c0b8cead806f718df8b98d618ef336647794b
1,中间件代码逻辑可以优化,以减少重复的 return 语句,并提高可读性 2,为了更好地调试和监控,建议为应用添加日志记录,捕获用户请求和错误
Weibo Public Opinion Analysis System
This project is a Social Network Public Opinion Analysis System designed for monitoring, analyzing, and predicting public opinion trends using data from social media platforms such as Weibo.
Keywords: Deep Learning, Web Scraping, Full-Stack Development, Natural Language Processing (NLP), Transformers, Flask, Sentiment Analysis, Topic Classification, Data Visualization, Real-time Monitoring, Machine Learning
Features
- Real-time Data Collection: Scrapes and processes data from social platforms.
- Data Cleaning & Processing: Cleans and processes collected data for analysis.
- Topic Classification: Categorizes posts and comments into relevant topics using machine learning.
- Sentiment Analysis: Detects emotional tone (positive, neutral, or negative) in text.
- Trend Prediction: Predicts future trends in public opinion based on historical data.
Installation & Setup
-
Install the necessary environment dependencies (optional):
conda install --file requirements.txt -
Configure your MySQL database:
- Run
createTables.sqlto set up the required tables. - Modify the MySQL configuration in the program accordingly.
- Run
-
Start the project with Flask:
python app.py
Description
Languages
Python
98.4%
Jupyter Notebook
1.3%
JavaScript
0.1%