Back to Search Start Over

Sentiment Analysis on Twitter Data of World Cup Soccer Tournament Using Machine Learning

Authors :
Ravikumar Patel
Kalpdrum Passi
Source :
IoT, Volume 1, Issue 2, Pages 14-239
Publication Year :
2020
Publisher :
MDPI AG, 2020.

Abstract

In the derived approach, an analysis is performed on Twitter data for World Cup soccer 2014 held in Brazil to detect the sentiment of the people throughout the world using machine learning techniques. By filtering and analyzing the data using natural language processing techniques, sentiment polarity was calculated based on the emotion words detected in the user tweets. The dataset is normalized to be used by machine learning algorithms and prepared using natural language processing techniques like word tokenization, stemming and lemmatization, part-of-speech (POS) tagger, name entity recognition (NER), and parser to extract emotions for the textual data from each tweet. This approach is implemented using Python programming language and Natural Language Toolkit (NLTK). A derived algorithm extracts emotional words using WordNet with its POS (part-of-speech) for the word in a sentence that has a meaning in the current context, and is assigned sentiment polarity using the SentiWordNet dictionary or using a lexicon-based method. The resultant polarity assigned is further analyzed using na&iuml<br />ve Bayes, support vector machine (SVM), K-nearest neighbor (KNN), and random forest machine learning algorithms and visualized on the Weka platform. Na&iuml<br />ve Bayes gives the best accuracy of 88.17% whereas random forest gives the best area under the receiver operating characteristics curve (AUC) of 0.97.

Details

ISSN :
2624831X
Volume :
1
Database :
OpenAIRE
Journal :
IoT
Accession number :
edsair.doi.dedup.....8904aa9a2a6b93e77208e810e616d0b4
Full Text :
https://doi.org/10.3390/iot1020014