Sentiment Analysis Based on Transformer
The Sentiment Analysis about the boy and the heron
DOI:
https://doi.org/10.62051/ijcsit.v3n1.19Keywords:
Sentiment analysis, Transformer, Weibo, The Boy and the HeronAbstract
This article aims to explore the sentiment analysis of Transformer comments on Weibo to understand the attitudes and emotional tendencies of social media users regarding the movie The boy and the heron. This paper uses natural language processing technology and sentiment analysis model Transformer to crawl the Weibo comment data set, analyzes the anti-crawling mechanism of Weibo, adds HEADERS and REFERER directly in the code to bypass the inspection, and preprocesses it. Sentiment analysis was conducted on a large number of Weibo comments related to the boy and the heron. The results of the study showed that the vast majority of the comments expressed positive emotional attitudes and held positive and appreciative attitudes towards the boy and the heron. This study reveals that social media users have positive attitudes and emotional identification with the boy and the heron, and the audience really likes the film, which is of great help for the filmmakers to further understand the advantages and disadvantages of the film. Performing Weibo sentiment analysis based on advanced natural language processing technologies such as transformers can not only improve the accuracy and efficiency of sentiment analysis, but also help promote the progress and application of artificial intelligence technology. This is important for the development of more intelligent social media analysis tools and systems.
Downloads
References
Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT press, Cambridge.
Gambín, Á.F., Yazidi, A., Vasilakos, A., et al. (2024) Deepfakes: current and future trends. Artif Intell Rev 57, 64.
Wang, Y. & Yu, H. (2022) Research on Internet Corpus Collection Method. In: 2022 IEEE Conference on Telecommunications, Optics and Computer Science (TOCS), Dalian, pp. 61-67.
Voita, E., Talbot, D., Moiseev, F., et al. (2019) Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. arXiv preprint arXiv:1905.09418.
McAvaney, B.J., Covey, C., Joussaume, S., et al. (2001) Model evaluation. In Climate Change 2001: The scientific basis. Contribution of WG1 to the Third Assessment Report of the IPCC (TAR). Cambridge University Press, pp. 471-523.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.