An Optimized Approach for Emotion Detection in Real- Time for Twitter Sentiment Analysis with Natural Language Processing

Authors

  • Sangeeta Devi Department of Computer Science, DDUGU, Gorakhpur, Uttar Pradesh, India
  • Munish Saran Department of Computer Science, DDUGU, Gorakhpur, Uttar Pradesh, India
  • Rajan Kumar Yadav Department of Computer Science, DDUGU, Gorakhpur, Uttar Pradesh, India
  • Pranjal Maurya Department of Computer Science, DDUGU, Gorakhpur, Uttar Pradesh, India
  • Upendra Nath Tripathi Department of Computer Science, DDUGU, Gorakhpur, Uttar Pradesh, India

Keywords:

Twitter Sentiments, Emotion Classification, Deep Learning Techniques, Long Short Term Memory, Recurrent Neural Networks

Abstract

The automated method of identifying and deciphering the emotions expressed in written text is called sentiment analysis (SA). In the last ten years, SA has become incredibly popular in the NLP (Natural Language Processing) domain. Web-based social networking websites have become a powerful tool for influencing user perceptions and how businesses are marketed. People's opinions are very important when analyzing the effects of information propagation on people's lives in a large-scale network such as Twitter. The polarity and predisposition of a large population towards a particular topic, item, or entity can be determined by data analysis of the tweets. These days, it's easy to see how such analysis is applied in a variety of contexts, including public elections, movie marketing, brand endorsements, and many more. We will build a program that examines the content of tweets on a specific subject in this project. The main goal is to present an approach for polarity score analysis in Twitter streams with noise.

We suggest an emotive categorization of a large number of tweets in this paper. Here, we categorize an expression's sentiments into positive and negative emotions using deep learning approaches. Motivation, fun, happiness, affection, neutral, relief, and surprise are other categories for positive feelings, while anger, boredom, emptiness, hatred, sadness, and worry are categories for negative emotions. We demonstrated how to attain high emotion classification accuracy by experimenting with and evaluating the approach using recurrent neural networks and long-term short-term memory on three distinct datasets. Based on a comprehensive evaluation, the system achieves 88.47% accuracy for positive/negative classifications and 89.3% and 93.3% accuracy for both positive and negative subclasses, respectively, for emotion prediction using the LSTM model.

References

N. Yadav, O. Kudale, S. Gupta, A. Rao, and A. Shitole, “Twitter sentiment analysis using machine learning for product evaluation,” in 2020 International Conference on Inventive Computation Technologies (ICICT), pp. 181–185, IEEE, 2020. Available from: https://doi.org/10.1109/ICICT48043.2020.9112381

D. Ramachandran and R. Parvathi, “Analysis of twitter specific preprocessing technique for tweets,” Procedia Computer Science, vol. 165, pp. 245–251, 2019. Available from: https://doi.org/10.1016/j.procs.2020.01.083

A. Sungheetha and R. Sharma, “Transcapsule model for sentiment classification,” Journal of Artificial Intelligence, vol. 2, no. 03, pp. 163–169, 2020. Available from: http://dx.doi.org/10.36548/jaicn.2020.3.003

S. Hochreiter, “The vanishing gradient problem during learning recurrent neural nets and problem solutions,” International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems, vol. 6, no. 02, pp. 107–116, 1998. Available from: https://doi.org/10.1142/S0218488598000094

N. F. Alshammari an A. A. AlMansour, “State-of-the-art review on twitter sentiment analysis,” in 2019 2nd International Conference on Computer Applications & Information Security (ICCAIS), pp. 1–8, IEEE, 2019. Available from: https://doi.org/10.1109/CAIS.2019.8769465

S. Niklander and G. Niklander, “Combining sentimental and content analysis for recognizing and interpreting human affects,” in International Conference on Human-Computer Interaction, pp. 465–468, Springer, 2017. Available from: https://doi.org/10.1007/978-3-319-58750-9_64

L. M. Rojas-Barahona, “Deep learning for sentiment analysis,” Language and Linguistics Compass, vol. 10, no. 12, pp. 701–719, 2016. Available from: https://doi.org/10.1007/s10462-023-10651-9

A. Severyn and A. Moschitti, “Unitn: Training deep convolutional neural network for twitter sentiment classification,” in Proceedings of the 9th international workshop on semantic evaluation (SemEval 2015), pp. 464–469, 2015. Available from: http://dx.doi.org/10.18653/v1/S15-2079

M. Cliche, “Bb twtr at semeval-2017 task 4: Twitter sentiment analysis with cnns and lstms,” arXiv preprint arXiv:1704.06125, 2017. Available from: https://doi.org/10.18653/v1/S17-2094

C. Baziotis, N. Pelekis, and C. Doulkeridis, “Datastories at semeval-2017 task 4: Deep lstm with attention for message-level and topic-based sentiment analysis,” in Proceedings of the 11th international workshop on semantic evaluation (SemEval-2017), pp. 747–754, 2017. Available from: https://doi.org/10.18653/v1/S17-2126

A. Sharma and U. Ghose, “Sentimental analysis of twitter data with respect to general elections in india,” Procedia Computer Science, vol. 173, pp. 325–334, 2020. Available from: https://doi.org/10.1016/j.procs.2020.06.038

M.-H. Su, C.-H. Wu, K.-Y. Huang, and Q.-B. Hong, “Lstm-based text emotion recognition using semantic and emotional word vectors,” in 2018 First Asian Conference on Affective Computing and Intelligent Interaction (ACII Asia), pp. 1–6, IEEE, 2018. Available from: http://dx.doi.org/10.1109/ACIIAsia.2018.8470378

Z. Jianqiang, G. Xiaolin, and Z. Xuejun, “Deep convolution neural networks for twitter sentiment analysis,” IEEE Access, vol. 6, pp. 23253–23260, 2018. Available from: https://doi.org/10.1109/ACCESS.2017.2776930

C.-C. Wang, M.-Y. Day, C.-C. Chen, and J.-W. Liou, “Temporal and sentimental analysis of a real case of fake reviews in taiwan,” in 2017 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), pp. 729–736, IEEE, 2017. Available from: https://doi.org/10.1145/3110025.3116206

B. Bhavitha, A. P. Rodrigues, and N. N. Chiplunkar, “Comparative study of machine learning techniques in sentimental analysis,” in 2017 International Conference on Inventive Communication and Computational Technologies (ICICCT), pp. 216–221, IEEE, 2017. Available from: https://doi.org/10.1109/ICICCT.2017.7975191

L. M. Rojas-Barahona, “Deep learning for sentiment analysis,” Language and Linguistics Compass, vol. 10, no. 12, pp. 701–719, 2016. https://doi.org/10.1111/lnc3.12228

Downloads

Published

2024-06-30

How to Cite

Devi, S., Saran, M., Yadav, R. K., Maurya, P., & Tripathi, U. N. (2024). An Optimized Approach for Emotion Detection in Real- Time for Twitter Sentiment Analysis with Natural Language Processing. International Journal of Innovative Research in Engineering and Management, 11(3), 121–126. Retrieved from http://ijirem.irpublications.org/index.php/ijirem/article/view/50

Issue

Section

Articles