Sentiment Analysis from Text Using LSTM and BERT

Authors

  • Chintaginjala Rajeswari   M. Tech, Department of Computer Science and Engineering , VISWAM Engineering College , Madanapalle , Andhra Pradesh , India
  • Mr. P. Viswanatha Reddy  Associate Professor, Department of Computer Science and Engineering , VISWAM Engineering College , Madanapalle , Andhra Pradesh , India
  • Dr. R. Vasanthselvakumar  Professor, Department of Computer Science and Engineering , VISWAM Engineering College , Madanapalle , Andhra Pradesh , India

Keywords:

Deep learning, sentiment analysis, text, LSTM, BERT.

Abstract

As a result of increase in internet usage, there is a massive amount of information available to web users, as well as a massive amount of new information being created daily. To facilitate internet pick-up, trading ideas, and disseminating assessments, the internet has evolved into a stage of large volumes of data. Facebook, and Twitter generate a lot of data every day. As a result, text handling is crucial in making decisions. Sentiment analysis has surfaced as a method for analysing Twitter data. In this paper, we collected a Kaggle dataset with world data scientists. It contains three variants of texts: neutral, positive, negative. First, we used NLP methods to clean the text data. Later, we applied LSTM techniques for classifying tweets in three different ways: positive, negative sentiment analysis. As we didn't require the fair-minded so we dropped the objective and just remembered to be the good and gloomy inclination. We achieved a fair precision for the portrayal of positive and negative tweets. This dataset is for to research tests in assessment.

References

  1. P. S. Sreeja and G. S. Mahalakshmi, ‘‘Emotion recognition from poems by maximum posterior probability,’’ Int. J. Comput. Sci. Inf. Secur., vol. 14, pp. 36–43, 2016.
  2. J. Kaur and J. R. Saini, ‘‘Punjabi poetry classification: The test of 10 machine learning algorithms,’’ in Proc. 9th Int. Conf. Mach. Learn. Comput. (ICMLC), 2017, pp. 1–5.
  3. G. Mohanty and P. Mishra, ‘‘Sad or glad? Corpus creation for Odia poetry with sentiment polarity information,’’ in Proc. 19th Int. Conf. Comput. Linguistics Intell. Text Process. (CICLing), Hanoi, Vietnam, 2018.
  4. Y. Hou and A. Frank, ‘‘Analysing sentiment in classical Chinese poetry,’’ in Proc. 9th SIGHUM Workshop Lang. Technol. Cultural Heritage, Social Sci., Hum. (LaTeCH), 2015, pp. 15–24.
  5. A. Ghosh, G. Li, T. Veale, P. Rosso, E. Shutova, J. Barnden, and A. Reyes, ‘‘SemEval-2015 task 11: Sentiment analysis of figurative language in Twitter,’’ in Proc. 9th Int. Workshop Semantic Eval. (SemEval), 2015, pp. 470–478.
  6. G. Rakshit, A. Ghosh, P. Bhattacharyya, and G. Haffari, ‘‘Automated analysis of Bangla poetry for classification and poet identification,’’ in Proc. 12th Int. Conf. Natural Lang. Process., Dec. 2015, pp. 247–253.
  7. K. Bischoff, C. S. Firan, R. Paiu, W. Nejdl, C. Laurier, and M. Sordo, ‘‘Music mood and theme classification-a hybrid approach,’’ in Proc. ISMIR, Oct. 2009, pp. 657–662.
  8. O. Alsharif, D. Alshamaa, and N. Ghneim, ‘‘Emotion classification in Arabic poetry using machine learning,’’ Int. J. Comput. Appl., vol. 65, p. 16, May 2013.
  9. A. Zehe, M. Becker, F. Jannidis, and A. Hotho, ‘‘towards sentiment analysis on German literature,’’ in Proc. Joint German/Austrian Conf. Artif. Intell. Cham, Switzerland: Springer, 2017, pp. 387–394.
  10. L. Barros, P. Rodriguez, and A. Ortigosa, ‘‘Automatic classification of literature pieces by emotion detection: A study on Quevedo’s poetry,’’ in Proc. Humaine Assoc. Conf. Affect. Comput. Intell. Interact., Sep. 2013, pp. 141–146.

Downloads

Published

2023-08-30

Issue

Section

Research Articles

How to Cite

[1]
Chintaginjala Rajeswari , Mr. P. Viswanatha Reddy, Dr. R. Vasanthselvakumar, " Sentiment Analysis from Text Using LSTM and BERT" International Journal of Scientific Research in Computer Science, Engineering and Information Technology(IJSRCSEIT), ISSN : 2456-3307, Volume 9, Issue 4, pp.226-230, July-August-2023.