JOURNAL ARTICLE

Prediction of Indian election using sentiment analysis on Hindi Twitter

Abstract

Sentiment analysis is considered to be a category of machine learning and natural language processing. It is used to extricate, recognize, or portray opinions from different content structures, including news, audits and articles and categorizes them as positive, neutral and negative. It is difficult to predict election results from tweets in different Indian languages. We used Twitter Archiver tool to get tweets in Hindi language. We performed data (text) mining on 42,235 tweets collected over a period of a month that referenced five national political parties in India, during the campaigning period for general state elections in 2016. We made use of both supervised and unsupervised approaches. We utilized Dictionary Based, Naive Bayes and SVM algorithm to build our classifier and classified the test data as positive, negative and neutral. We identified the sentiment of Twitter users towards each of the considered Indian political parties. The results of the analysis for Naive Bayes was the BJP (Bhartiya Janta Party), for SVM it was the BJP (Bhartiya Janta Party) and for the Dictionary Approach it was the Indian Nathional Congress. SVM predicted a 78.4% chance that the BJP would win more elections in the general election due to the positive sentiment they received in tweets. As it turned out, BJP won 60 out of 126 constituencies in the 2016 general election, far more than any other political party as the next party (the Indian National Congress) only won 26 out of 126 constituencies.

Keywords:
Sentiment analysis Hindi Naive Bayes classifier Support vector machine General election Politics Artificial intelligence Computer science Natural language processing Classifier (UML) Bag-of-words model Political science Law

Metrics

145
Cited By
6.20
FWCI (Field Weighted Citation Impact)
23
Refs
0.98
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Sentiment Analysis and Opinion Mining
Physical Sciences →  Computer Science →  Artificial Intelligence
Stock Market Forecasting Methods
Social Sciences →  Decision Sciences →  Management Science and Operations Research
Advanced Text Analysis Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Election Prediction Based on Sentiment Analysis using Twitter Data

A. YavariHamid HassanpourBagher Rahimpour CamiM. Mahdavi

Journal:   International Journal of Engineering Year: 2021 Vol: 35 (2)Pages: 372-379
JOURNAL ARTICLE

Prediction of 2019 Indian Election Using Sentiment Analysis

Bharat R. NaiknawareSeema S. Kawathekar

Journal:   2018 2nd International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), 2018 2nd International Conference on Year: 2018 Vol: 3 Pages: 660-665
© 2026 ScienceGate Book Chapters — All rights reserved.