• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology

Article

Indian Journal of Science and Technology

Year: 2024, Volume: 17, Issue: 2, Pages: 184-193

Original Article

An Aspect-Based Sentiment Analysis Model to Classify the Sentiment of Twitter Data using Long-Short Term Memory Classifier

Received Date:28 October 2023, Accepted Date:13 December 2023, Published Date:12 January 2024

Abstract

Objectives: To design an effective sentiment analysis model for interpretation of polarities in the text, that remains a challenging task while classifying the sentiment of tweets. Methods: This research proposes Aspect-Based Sentiment Analysis (ABSA) model which effectively retrieves the original contextual meaning of the text and helps in effective text categorization. The feature extraction is performed using Bag of Words (BOW) and Time-Frequency – Inverse Document Frequency (TF-IDF). The extracted features undergo the process of aspect-based sentiment analysis, which mines out the set of aspects to determine polarity of the text. Finally, the contextual words are classified using Long-Short Term Memory (LSTM), to determine the polarity as positive, neutral and negative. Findings: The experimental results show that the proposed ABSA with LSTM offers better results in classification accuracy with 93.54% which is relatively higher than the existing techniques by name of Stochastic Gradient Descent optimization based on Stochastic Gate Neural Network (SGD-SGNN) and Binary Brain Storm Optimization and Fuzzy Cognitive Maps (BBSO-FCM) which attained the accuracies at 90.67% and 88.71% respectively. Novelty: The ABSA is implemented to extract the set of aspects and determine polarities of the tweet obtained from extracted features. In aspect-based extraction, every individual token is labeled with contextual embedding, Part-of-Speech (PoS) embedding and embedding based on dependencies. The syntactic presentations at the finalized stages are improvised by combining the hidden features, appeared PoS states and the states based on dependencies. Thus, the proposed approach helps to minimize the complexity while classifying the sentiments using LSTM.

Keywords: Tweets, Twitter Data, Aspect-based sentiment analysis, Bagof word, Long-short term memory

References

  1. Rodrigues AP, Fernandes R, Shetty A, Lakshmanna K, Shafi RM. Real-Time Twitter Spam Detection and Sentiment Analysis using Machine Learning and Deep Learning Techniques. Computational Intelligence and Neuroscience. 2022;2022:1–14. Available from: https://doi.org/10.1155/2022/5211949
  2. Alsayat A. Improving Sentiment Analysis for Social Media Applications Using an Ensemble Deep Learning Language Model. Arabian Journal for Science and Engineering. 2022;47(2):2499–2511. Available from: https://doi.org/10.1007/s13369-021-06227-w
  3. Mendon S, Dutta P, Behl A, Lessmann S. A Hybrid Approach of Machine Learning and Lexicons to Sentiment Analysis: Enhanced Insights from Twitter Data of Natural Disasters. Information Systems Frontiers. 2021;23(5):1145–1168. Available from: https://doi.org/10.1007/s10796-021-10107-x
  4. Gandhi UD, Kumar PM, Babu GC, Karthick G. Sentiment Analysis on Twitter Data by Using Convolutional Neural Network (CNN) and Long Short Term Memory (LSTM) Wireless Personal Communications. 2021. Available from: https://doi.org/10.1007/s11277-021-08580-3
  5. Kothamasu LA, Kannan E. Sentiment analysis on twitter data based on spider monkey optimization and deep learning for future prediction of the brands. Concurrency and Computation: Practice and Experience. 2022;34(21). Available from: https://doi.org/10.1002/cpe.7104
  6. Bibi M, Abbasi WA, Aziz W, Khalil S, Uddin M, Iwendi C, et al. A novel unsupervised ensemble framework using concept-based linguistic methods and machine learning for twitter sentiment analysis. Pattern Recognition Letters. 2022;158:80–86. Available from: https://doi.org/10.1016/j.patrec.2022.04.004
  7. Jain DK, Boyapati P, Venkatesh J, Prakash M. An Intelligent Cognitive-Inspired Computing with Big Data Analytics Framework for Sentiment Analysis and Classification. Information Processing & Management. 2022;59(1):102758. Available from: https://doi.org/10.1016/j.ipm.2021.102758
  8. Umer M, Ashraf I, Mehmood A, Kumari S, Ullah S, Choi GS. Sentiment analysis of tweets using a unified convolutional neural network‐long short‐term memory network model. Computational Intelligence. 2021;37(1):409–434. Available from: https://onlinelibrary.wiley.com/doi/epdf/10.1111/coin.12415
  9. Xie G, Liu N, Hu X, Shen Y. Toward Prompt-Enhanced Sentiment Analysis with Mutual Describable Information Between Aspects. Applied Artificial Intelligence. 2023;37(1):882–898. Available from: https://doi.org/10.1080/08839514.2023.2186432
  10. Trisna KW, Jie HJ. Deep Learning Approach for Aspect-Based Sentiment Classification: A Comparative Review. Applied Artificial Intelligence. 2022;36(1):1157–1193. Available from: https://doi.org/10.1080/08839514.2021.2014186

Copyright

© 2024 Prabhu & Nashappa. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)

DON'T MISS OUT!

Subscribe now for latest articles and news.