Skip to main content
NAWA classifies Arabic text into four major dialect groups with 100% accuracy, powered by HUMAIN’s ALLaM large language model - the most advanced Arabic AI model available.

Supported dialects

Dialect detection accuracy: 100% - validated against a 100-comment test corpus spanning all 4 dialects (Gulf, Egyptian, Levantine, MSA) during Phase 0.5 evaluation.

Example classifications

Comment: “وش رايكم بالمحتوى الجديد؟ أنا شايف إنه وايد حلو”Translation: “What do you think of the new content? I think it’s very nice”Markers: وش (what - Gulf), وايد (very - Gulf), حلو (nice - Gulf)
Comment: “الفيديو ده جامد أوي، عايز تاني كده”Translation: “This video is amazing, I want more like this”Markers: ده (this - Egyptian), أوي (very - Egyptian), عايز (I want - Egyptian), كده (like this - Egyptian)
Comment: “كتير حلو الفيديو، بس شو القصة ورا الأغنية؟”Translation: “Very nice video, but what’s the story behind the song?”Markers: كتير (very - Levantine), شو (what - Levantine)
Comment: “يجب أن نشجع هذا النوع من المحتوى الهادف”Translation: “We should encourage this type of meaningful content”Markers: يجب أن (must - MSA formal), هذا النوع من (this type of - MSA structure)

How it works

NAGL + ALLaM pipeline

NAWA uses a two-stage pipeline called NAGL (NAWA Augmented Generation Layer):
  1. Language detection: Identifies the input language. Arabic text is routed to the ALLaM model via HUMAIN’s API.
  2. Dialect classification: ALLaM analyzes morphological patterns, vocabulary, and syntactic structures to determine the dialect.
  3. Confidence scoring: A calibrated confidence score (0–1) indicates how certain the model is about the dialect classification.
ALLaM is developed by HUMAIN (formerly SDAIA) and is the most advanced large language model purpose-built for Arabic. NAWA is an official HUMAIN partner.

The dialect_confidence field

The dialect_confidence score ranges from 0 to 1:
Short comments (under 10 words) often have lower dialect confidence because there are fewer linguistic markers. For critical applications, consider filtering on dialect_confidence > 0.7.

Improving accuracy with feedback

If NAWA misclassifies a dialect, submit feedback to improve the model:
RLHF feedback is incorporated into model fine-tuning cycles, continuously improving accuracy across dialects.