Abstract
Classification of sentiments is an essential task in Natural Language Processing (NLP) domain. The powerful sentiment classification helps determine user opinions in product reviews or social networks. However, comprehending hidden opinions, sentiments, and emotions in emails, tweets, reviews, and comments is a challenge and equally crucial for social media monitoring, brand monitoring, customer services, and market research. Also, unstructured data in social media remains a major issue, and a proficient technique to deal with this issue remains a research gap. Therefore, this work presents an automated sentiment polarity and emotion classification in unstructured textual data using dual stage deep learning framework. Initially, pre-processing is performed to remove the noises and promote the quality of input data using stop words removal, Parts-Of-Speech (POS) tagging and duplicates removal. Then, the most discriminative features are extracted in the feature extraction stage, and the optimal set of features is selected to minimize the large feature dimensionality. Finally, the selected features are provided to the Dual-stage Deep Model to classify sentiments and emotions. The proposed classification stage classifies the sentiment and emotions from the given input data. The proposed work used three datasets for simulation analysis, and each dataset’s performance is determined. Using Twitter Sentiment Dataset, the proposed model obtains an accuracy of 99.80%, F1-measure of 99.667%, specificity of 99.85% and kappa value of 99.52%, IMDB Movie Reviews attains an accuracy of 99.75%, F1-measure of 99.47%, specificity of 99.75% and kappa value of 98.99% and Yelp Reviews Dataset attains accuracy of 99.83%, F1-measure of 99.6%, specificity of 99.83% and kappa value of 99.32%. The obtained results reveal the effectiveness of a proposed study.
Similar content being viewed by others
Data availability
Data sharing not applicable to this article.
References
Acheampong FA, Wenyu C, Nunoo-Mensah H (2020) Text-based emotion detection: Advances, challenges, and opportunities. Eng Rep 2(7):e12189
Ahire V, Borse S (2022) Emotion detection from social media using machine learning techniques: a survey. In: Applied Information Processing Systems Springer, Singapore 83–92
Ahmad S, Mehfuz S, Mebarek-Oudina F, Beg J (2022) RSM analysis based cloud access security broker: a systematic literature review. Clust Comput 25(5):3733–3763
Almeida J, Vilaça L, Teixeira IN, Viana P (2021) Emotion Identification in Movies through Facial Expression Recognition. Appl Sci 11(15):6827
Balahur A (2013) Sentiment analysis in social media texts. In Proceedings of the 4th workshop on computational approaches to subjectivity, sentiment and social media analysis 120–128
Birjali M, Kasri M, Beni-Hssane A (2021) A comprehensive survey on sentiment analysis: Approaches, challenges and trends. Knowl-Based Syst 226:107134
Chen LC, Lee CM, Chen MY (2020) Exploration of social media for sentiment analysis using deep Learning. Soft Comput 24(11):8187–8197
D’Souza RS, Hooten WM, Murad MH (2021) A proposed approach for conducting studies that use data from social media platforms. In Mayo Clinic Proc 96(8):2218–2229
Du Y, Zhao X, He M, Guo W (2019) A novel capsule based hybrid neural network for sentiment classification. IEEE Access 7:39321–39328
Ghosh D (2020) A Sentiment-Based Hotel Review Summarization. In Emerging Technology in Modelling and Graphics. Springer, Singapore 39–44
Gorodnichenko Y, Pham T, Talavera O (2021) Social media, sentiment and public opinions: Evidence from# Brexit and# USElection. Eur Econ Rev 136:103772
Guo C, Du Z, Kou X (2018) Products ranking through aspect-based sentiment analysis of online heterogeneous reviews. J Syst Sci Syst Eng 27(5):542–558
Huddar MG, Sannakki SS, Rajpurohit VS (2021) Attention-based multi-modal sentiment analysis and emotion detection in conversation using RNN
Jabreel M, Moreno A (2019) A deep learning-based approach for multi-label emotion classification in tweets. Appl Sci 9(6):1123
Jain PK, Pamula R, Srivastava G (2021) A systematic literature review on machine learning applications for consumer sentiment analysis using online reviews. Comput Sci Rev 41:100413
Karthik E, Sethukarasi T (2022) A Centered Convolutional Restricted Boltzmann Machine Optimized by Hybrid Atom Search Arithmetic Optimization Algorithm for Sentimental Analysis. Neural Processing Letters 1–29
Mao X, Chang S, Shi J, Li F, Shi R (2019) Sentiment-aware word embedding for emotion classification. Appl Sci 9(7):1334
Nyo MT, Mebarek-Oudina F, Hlaing SS and NA Khan (2022) Otsu’s thresholding technique for MRI image brain tumor segmentation. Multimed Tools Appl 1–13
Pathak AR, Pandey M, Rautaray S (2021) Topic-level sentiment analysis of social media data using deep Learning. Appl Soft Comput 108:107440
Singh C, Imam T, Wibowo S, Grandhi S (2022) A Deep Learning Approach for Sentiment Analysis of COVID-19 Reviews. Appl Sci 12(8):3709
Stojanovski D, Strezoski G, Madjarov G, Dimitrovski I, Chorbev I (2018) Deep neural network architecture for sentiment analysis and emotion identification of Twitter messages. Multimed Tools Appl 77(24):32213–32242
Sudhir P, Suresh VD (2021) Comparative study of various approaches, applications and classifiers for sentiment analysis. Glob Trans Proc 2(2):205–211
Taj S, Shaikh BB, Meghji AF (2019) Sentiment analysis of news articles: a lexicon based approach. In2019 2nd international conference on computing, mathematics and engineering technologies (iCoMET) IEEE 1–5
Yadav A, Vishwakarma DK (2020) Sentiment analysis using deep learning architectures: a review. Artif Intell Rev 53(6):4335–4385
Yue L, Chen W, Li X, Zuo W, Yin M (2019) A survey of sentiment analysis in social media. Knowl Inf Syst 60(2):617–663
Zad S, Heidari M, James Jr H, Uzuner O (2021) Emotion detection of textual data: An interdisciplinary survey. In: 2021 IEEE World AI IoT Congress (AIIoT) 0255–0261
Zhang J, Yin Z, Chen P, Nichele S (2020) Emotion recognition using multi-modal data and machine learning techniques: A tutorial and review. Inf Fusion 59:103–126
Author information
Authors and Affiliations
Contributions
All authors have equal contributions in this work.
Corresponding author
Ethics declarations
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Consent to participate
All the authors involved have agreed to participate in this submitted article.
Consent to publish
All the authors involved in this manuscript give full consent for publication of this submitted article.
Conflict of interest
Authors declare that they have no conflict of interest.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Padminivalli V, S.J.R.K., Rao, M.V.P.C.S. & Narne, N.S.R. Sentiment based emotion classification in unstructured textual data using dual stage deep model. Multimed Tools Appl 83, 22875–22907 (2024). https://doi.org/10.1007/s11042-023-16314-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-16314-9