JOURNAL ARTICLE

Unveiling Twitter Sentiments: Analyzing Emotions and Opinions through Sentiment Analysis on Twitter Dataset

Abstract

Social media plays a vital role in our daily lives. To understand and interpret emotions and opinions expressed on social media platforms, analyzing sentiment is very important. Our study is based on Twitter sentiment analysis. Our aim is to classify tweets automatically as positive, negative, or neutral based on their content using natural language processing and machine learning algorithms. The dataset we used for our analysis is extracted from the website called mendeley data and also we have added some tweets manually which covers various topics. To remove noise, including URLs, hashtags, punctuations, and user mentions, and to retain essential textual content and emojis, we pre-processed the dataset. Additionally, for our research, we used VADER (Valence Aware Dictionary and sentiment Reasoner) and Transformers-RoBERTa to analyze the sentiment of various tweets. We evaluate the performance of these two models using evaluation metrics such as accuracy, precision, recall and F1-score, and also confusion metrics on the testing set. We also discuss the study's limitations and conclude that machine learning-based sentiment analysis models are a reliable tool for the sentiment analysis of the twitter dataset.

Keywords:
Sentiment analysis Computer science Social media Data science Microblogging World Wide Web Information retrieval Artificial intelligence

Metrics

2
Cited By
0.51
FWCI (Field Weighted Citation Impact)
16
Refs
0.69
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
Advanced Text Analysis Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
Complex Network Analysis Techniques
Physical Sciences →  Physics and Astronomy →  Statistical and Nonlinear Physics

Related Documents

JOURNAL ARTICLE

Twitter Sentiments Dataset

Sherif E. Hussein

Year: 2021 Vol: 1
JOURNAL ARTICLE

Sentiment Analysis of the Twitter Dataset for the Prediction of Sentiments

Srinivasa Sai Abhijit Challapalli

Journal:   Journal of Sensors, IoT & Health Sciences (JSIHS). Year: 2024 Vol: 2 (4)Pages: 1-15
JOURNAL ARTICLE

Analyzing sentiments of human through twitter comments

Neha MittalIrfanullah KhanPinky Sharma

Journal:   International Journal of Health Sciences Year: 2022 Pages: 3854-3859
JOURNAL ARTICLE

Sentiment Analysis: Mining Opinions, Sentiments, and Emotions

Jun ZhaoKang LiuLiheng Xu

Journal:   Computational Linguistics Year: 2016 Vol: 42 (3)Pages: 595-598
© 2026 ScienceGate Book Chapters — All rights reserved.