Sentiment Analysis Employing LSTM for Binary Classification of Social Media Texts

Pournima Anil Kharade, Savita Sangam · International Journal of Computer Applications · 2025

Sentiment analysis is a domain within Natural Language Processing (NLP) focused on the computer detection and classification of opinions in textual data.The expansion of social media platforms, such as Twitter, Facebook, and Instagram, has resulted in an increase in user-generated content that reflects public opinion on various issues, including films, products, and political events, daily.An examination of this information would benefit firms, lawmakers, and other stakeholders by aiding in the evaluation of public perception.The traditional method of sentiment analysis relies on a rulebased framework and fundamental machine learning algorithms, including Naive Bayes, Support Vector Machines (SVM), and Logistic Regression (LR).These solutions generally necessitate manually generated features and face challenges in capturing more profound linkages and dependencies within the text.Recent advancements in deep learning, particularly in Recurrent Neural Networks (RNN) and Long Short-Term Memory (LSTM) networks, have transformed the domain of sentiment analysis by offering models for the unsupervised learning of associations from raw text data.As a variation of RNN, LSTM addresses the vanishing gradient problem, making it more suitable for tasks requiring longer dependencies, such as sentiment analysis.This study investigates the application of LSTM networks for binary sentiment categorisation utilising the IMDb movie review dataset.The model's learning capabilities were enhanced by using pre-trained word embeddings (GloVe), which illustrate semantic relationships among words and augment the model's contextual comprehension.

Read the paper · More papers on PaperTik