An open-source dataset for arabic fine-grained emotion recognition of online content amid COVID-19 pandemic.

Publication date: Dec 01, 2023

Emotion recognition is a crucial task in Natural Language Processing (NLP) that enables machines to comprehend the feelings conveyed in the text. The task involves detecting and recognizing various human emotions like anger, fear, joy, and sadness. The applications of emotion recognition are diverse, including mental health diagnosis, student support, and the detection of online suspicious behavior. Despite the substantial amount of literature available on emotion recognition in various languages, Arabic emotion recognition has received relatively little attention, leading to a scarcity of emotion-annotated corpora. This article presents the ArPanEmo dataset, a novel dataset for fine-grained emotion recognition of online posts in Arabic. The dataset comprises 11,128 online posts manually labeled for ten emotion categories or neutral, with Fleiss’ kappa of 0. 71. It is unique in that it focuses on the Saudi dialect and addresses topics related to the COVID-19 pandemic, making it the first and largest of its kind. Python’s packages were utilized to collect online posts related to the COVID-19 pandemic from three sources: Twitter, YouTube, and online newspaper comments between March 2020 and March 2022. Upon collection of the online posts, each one underwent a semi-automatic classification process using a lexicon of emotion-related terms to determine whether it belonged to the neutral or emotion category. Subsequently, manual labeling was conducted to further categorize the emotional data into fine-grained emotion categories. We anticipate that the ArPanEmo dataset will enrich Arabic NLP resources and help in the development of machine learning and deep learning tools to identify emotions in a given text. It will also contribute to developing systems that monitor online suspicious behaviors or mental health disorders. The final dataset is formatted in CSV, consisting of three columns: the number of the post, the post’s text, and the corresponding emotion label. This format facilitates incorporating and utilizing the dataset in any machine learning research.

Open Access PDF

Concepts Keywords
Arabic Arabic emotion recognition
Pandemic COVID-19 pandemic
Python Machine/deep learning
Research Natural language processing
Youtube Online posts dataset


Type Source Name
disease MESH COVID-19 pandemic
drug DRUGBANK Pentaerythritol tetranitrate
disease IDO process

Original Article

(Visited 1 times, 1 visits today)