Skip to content
Open access

Leveraging NLP and deep learning models for political opinion mining: sentiment classification and sequential analysis of news media influence on elections

Jul 2026 · PeerJ Computer Science · Vol 12, pp. e4001 · 0 citations · 35 references
Computer Science

TL;DR

This research suggests an artificial intelligence (AI)-based solution that uses deep learning and natural language processing to analyze how political news sentiment affects election outcomes, and outperforms conventional machine learning baselines and reaches an accuracy of 89%.

Abstract

Although the impact of digital news media on public opinion has grown significantly, there are currently no computational frameworks that empirically connect news mood to election results. This research suggests an artificial intelligence (AI)-based solution that uses deep learning and natural language processing to analyze how political news sentiment affects election outcomes. A dataset of 17,000 political news stories gathered during the general elections in Pakistan in 2024 was manually classified into three categories: good, negative, and neutral. In order to capture contextual and temporal relationships in political speech, the texts underwent normalization, tokenization, lemmatization, and modeling using a Bidirectional Long Short-Term Memory (BiLSTM) network. To evaluate media influence, party-level mood indices were calculated using model predictions and statistically associated with official vote shares. According to experimental results, the suggested BiLSTM model outperforms conventional machine learning baselines and reaches an accuracy of 89%. Additionally, sentiment indices and electoral results show a statistically significant link, suggesting a quantifiable relationship between media mood and voter behavior. The suggested paradigm offers empirical insights into the function of news sentiment in election dynamics and a repeatable technique for extensive political media study.

Read PDF

Similar papers

Preprint Aug 2026

Multiclass Sentiment Analysis for Identifying Political Viewpoints

This work designs and evaluates two machine-learning approaches based on XGBoost and BERT to automatically discriminate multiple sentiment classes over political issues and figures, and demonstrates the challenge of classifying complex and contextualized political discourse sentiment.

G. Bade, O. Kolesnikova, J. Oropeza et al. · 0 citations
Review

Constructing high-frequency and thematic economic sentiment indicators from online news articles: applications in the Philippine context 1

It is concluded that use of NSIs and topic modeling can potentially complement existing survey-based measures to timely gauge market sentiment and show strong positive correlations with the PMI, PSEi, and survey-based outlook indicators.

Alan Chester Arcin, Carmelita Esclanda-Lo, Chelsea Anne Ong et al. · 1 citation
Conference Aug 2026

Sentiment Analysis of Indonesian Political News using IndoBERT

Sentiment analysis of political news plays a crucial role in understanding public opinion and political discourse. This study presents a comprehensive evaluation of six deep learning and machine learning architectures for three-class sentiment analysis (Negative/Neutral/Positive) of Indonesian political news, leveragin...

Nickolas Mathew Geraldinho, Michello Rayhan Manuel, Davin Raffilio et al. · 0 citations
Open access Aug 2026

Topic Modeling and Sentiment Analysis on News Headlines Using BERTopic and IndoBERT Models

The findings confirm that the combination of transformer-based models is effective for in-depth analysis of discourse in Indonesian-language political news headlines from a major Indonesian online news portal (detik.com).

Bagas Yana Prayoga, Qurrotul Aini, Fitroh Fitroh · 0 citations
Conference Open access 2026

Automated multilingual climate change sentiment analysis using hybrid AI model

Climate change is among the most widely discussed topics on social media, blogs and online news, generating extensive public debate. This study presents an automated sentiment analysis framework that utilises Natural Language Processing (NLP) and Machine Learning (ML) to understand how people perceive climate change. M...

M. Vimala, K. Shobana, K. Shalini et al. · 0 citations
Sep 2026

Deep Learning-based Multi-Class Sentiment Classification from Social Media Comments using LSTM Architecture

This paper presents a lightweight sentiment classification model based on Long Short-Term Memory networks, developed as a foundational text-analysis component for future multimodal emotion recognition systems, and provides a reproducible and computationally efficient baseline suitable for integration into broader multi...

Munmun Kakkar, Hemant Patidar · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.