Skip to main content

A Method for Detecting and Analyzing the Sentiment of Tweets Containing Conditional Sentences

  • Conference paper
  • First Online:
Intelligent Information and Database Systems (ACIIDS 2019)

Abstract

Society is developing daily, and consequently, the population is more interested in public opinion. Surveys are frequently organized for detecting the attitude as well as the belief of the community in situations and their opinion about the measures or products. Users particularly express their feelings through comments posted on social networks, such as Twitter. Tweet sentiment analysis is a process that automatically detects personal information from the public emotion of the users about the events or products related to them from published tweets. Many studies have solved the sentiment analysis problem with high accuracy for the general tweets. However, these previous studies did not consider or dealt with low performance in case of tweets containing conditional sentences. In this study, we focus on solving the detection and sentiment analysis problem of a specific tweet type that includes conditional sentences. The results show that the proposed method achieves high performance in both the tasks.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://en.wikipedia.org/wiki/Twitter.

  2. 2.

    https://code.google.com/p/word2vec/.

  3. 3.

    http://nlp.stanford.edu/projects/glove/.

  4. 4.

    https://levyomer.wordpress.com/2014/04/25/dependency-based-word-embeddings/.

  5. 5.

    https://pypi.org/project/tweepy/.

  6. 6.

    https://pypi.org/project/emoji/.

  7. 7.

    https://pypi.org/project/aspell-python-py2/.

References

  1. Asghar, M.Z., Khan, A., Ahmad, S., Qasim, M., Khan, I.A.: Lexicon-enhanced sentiment analysis framework using rule-based classification scheme. PLoS One 12(2), e0171649 (2017)

    Article  Google Scholar 

  2. Asghar, M.Z., Kundi, F.M., Ahmad, S., Khan, A., Khan, F.: TSAF: Twitter sentiment analysis framework using a hybrid classification scheme. Expert Syst. 35(1) (2018). https://doi.org/10.1111/exsy.12233

    Article  Google Scholar 

  3. Bakliwal, A., Arora, P., Madhappan, S., Kapre, N., Singh, M., Varma, V.: Mining sentiments from tweets. In: Proceedings of the 3rd Workshop in Computational Approaches to Subjectivity and Sentiment Analysis, pp. 11–18 (2012)

    Google Scholar 

  4. Bird, S., Loper, E.: NLTK: the natural language toolkit. In: Proceedings of the ACL 2004 on Interactive Poster and Demonstration Sessions, p. 31. Association for Computational Linguistics (2004)

    Google Scholar 

  5. Bora, N.N.: Summarizing public opinions in tweets. Int. J. Comput. Linguist. Appl. 3(1), 41–55 (2012)

    Google Scholar 

  6. Dong, L., Wei, F., Tan, C., Tang, D., Zhou, M., Xu, K.: Adaptive recursive neural network for target-dependent Twitter sentiment classification. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Short Papers), vol. 2, pp. 49–54 (2014)

    Google Scholar 

  7. Ghiassi, M., Skinner, J., Zimbra, D.: Twitter brand sentiment analysis: a hybrid system using n-gram analysis and dynamic artificial neural network. Expert Syst. Appl. 40(16), 6266–6282 (2013). https://doi.org/10.1016/j.eswa.2013.05.057

    Article  Google Scholar 

  8. Gilbert, C.H.E.: VADER: a parsimonious rule-based model for sentiment analysis of social media text. In: Eighth International Conference on Weblogs and Social Media (ICWSM 2014) (2014). http://comp.social.gatech.edu/papers/icwsm14.vader.hutto.pdf. Accessed 20 April 2016

  9. Go, A., Bhayani, R., Huang, L.: Twitter sentiment classification using distant supervision. CS224N Project Report, Stanford 1(12) (2009)

    Google Scholar 

  10. Hornik, K., Stinchcombe, M., White, H.: Multilayer feedforward networks are universal approximators. Neural Netw. 2(5), 359–366 (1989)

    Article  Google Scholar 

  11. Hu, M., Liu, B.: Mining and summarizing customer reviews. In: Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 168–177. ACM (2004)

    Google Scholar 

  12. Kim, Y.: Convolutional neural networks for sentence classification. arXiv preprint arXiv:1408.5882 (2014)

  13. Klambauer, G., Unterthiner, T., Mayr, A., Hochreiter, S.: Self-normalizing neural networks. In: Advances in Neural Information Processing Systems, pp. 971–980 (2017)

    Google Scholar 

  14. Liu, B.: Sentiment analysis and opinion mining. Synth. Lect. Hum. Lang. Technol. 5(1), 1–167 (2012)

    Article  Google Scholar 

  15. Mohammad, S.M., Kiritchenko, S., Zhu, X.: NRC-Canada: building the state-of-the-art in sentiment analysis of tweets. arXiv preprint arXiv:1308.6242 (2013)

  16. Narayanan, R., Liu, B., Choudhary, A.: Sentiment analysis of conditional sentences. In: Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, vol. 1, pp. 180–189. Association for Computational Linguistics (2009)

    Google Scholar 

  17. Thakkar, H., Patel, D.: Approaches for sentiment analysis on Twitter: a state-of-art study. arXiv preprint arXiv:1512.01043 (2015)

  18. Zhang, L., Ghosh, R., Dekhil, M., Hsu, M., Liu, B.: Combining lexicon-based and learning-based methods for twitter sentiment analysis. HP Laboratories, Technical Report HPL-2011 89 (2011)

    Google Scholar 

Download references

Acknowledgment

This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Science, ICT & Future Planning (2017R1A2B4009410).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dosam Hwang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Phan, H.T., Nguyen, N.T., Tran, V.C., Hwang, D. (2019). A Method for Detecting and Analyzing the Sentiment of Tweets Containing Conditional Sentences. In: Nguyen, N., Gaol, F., Hong, TP., Trawiński, B. (eds) Intelligent Information and Database Systems. ACIIDS 2019. Lecture Notes in Computer Science(), vol 11431. Springer, Cham. https://doi.org/10.1007/978-3-030-14799-0_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-14799-0_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-14798-3

  • Online ISBN: 978-3-030-14799-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics