Sarcasm Detection in Pidgin Tweets Using Machine Learning Techniques

Khadijat T Ladoja *

Department of Computer Science, Faculty of Science, University of Ibadan, Nigeria.

Ruth T Afape

Department of Computer Science, Faculty of Science, University of Ibadan, Nigeria.

*Author to whom correspondence should be addressed.


Abstract

Detecting sarcasm in social media is of growing importance for applications such as monitoring, consumer feedback, and sentiment analysis. However, detecting sarcasm in Pidgin tweets poses unique challenges due to the blend of English and Pidgin languages, along with local cultural references. Existing models for sarcasm detection in English lack appropriate annotated data for Pidgin. This scarcity hinders the development of effective machine learning models. This research aims to address these challenges and create a model for accurate sarcasm detection in Pidgin tweets. Logistic Regression, XGBoost, Random Forest, and Vanilla Artificial Neural Network (ANN) classifiers were assessed, focusing on accuracy, precision, recall, and F1-score metrics on sarcasm data collected by curating and pre-processing a dataset of Nigerian Pidgin tweets. The XGBoost model demonstrated notable performance, attaining an accuracy of 85.78%, precision of 88.57%, recall of 94.44%, and F1-score of 91.41%. These outcomes underscored the model's prowess in discerning sarcastic and non-sarcastic expressions. By unfolding the intricacies of language in the Nigerian context, this research into sarcasm identification in Nigerian Pidgin text data introduced a comprehensive pipeline encompassing data curation, exploratory analysis, culturally tailored pre-processing, model training, evaluation, and prediction.

Keywords: Sentiment analysis, machine learning, sarcasm, text data, pidgin, dataset, social media, linguistic landscape


How to Cite

Ladoja , Khadijat T, and Ruth T Afape. 2024. “Sarcasm Detection in Pidgin Tweets Using Machine Learning Techniques”. Asian Journal of Research in Computer Science 17 (5):212-21. https://doi.org/10.9734/ajrcos/2024/v17i5450.

Downloads

Download data is not yet available.