Analysis of public opinion sentiment tendency of microblogging hot search based on Python

Xuelian Li
DOI: https://doi.org/10.1109/ICEACE60673.2023.10442231
2023-12-29
Abstract:With the development and progress of electronic technology, computer technology, Internet technology, software development technology and other technologies as well as supporting infrastructure construction, more and more new media are constantly appearing in front of people, and microblog is one of the new media. In order to help analyze the emotional tendency of microblog hot search public opinion, this paper proposes a method for analyzing the emotion of microblog hot search public opinion. The first step is to obtain the hot search data of microblog, that is, the data source, which is realized by using web crawler technology; The second step is emotional analysis. Using the Python mapping library (matplotlib) and the open source library related to natural language processing (textblob), the first six hot search items are counted for word frequency, and the histogram, word frequency ratio, pie chart, and word cloud chart are drawn. Finally, the emotional tendency analysis is carried out, and the six results are drawn in the graph according to the extracted values. After many tests and analysis, the system is simple to use, with high analysis accuracy, and can monitor the emotional trend of public opinion in microblog hot search in real time, thus helping to grasp the emotional trend of public opinion.
Computer Science
What problem does this paper attempt to address?