A Machine Learning-Based Sentiment Analysis of Article 370 Tweets to Support Government Policy Decisions
- 1 Faculty of Engineering and Technology, Sri Sri University, Cuttack, India
- 2 Faculty of Computing and Software Engineering, Arba Minch University, Arba Minch, Ethiopia
- 3 GITA Autonomous College, Bhubaneswar, India
Abstract
This study proposes a robust sentiment analysis framework to evaluate public opinion on the abrogation of Article 370 using Twitter data. The methodology begins with tweet collection through the Twitter API, followed by systematic preprocessing. Sentiment labels were generated using the Text Blob lexicon-based polarity scoring approach to facilitate the construction of a large-scale sentiment dataset. Features are extracted, and the dataset is split into training (80%) and testing (20%) sets. A variety of models—including lexicon-based approaches, traditional machine learning algorithms, and ensemble learning techniques are trained and optimized using hyperparameter tuning. Additionally, a hybrid CNN–LSTM deep learning model is employed to capture both spatial and temporal dependencies in the text data. Experimental results reveal that the tuned Voting Ensemble model achieved the highest agreement with lexicon-derived labels, achieving an accuracy of 94.05% and an F1-score of 95.7%. The CNN–LSTM model also demonstrated strong performance. Lexicon-based polarity trends show that the dataset we looked at had mostly positive feelings during the time we chose. The results show how well ensemble and deep learning methods work together for automated sentiment classification. Future work could include validation datasets that have been annotated by people, support for multiple languages, more advanced transformer-based models for detecting sarcasm and emotion, and analysis of temporal sentiment trends.
DOI: https://doi.org/10.3844/jcssp.2026.1968.1990
Copyright: © 2026 Subhasis Mohapatra, Sudhir Kumar Mohapatra, Sweta Samantaray, Aliazar Deneke Deferisha and Prasanta Kumar Bal. 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.
- 42 Views
- 9 Downloads
- 0 Citations
Download
Keywords
- Sentiment Analysis
- Article 370
- Ensemble Learning
- Twitter Data
- Public Opinion