Skip to main content
Log in

Analyzing influence of emotional tweets on user relationships using Naive Bayes and dependency parsing

  • Published:
World Wide Web Aims and scope Submit manuscript

Abstract

Twitter is one of the most popular social network services (SNS) applications, in which users can casually post their messages. Given that users can easily post what they feel, Twitter is widely used as a platform to express emotions. These emotional expressions are considered to possibly influence user relationships on Twitter. In our previous study, we analyzed this influence using emotional word dictionaries. However, we could not measure the emotion scores for the words not included in the dictionaries. To solve this problem, in this study, we use the Naive Bayes and consider dependency parsing, i.e., the structure of tweets and the relationships of words. Furthermore, we introduce a set of new measures, namely total positive emotion score (TPES), total negative emotion score (TNES), and total neutral emotion score (TNtES). Based on these measures, we define a new composite index (CI) for emotion scores, which is a normalized value in the range of 0 to 1. We categorize users into positive and negative groups based on the composite index and test the difference of user relationships between these two groups with a statistical method. The result demonstrates that the relationships of positive users not only get better (i.e., the number increases) with time, but also tends to be mutual, which is consistent with the result of our previous study.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Figure 1
Figure 2
Figure 3
Figure 4

Similar content being viewed by others

References

  1. Bouazizi, M., Ohtsuki, T.: Sentiment analysis: from binary to multi-class classification: a pattern-based approach for multi-class sentiment analysis in Twitter. In: 2016 IEEE International Conference on Communications, pp. 20617–20639 (2016)

  2. Cha, M., Haddai, H., Benevenuto, F., Gummadi, K.P.: Measuring user influence in twitter: the million follower fallacy. In: International AAAI Conference on Weblogs and Social Media, pp 10–17 (2010)

  3. Fujita, M., Watanabe, J., Kawamoto, K., Akitomi, T., Ara, K.: A method for analyzing influence of emotions of posts in SNS conversations. In: Proceedings of Social Intelligence and Technology, pp 20–27 (2013)

  4. Yahoo Japanese dependency parsing API. https://developer.yahoo.co.jp/webapi/jlp/da/v1/parse.html

  5. Java, A., Song, X., Finin, T., Tseng, B.: Why we twitter: understanding microblogging usage and communities. In: Proceedings of the 9th WebKDD and 1st SNA–KDD 2007 Workshop on Web Mining and Social Network Analysis, pp 56–65 (2007)

  6. Jianqiang, Z., Xiaolin, G., Feng, T.: A new method of identifying influential users in the micro-blog networks. IEEE Access 5, 3008–3015 (2017)

    Article  Google Scholar 

  7. Kanavos, A., Perikos, I.: Towards detecting emotional communities in Twitter. In: Proceedings of the International Conference on Research Challenges in Information Science, pp 524–525 (2015)

  8. Kwak, H., Lee, C., Park, H., Moon, S.: What is Twitter, a Social Network or a News Media?, Categories and Subject Descriptors. In: Proceedings of World Wide Web, pp 591–600 (2010)

  9. Kudo, T., Yamamoto, K., Matsumoto, Y.: Applying conditional random fields to japanese morphological analysis. In: Proceedings of the 2004 Conference on Empirical Methods in Natural Language Processing (EMNLP-2004), pp 230–237 (2004)

  10. Kumamoto, T.: Design of impression scales for assessing impressions of news articles, lecture notes in computer science, LNCS6193, pp 285–295. Springer, Berlin (2010)

    Google Scholar 

  11. Larsen, M.E., Boonstra, T.W., Batterham, P.J., O’Dea, B., Paris, C., Christensen, H.: We feel: mapping emotion on twitter. IEEE J. Biomed. Health Inform. 19(4), 1246–1252 (2015)

    Article  Google Scholar 

  12. Ozer, M., Kim, N., Davulcu, H.: Community detection in political Twitter networks using nonnegative matrix factorization methods. In: Proceedings of the 2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM 2016), pp 81–88 (2016)

  13. Natori, M.: Mann-whitney U test and two-sample tests to compare measures of central tendency in the case of unequal variances. Primate Res. 30(1), 173–185 (2014). (in Japanese)

    Article  Google Scholar 

  14. Neethu, M.S., Rajasree, R.: Sentiment analysis in twitter using machine learning techniques. In: Proceedings of Computing, Communications and Networking Technologies (ICCCNT), pp 1–5 (2013)

  15. Oliveiar, L., Figueira, A.: Visualization of sentiment spread on social networked content: learning analytics for integrated learning environments. In: Proceedings of IEEE Global Engineering Education Conference, EDUCON, pp 1290–1298 (2017)

  16. Papadopoulos, S., Kompatsiaris, Y., Vakali, A., Spyridonos, P.: Community detection in social media. Data Min. Knowl. Disc. 24(3), 515–554 (2011)

    Article  Google Scholar 

  17. Parikh, R., Movassate, M.: Sentiment Analysis of User-Generated Twitter Updates using Various Classification Techniques. Final Report CS225N, 1–18 (2009)

  18. Ramadhani, R.A., Indriani, F., Nugrahadi, D.T.: Comparison of Naive Bayes smoothing methods for Twitter sentiment analysis. In: 2016 International Conference on Advanced Computer Science and Information Systems, ICACSIS 2016, pp 287–292 (2017)

  19. R Development Core Team.: R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing, Vienna. http://cran.r-project.org/(2016)

  20. Ruan, X., Wilson, S., Mihalcea, R.: Finding optimists and pessimists on twitter. In: Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, pp 320–325 (2016)

  21. Servi, L., Elson, S.B.: A mathematical approach to gauging influence by identifying shifts in the emotions of social media users. Comput. Social Syst. 1(4), 180–190 (2014)

    Google Scholar 

  22. Silva, W., Santana, A., Lobato, F., Pinheiro, M.: A methodology for community detection in Twitter. In: Proceedings of the International Conference on Web Intelligence, pp 1006–1009 (2017)

  23. Tago, K., Jin, Q.: Influence Analysis of Emotional Behaviors to User Relationships Based on Twitter Data, Tsinghua Science and Technology. (in press) (2017)

  24. Tago, K., Jin, Q.: Analyzing influence of emotional tweets on user relationships by naive bayes classification and statistical tests. In: Proceedings of Service Oriented Computing and Apprications, pp 217–222 (2017)

  25. Tai, C.H., Tan, Z.H., Chang, Y.S.: Systematical approach for detecting the intention and intensity of feelings on social network. IEEE J. Biomed. Health Inform. 20(4), 987–995 (2016)

    Article  Google Scholar 

  26. Taketomi, A., Hisano, M.: Twitter users’ characteristics and their emotional expressions in the tweets, IEICE technical report. Natural Language Process. 219(1), 1–4 (2014). (in Japanese)

    Google Scholar 

  27. Tanaka, A., Takemura, H., Tajima, K.: Why you follow: a classification scheme for twitter follow links. In: Proceedings of the 25th ACM Conference on Hypertext and Social Media, pp 324–326 (2014)

  28. Wang, C., Xiao, Z., Liu, Y., Xu, Y., Zhou, A., Zhang, K.: Sentiview: sentiment analysis and visualization for internet popular topics. IEEE Trans. Human–Mach. Syst. 43(6), 620–630 (2013)

    Article  Google Scholar 

  29. Wikarsa, L., Thahir, S.N.: A text mining application of emotion classifications of Twitter’s users using Naive Bayes method. In: Proceeding of the 2015 1st International Conference on Wireless and Telematics, ICWT, pp. 1–6 (2015)

  30. Yamamoto, M., Tsuchiya, S., Kuroiwa, S., Ren, F.: Emotion classification for emotion corpus construction, IEICE technical report. Natural Language Understanding Model Commun. 107(158), 25–30 (2007). (in Japanese)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Qun Jin.

Additional information

This article belongs to the Topical Collection: Special Issue on Social Media and Interactive Technologies

Guest Editors: Timothy K. Shih, Lin Hui, Somchoke Ruengittinun, and Qing Li

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Tago, K., Takagi, K., Kasuya, S. et al. Analyzing influence of emotional tweets on user relationships using Naive Bayes and dependency parsing. World Wide Web 22, 1263–1278 (2019). https://doi.org/10.1007/s11280-018-0587-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11280-018-0587-9

Keywords

Navigation