![5da7d886-f918-eb11-8da9-e4434bdf6706.png](http://p03.5ceimg.com/content/5da7d886-f918-eb11-8da9-e4434bdf6706.png)
系统分析:
高校舆情分析拟实现如下功能,采集微博、贴吧、学校官网的舆情信息,对这些舆情进行数据分析、情感分析,提取关键词,生成词云分析,情感分析图,实时监测舆情动态。
系统设计:
前端:采用layui+echarts实现图表的展示,数据分析的结果
后端:采用requests实现数据的采集,利用flask+mysql搭建web网站框架,利用机器学习的中文分词、情感分析等技术生成词云分析、关键词提取、情感分析等功能
系统难点:采集微博、贴吧的数据,利用机器学习的知识生成词云分析、情感分析
系统实现如下
数据采集模块:
![5ea7d886-f918-eb11-8da9-e4434bdf6706.png](http://p04.5ceimg.com/content/5ea7d886-f918-eb11-8da9-e4434bdf6706.png)
采集到的数据如下图所示
微博信息
![60a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p04.5ceimg.com/content/60a7d886-f918-eb11-8da9-e4434bdf6706.png)
微博帖子信息
![62a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p04.5ceimg.com/content/62a7d886-f918-eb11-8da9-e4434bdf6706.png)
微博评论信息
贴吧信息
![64a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p05.5ceimg.com/content/64a7d886-f918-eb11-8da9-e4434bdf6706.png)
贴吧帖子
![66a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p01.5ceimg.com/content/66a7d886-f918-eb11-8da9-e4434bdf6706.png)
帖子回复信息
学校官网信息
![67a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p03.5ceimg.com/content/67a7d886-f918-eb11-8da9-e4434bdf6706.png)
利用这些信息,我们可以进行关键词提取,生成词云图
![68a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p02.5ceimg.com/content/68a7d886-f918-eb11-8da9-e4434bdf6706.png)
也可以利用这些信息构建我们的舆情分析系统,如下图所示
![6aa7d886-f918-eb11-8da9-e4434bdf6706.png](http://p01.5ceimg.com/content/6aa7d886-f918-eb11-8da9-e4434bdf6706.png)
![6da7d886-f918-eb11-8da9-e4434bdf6706.png](http://p03.5ceimg.com/content/6da7d886-f918-eb11-8da9-e4434bdf6706.png)
![6fa7d886-f918-eb11-8da9-e4434bdf6706.png](http://p05.5ceimg.com/content/6fa7d886-f918-eb11-8da9-e4434bdf6706.png)
![71a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p05.5ceimg.com/content/71a7d886-f918-eb11-8da9-e4434bdf6706.png)
![72a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p04.5ceimg.com/content/72a7d886-f918-eb11-8da9-e4434bdf6706.png)
![77a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p01.5ceimg.com/content/77a7d886-f918-eb11-8da9-e4434bdf6706.png)
情感分析
![79a7d886-f918-eb11-8da9-e4434bdf6706.png](http://p03.5ceimg.com/content/79a7d886-f918-eb11-8da9-e4434bdf6706.png)
微博舆情分析
![7ba7d886-f918-eb11-8da9-e4434bdf6706.png](http://p03.5ceimg.com/content/7ba7d886-f918-eb11-8da9-e4434bdf6706.png)
热门微博列表
![7ca7d886-f918-eb11-8da9-e4434bdf6706.png](http://p01.5ceimg.com/content/7ca7d886-f918-eb11-8da9-e4434bdf6706.png)
本文首发于https://www.bizhibihui.com/blog/article/42