Deployment of Sentiment Analysis of Tweets Using Various Classifiers

  • Conference paper
  • First Online:
Proceedings of International Conference on Deep Learning, Computing and Intelligence

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1396))

  • 595 Accesses

Abstract

Twitter is a social media forum that permits individuals to share and express their perspectives regarding the matter and post messages. A great deal of examination has been done on the sentiment analysis of Twitter data. Our proposed methodology aims to incorporate the techniques of sentimental analysis, assessing the polarity of the tweets, and improving the accuracy of the model. This paper includes classifying of tweets into sentiments: positive and negative. For this paper, we have used different data preprocessing techniques for cleaning up the data by eliminating stop word, slangs, emoticons, and hashtags. To build the productivity and the precision of the model, we have used term frequency inverse data frequency, count vectorizer, stemming, and N-gram features. Several techniques have been used currently for sentiment analysis which is discussed in brief in this paper. Out of which, we have used supervised learning approach and compared different algorithms such as Naive Bayes, support vector machines, linear regression, decision tree, XGBoost, and random forest.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. V.K. Jain, S. Kumar, S.L. Fernandes, Extraction of emotions from multilingual text using intelligent text processing and computational linguistics. J. Comput. Sci. 21, 316–326 (2017)

    Article  Google Scholar 

  2. M. Desai, M. Mehta, Techniques for sentiment analysis of Twitter data: a comprehensive survey, in 2016 International Conference on Computing, Communication and Automation (ICCCA) (IEEE, Noida, India, 2016), pp. 149–154

    Google Scholar 

  3. T. Singh, M Kumari, Role of text pre-processing in twitter sentiment analysis. in 12th International Conference on Communication Networks, ICCN 2016, 12th International Conference on Data Mining and Warehousing, ICDMW 2016 and 12th International Conference on Image and Signal Processing, ICISP 2016 (Procedia Computer Science, vol. 89, Bangalore; India, 2016), pp. 549–554

    Google Scholar 

  4. G.R. Nitta, B.Y. Rao, T. Sravani, N. Ramakrishiah, M. Balaanand, LASSO-based feature selection and naïve Bayes classifier for crime prediction and its type. SOCA 13(3), 187–197 (2019). https://doi.org/10.1007/s11761-018-0251-3

    Article  Google Scholar 

  5. D. Vu, T. Nguyen, T.V. Nguyen, T.N. Nguyen, F. Massacci, P.H. Phung, A convolutional transformation network for malware classification, in 2019 6th NAFOSTED Conference on Information and Computer Science (NICS) (Hanoi, Vietnam, 2019), pp. 234–239. https://doi.org/10.1109/NICS48868.2019.9023876

  6. P. Barnaghi, P. Ghaffari, J.G. Breslin, Opinion mining and sentiment polarity on twitter and correlation between events and sentiment, in Proceedings - 2016 IEEE 2nd International Conference on Big Data Computing Service and Applications, BigDataService 2016, art. no. 7474355 (IEEE, Oxford, 2016), pp. 52–57

    Google Scholar 

  7. Z. Jianqiang, G. **aolin, Z. Xuejun, Deep convolution neural networks for twitter sentiment analysis. IEEE Access 6, 23253–23260 (2018)

    Article  Google Scholar 

  8. S.M. Nagarajan, U.D. Gandhi, Classifying streaming of Twitter data based on sentiment analysis using hybridization. Neural Comput. Appl. 31(5), 1425–1433 (2019)

    Article  Google Scholar 

  9. A. Goel, J. Gautam, S. Kumar, Real time sentiment analysis of tweets using Naive Bayes, in Proceedings on 2016 2nd International Conference on Next Generation Computing Technologies, NGCT 2016, art. no. 7877424 (IEEE, Dehradun, India, 2017), pp. 257–261

    Google Scholar 

  10. M. Bilal, H. Israr, M. Shahid, A. Khan, Sentiment classification of Roman-Urdu opinions using Naïve Bayesian, Decision Tree and KNN classification techniques. J. King Saud Univ. Comput. Inf. Sci. 28(3), 330–344 (2016)

    Google Scholar 

  11. A. Alsaeedi, M. Khan, A study on sentiment analysis techniques of twitter data. Int. J. Adv. Comput. Sci. Appl. 10, 361–374 (2019)

    Google Scholar 

  12. A. Mittal, S. Patidar, Sentiment analysis on twitter data: a survey, in Proceedings of the 2019 7th International Conference on Computer and Communications Management (ICCCM 2019) (Association for Computing Machinery, New York, NY, USA, 2019), pp. 91–95

    Google Scholar 

  13. V.A. Kharde, S.S. Sonawane, Sentiment analysis of twitter data: a survey of techniques. Int. J. Comput. Appl. 139(11), 0975–8887 (2016)

    Google Scholar 

  14. J.K. Rout, K.-K.R. Choo, A.K. Dash, S. Bakshi, S.K. Jena, K.L. Williams, A model for sentiment and emotion analysis of unstructured social media text. Electron. Commer. Res. 18(1), 181–199 (2018)

    Article  Google Scholar 

  15. S. Symeonidis, D. Effrosynidis, A. Arampatzis, A comparative evaluation of pre-processing techniques and their interactions for twitter sentiment analysis. Expert Syst. Appl. 110, 298–310 (2018)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Brijpuriya, S., Rajalakshmi, M. (2022). Deployment of Sentiment Analysis of Tweets Using Various Classifiers. In: Manogaran, G., Shanthini, A., Vadivu, G. (eds) Proceedings of International Conference on Deep Learning, Computing and Intelligence. Advances in Intelligent Systems and Computing, vol 1396. Springer, Singapore. https://doi.org/10.1007/978-981-16-5652-1_14

Download citation

Publish with us

Policies and ethics

Navigation