A Novel Dialect-Aware Framework for the Classification of Arabic Dialects and Emotions
Nasser Alsadhan1 Show affiliations
- Department of Computer Science, King Saud University, Riyadh, Saudi Arabia
Journal of Computer Science, Volume 21, Issue 1, pp. 88–95 · doi.org/10.3844/jcssp.2025.88.95
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.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
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
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 1
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
