Research Article Open Access

A Novel Dialect-Aware Framework for the Classification of Arabic Dialects and Emotions

Nasser Alsadhan1
  • 1 Department of Computer Science, King Saud University, Riyadh, Saudi Arabia

Abstract

Arabic is one of the oldest languages still in use today. As a result, several Arabic-speaking regions have developed dialects that are unique to them. Dialect and emotion recognition have various uses in Arabic text analysis, such as determining an online customer's origin based on their comments. Furthermore, intelligent chatbots that are aware of a user's emotions can respond appropriately to the user. Current research in emotion detection in the Arabic language lacks awareness of how emotions are exhibited in different dialects, which motivates the work found in this study. This research addresses the problems of dialect and emotion classification in Arabic. Specifically, this is achieved by building a novel framework that can identify and predict Arabic dialects and emotions from a given text. The framework consists of three modules: A text-preprocessing module, a classification module, and a clustering module with the novel capability of building new dialect-aware emotion lexicons. The proposed framework generated a new emotional lexicon for different dialects. It achieved an accuracy of 88.9% in classifying Arabic dialects, which outperforms the state-of-the-art results by 6.45 percentage points. Furthermore, the framework achieved 89.1-79% accuracy in detecting emotions in the Egyptian and Gulf dialects, respectively.

Journal of Computer Science
Volume 21 No. 1, 2025, 88-95

DOI: https://doi.org/10.3844/jcssp.2025.88.95

Submitted On: 5 April 2023 Published On: 8 December 2024

How to Cite: Alsadhan, N. (2025). A Novel Dialect-Aware Framework for the Classification of Arabic Dialects and Emotions. Journal of Computer Science, 21(1), 88-95. https://doi.org/10.3844/jcssp.2025.88.95

  • 253 Views
  • 125 Downloads
  • 0 Citations

Download

Keywords

  • Natural Language Processing
  • Emotions
  • Applied Machine Learning
  • Arabic Language