Manuscript Offprint
arXiv:2610.28823A Parallel Multi-Dialect Arabic Dependency Treebank
Abstract
Dependency parsing resource development for Arabic has largely focused on Modern Standard Arabic, leaving dialectal Arabic comparatively under-resourced. We introduce MADARTB, the first large-scale parallel dependency treebank spanning five city dialects: Beirut, Cairo, Doha, Rabat and Tunis, and extending an existing parallel MSA version. In total MADARTB consists of 5,000 sentences annotated using the CATiB dependency scheme. We analyze syntactic similarity across all city dialects and MSA. Although global construction profiles exhibit high similarity across varieties, local syntactic structures frequently diverge, revealing substantial structural variation across dialects. We further establish a cross-dialect dependency parsing comparison using a supervised parser and four LLMs. The supervised parser achieves 87.5% LAS, while the best LLM setup trails at 85.7% LAS across all six varieties on the test set. We release our annotations and models publicly.
1 Introduction
Dependency parsing represents grammatical structure as labeled relations between words and supports both linguistic analysis and NLP applications (Jurafsky and Martin, 2009). Beyond probing whether LLMs capture grammatical relations (Kulmizev, 2023), it enables syntax-aware applications such as information extraction, error detection, writing feedback, and grammatical error correction (Kanayama et al., 2024; Li et al., 2025; Metheniti et al., 2019; Morgado da Costa et al., 2020; Zhang et al., 2022). Arabic dependency parsing is challenging, due to its rich morphology, complex agreement patterns, and high ambiguity (Marton et al., 2013). Large-scale Arabic treebanks have primarily focused on Modern Standard Arabic (MSA) and Classical Arabic (CA). The Columbia Arabic Treebank (CATiB) (Habash and Roth, 2009) and the Penn Arabic Treebank (PATB) (Maamouri et al., 2004) cover MSA, while the Camel Treebank (CamelTB) covers both MSA and CA (Habash et al., 2022). Coverage of Dialectal Arabic (DA) treebanks remains uneven across varieties, with the majority focused on Egyptian Arabic (Maamouri et al., 2006), and to a lesser extent Gulf and Levantine (Elshabrawy et al., 2026; Maamouri et al., 2006).
While previous work on parallel treebanks includes the Parallel Universal Dependencies (PUD) treebank and recent parallel treebanks for closely related Turkic languages (Zeman et al., 2017; Akhundjanova et al., 2025), no large-scale resource provides full, consistently annotated dependency trees for parallel sentences across Arabic dialects.
In this paper, we introduce a first-of-its-kind linguistic resource: a parallel treebank encompassing five major Arabic city dialects, Beirut, Cairo, Doha, Rabat, and Tunis, paired with parallel MSA sentences (Bouamor et al., 2018; Taji et al., 2018), all in a unified dependency representation. This parallel architecture provides a unique opportunity to (a) quantitatively investigate the degree of syntactic similarity and divergence among MSA and its dialects while controlling for semantics; and (b) study cross-dialect transfer in syntactic modeling.
Our contributions can be summarized as follows:
• We introduce MADARTB, a newly manually annotated 5,000-sentence parallel dependency treebank spanning five Arabic city dialects, and extending a previously annotated MSA parallel version for a total of 6,000 sentences.
• We provide the first controlled syntactic comparison of MSA and these dialects, revealing high global similarity but local divergence.
• We benchmark supervised and few-shot LLM parsing, showing that pooled supervised training performs best overall and establishes new SOTA results on several parsing datasets.
Equal contribution.
? center city the to goes bus which ? Almdynp wsT l+ tmy k+ Twbys AnY Rabat ? Almdynp wsT <lY t*hb HAflp Ay MSA Beirut ? Almdynp wsT ElY yrwH b+ bAS Ay Doha ? Almdynp mrkz yrwH bAS Ay Cairo ? Albld nS +ny ywdy Awtwbys Ay Figure 1: CATiB-style (Habash et al., 2009) parallel dependency annotations in MSA and five city dialects. English gloss: ‘Which bus goes to the city center?’. Transliterations in the Buckwalter Scheme (Buckwalter, 2002). 2 Linguistic Background Arabic comprises closely related linguistic varieties. MSA is used in formal communication but has no native speakers (Azzoug, 2010; Ferguson, 1959). Regional dialects (DA) dominate daily communication and increasingly appear in informal and online writing. In formal or cross-regional settings, speakers may shift toward MSA or more widely comprehensible dialect forms (Iriarte Díez et al., 2023; Sha’ban and Habash, 2025). MSA and DA share a common linguistic core at the lexical, morphological, and syntactic levels, but systematic differences occur at each level. Figure 1 illustrates this overlap and variation through parallel dependency trees. Lexical variation Some lexical items are shared across several varieties, e.g., Figure 1 é
JK
YÖÏ@ Almdynp ‘city’ recur in multiple varieties, while Cairo uses YÊJ . Ë@ Albld. Other words are significantly different, e.g. the word for ‘bus’, is AK. bAS (Beirut and Doha), PA¾Ë@ AlkAr (Tunis),
K .ñ£ Twbys (Rabat), and
K .ñ Kð@ Awtwbys (Cairo). These examples illustrate the broader lexical diversity documented in MADAR, where Arabic varieties have an average pairwise lexical similarity of 25.8% across the full dataset (Bouamor et al., 2018). Morphological variation Arabic varieties share a core morphological base, including morphemes such as feminine suffix è p (Ta Marbuta), e.g., é
JK
YÖÏ@ Almdynp ‘city’ (Figure 1). Many verbal person-gender-number affixes are shared, but some of their realizations and distributions vary systematically, e.g., the verbal prefix - à n- in I. Jº K nktb marks first person singular Tunis and Rabat ‘I write’, and first person plural in MSA, Beirut, Cairo, and Doha ‘we write’. Arabic varieties have many pre-verbal particles that mark mood and tense. In Figure 1, Beirut marks the habitual present with H. b+ in hðQK +H. b+yrwH ‘goes’, whereas Rabat uses ¼ k+ in ú
æ Öß
- ¼ k+ym$y. The H. b+ proclitic marks the future in Doha and contrasts with + s+ (MSA),
- è h+ (Cairo), +h H+ (Cairo/Beirut), and + ¨ g+ (Rabat). Syntactic variation The broad inventory of syntactic constructions is highly shared across Arabic varieties. Common structures include Idafa (IDF) 2 possessive construction, subject-verb-object configurations, and noun-adjective order. For example, despite the lexical differences in Figure 1, all six trees use an IDF relation between the two nouns expressing ‘center of city’: wsT Almdynp, نص البld مrkz Almdynp, or nS Albld. The trees retain a common syntactic construction even when the lexical items differ.
Syntactic variation is often construction-specific. For example, Egyptian Arabic commonly uses a postnominal demonstrative, as in He العنوان AlEnwAn dh ‘this address’, whereas Beirut and Doha may use the prenominal clitic o h+, as in He + AlEnwAn. Preposition choice and argument structure also vary. In Figure 1, destinations take <lY ‘to’ in MSA, <lY ‘at’ in Beirut, and +l+ ‘to/for’ in Rabat and Tunis. Doha uses no preposition, treating ‘city center’ as a direct nominal argument. Cairo instead uses ywdy ‘take’ with an object clitic, yielding a different argument structure.
Beyond MSA and CA, several treebanks have been developed for individual Arabic dialects. Early Linguistic Data Consortium (LDC) efforts produced treebanks for Levantine (Maamouri et al., 2006) and Egyptian Arabic (Maamouri et al., 2012, 2014). More recently, NArabizi provided UD annotation for romanized, Algerian Arabic–French texts (Seddah et al., 2020), while Elshabrawy et al. (2026) released a CATiB dependency treebank for Gulf Arabic.
Most existing dialectal treebanks have been developed for individual dialects, with fewer efforts covering multiple dialects within a single annotation framework. The closest work to ours is Abo Mokh et al. (2024), who annotated 200 parallel sentences in four Arabic dialect groups using CATiB-style dependencies with a focus on two specific linguistic constructions. Their data is not publicly available. Our work differs in both scale and coverage, providing uniform CATiB dependency annotations for 5,000 parallel sentences across five dialects.
Arabic dependency parsing. Arabic dependency parsing has primarily focused on MSA. Methods range from transition-based parsing (Habash and Roth, 2009; Marton et al., 2013; Shahrour et al., 2016) to multi-task learning (Kankanampati et al., 2020), graph-based dependency parsing (Elshabrawy et al., 2023), and more recently, large language models (Adel et al., 2026). Dialectal Arabic parsing has received comparatively less attention. Early work focused on adapting MSA resources through treebank transduction (Chiang et al., 2006) and multilingual transfer (Muller et al., 2020). More recently, Abo Mokh et al. (2024) evaluated an MSA-trained parser on a small parallel corpus spanning four Arabic dialects, while Elshabrawy et al. (2026) developed a multi-variety Arabic parser that covers Egyptian and Gulf. In this work, we benchmark supervised and few-shot LLM parsing and establish new SOTA results on several parsing datasets.
4 The MADARTB Treebank
4.1 Source Data
We selected 1,000 aligned sentences for Beirut, Cairo, Doha, Rabat, and Tunis from MADAR-CODA (Eryani et al., 2020), which draws its sentences from MADAR (Bouamor et al., 2018) and uses the Conventional Orthography for Dialectal Arabic (CODA) (Habash et al., 2018). We obtained the corresponding MSA sentences from CamelTB (Habash et al., 2022; Taji et al., 2018). This parallel structure allows us to compare syntactic similarities and differences across the five dialects and MSA.
4.2 Annotation Scheme
Following CamelTB’s annotation of the MADAR MSA data, we adopt the CATiB annotation scheme (Habash et al., 2009, 2022), an Arabic-specific dependency representation inspired by traditional Arabic syntax. Unlike Universal Dependencies
(UD), which uses a shared multilingual scheme to prioritize cross-linguistic comparability (De Marneffe et al., 2021), CATiB captures language-specific structures. As a functional-head dependency representation, CATiB is similar to Surface-Syntactic Universal Dependencies (SUD) (Gerdes et al., 2021). We summarize the scheme next (Habash et al., 2009).
Tokenization CATiB follows the Penn Arabic Treebank tokenization guidelines (Maamouri et al., 2004); segment all clitics except the definite article ‘the’, and normalize basewords to their uncliticized form. For example, the word tokenizes as ‘in’ mdynp ‘city’ +nA ‘our’.
Parts-of-Speech CATiB uses six POS tags: NOM (nominals: nouns, adjectives), PROP (proper nouns), VRB (active verbs), VRB-PASS (passive verbs), PRT (particles, including prepositions and conjunctions), and PNX (punctuation). This tagset facilitates a balance of economic annotation while preserving the level of syntactic detail required for this study.
Dependency relations CATiB uses eight relation labels: SBJ (subjects of verbs in SVO and VSO constructions, and topics of simple nominal sentences), OBJ (objects of verbs, prepositions, conjunctions, or deverbal nouns), TPC (topics of complex nominal sentences with explicit pronominal reference), PRD (predicative complements in extended copular constructions), IDF (the idafa possessive construction), TMZ (the tamyiz specification construction), MOD (general modification of verbs or nominals), and — (flat constructions, such as multiword proper names, and multiple roots in sentences containing more than one full clause).
4.3 Annotation Process
Automatic Annotation First, we automatically tokenize the data and assign POS tags using the Egyptian morphological disambiguation model in Camel Tools (Obeid et al., 2020). We then obtain initial parses using a biaffine parser (similar to Elshabrawy et al. (2023)) trained on CamelTB (Habash et al., 2022), PATB (Maamouri et al., 2004, 2008), and ARZTB (Maamouri et al., 2014), converted from constituency to dependency using Arabic-C2D (CAMeL Lab, 2019).
Human Validation Annotating multiple Arabic dialects requires expertise in dialectal variation and syntactic analysis. Our team comprised (i) a primary annotator, a Sudanese Arabic speaker with over 18 years of treebank annotation experience; (ii) a secondary annotator, a Palestinian Arabic speaker and senior computational linguist with 25 years of experience; (iii) and a validator, a Palestinian Arabic speaker and trained computational linguist specializing in comparative dialectology. Native speakers of the five varieties were consulted as needed. The parallel translations in English, MSA, and the other dialects were also used as references during annotation.
The annotation team made minor extensions to the annotation guidelines to accommodate dialect-specific lexical variants while preserving CATiB's general principles, e.g., extending the tokenizable clitic set to include negation and verbal particles. The primary annotator first corrected the automatically generated POS tags and dependency annotations. The validator, assisted by the secondary annotator, then reviewed and corrected the full corpus. We report the resulting quality statistics below.
Quality Statistics The initial annotation round required extensive corrections to the automatic output. The amount of edits in this round can be quantified by comparing the corrected annotations to the automatic output: 93.6% tokenization , 84.8% POS accuracy, and 77.6% labeled attachment score (LAS). The validation round only identified minor changes to the initial annotations. One example is the predicating active participle ‘wanting/I want’ (Cairo) which was corrected from ‘VRB’ to ‘NOM’. The validation results can be similarly quantified: 99.1% tokenization , 99.6% POS accuracy, and 99.5% LAS. These results indicate strong consistency between the two rounds and support the quality of the final annotations.
4.4 Corpus Statistics
MADARTB comprises 1,000 parallel sentence sets: 5,000 newly annotated sentences from Beirut, Cairo, Doha, Rabat, and Tunis, aligned with their 1,000 MSA counterparts from CamelTB (Habash et al., 2022; Taji et al., 2018). We split the parallel sets into 70% training, 15% development, and 15% test data, keeping all aligned realizations in the same split. Table 1 reports the sentence, word, and token counts. Additional statistics are provided in Appendix Tables 13–15.
| Variety | Train | Development | Test | Total | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sent. | Words | Tokens | Sent. | Words | Tokens | Sent. | Words | Tokens | Sent. | Words | Tokens | |
| Beirut | 700 | 3,642 | 5,843 | 150 | 803 | 1,312 | 150 | 840 | 1,307 | 1,000 | 5,285 | 8,462 |
| Cairo | 700 | 3,987 | 5,973 | 150 | 898 | 1,342 | 150 | 899 | 1,328 | 1,000 | 5,784 | 8,643 |
| Doha | 700 | 3,625 | 5,369 | 150 | 802 | 1,204 | 150 | 809 | 1,195 | 1,000 | 5,236 | 7,768 |
| Rabat | 700 | 4,125 | 6,185 | 150 | 900 | 1,367 | 150 | 925 | 1,373 | 1,000 | 5,950 | 8,925 |
| Tunis | 700 | 3,851 | 5,845 | 150 | 844 | 1,322 | 150 | 864 | 1,302 | 1,000 | 5,559 | 8,469 |
| MSA | 700 | 5,487 | 6,395 | 150 | 1,263 | 1,480 | 150 | 1,208 | 1,419 | 1,000 | 7,958 | 9,294 |
| All Dialects | 3,500 | 19,230 | 29,215 | 750 | 4,247 | 6,547 | 750 | 4,337 | 6,505 | 5,000 | 27,814 | 42,267 |
| All Dialects + MSA | 4,200 | 24,717 | 35,610 | 900 | 5,510 | 8,027 | 900 | 5,545 | 7,924 | 6,000 | 35,772 | 51,561 |
Table 1: Numbers of sentences, words, and tokens in the train, development, and test splits. The six varieties are parallel at the sentence level.
5 Dialect Syntax Similarity
The sentence-parallel design of MADARTB enables controlled syntactic comparison across varieties. We compare global construction distributions and local analyses over aligned tokens, then examine a number of specific canonical constructions.
5.1 Global Construction Profiles
We represent every variety's trees by counts of the ordered construction head POS, dependency relation, dependent POS, direction , where direction distinguishes dependents before and after their heads and root arcs receive a separate value. The union inventory contains 150 constructions. Pairwise cosine similarities (Table 2) are uniformly high (93.3–98.3%), indicating a shared constructional core. The closest pair is Rabat–Tunis (Maghreb region), followed by Doha–Tunis (Gulf–Maghreb) and Cairo–Beirut (Egypt–Levant) suggesting that similarity is not determined by geography alone.
5.2 Alignment-Level Similarity
Alignment Pipeline and Manual Evaluation Because alignment-level similarity analysis requires one-to-one token alignments, we generate them automatically using Awesome-Align (Dou and Neubig, 2021). We initialize the model with CAMeLBERT-Mix (Inoue et al., 2021), which is pretrained on both MSA and DA, and fine-tune it on all parallel sentence pairs in the treebanks. We manually evaluate alignment quality on a random sample of 20 sentence pairs from each of the 15 unordered cross-variety pairs, for a total of 300 sentence pairs. Two of our lead annotators jointly inspected all token alignments in the sample. The automatically generated alignments achieve recall and against the manual sample.
For every sentence and variety pair, we convert the Awesome-Align links into a maximum-cardinality one-to-one matching, breaking ties by summed alignment probability. This retains 107,158 of 111,251 original links (96.3%). Across the 15 unordered variety pairs, an average of 83.3% of tokens are aligned. Of the selected token pairs, 69,104 (64.5%) also have aligned heads. These head-aligned token pairs form the evaluation set for the agreement measures below.
Alignment-level Complete Agreement Our primary measure is complete agreement. For an aligned token pair whose heads also align, it requires four decisions to agree simultaneously: the token POS, head POS, dependency relation, and dependency direction. It is therefore a strict test of whether the two tokens receive the same local syntactic configuration. Table 3 reports this measure for every variety pair.
Among head-aligned token pairs, complete agreement averages 74.1% across the 15 variety pairs and ranges from 66.7% to 83.8%. Rabat–Tunis has the highest agreement, followed by Beirut–Cairo; Cairo–Rabat has the lowest. Doha–MSA is the strongest MSA pairing. Within the same head-aligned set, token-and-head POS matches in 78.7% of cases, compared with 91.6% for dependency relation and 98.7% for direction. POS configuration therefore accounts for most of the remaining disagreement (Appendix Table 16).
5.3 Syntactic Structure Analysis
We further investigate the most frequent patterns across dialects, to understand how relations are
Appendix Table 8 reports the full alignment and training details, along with comparisons to two alternative alignment systems that we considered: SimAlign (Jalili Sabet et al., 2020) and MGIZA++ (Gao and Vogel, 2008).
| Target | Source | |||||
|---|---|---|---|---|---|---|
| Beirut | Cairo | Doha | Rabat | Tunis | MSA | |
| Beirut | - | 97.5 | 96.3 | 96.3 | 94.7 | 96.8 |
| Cairo | 97.5 | - | 96.8 | 94.5 | 93.8 | 93.5 |
| Doha | 96.3 | 96.8 | - | 97.2 | 97.5 | 93.3 |
| Rabat | 96.3 | 94.5 | 97.2 | - | 98.3 | 94.9 |
| Tunis | 94.7 | 93.8 | 97.5 | 98.3 | - | 94.9 |
| MSA | 96.8 | 93.5 | 93.3 | 94.9 | 94.9 | - |
Table 2: Global construction-count cosine similarity (%). Bold marks each row's highest off-diagonal value.
realized. Below, we provide our observations on three constructions: (1) sentential constructions, (2) idafa construction, and (3) Root head.
Sentential Constructions We distinguish three constructions: (a) Verb-Subject Construction (VS) (b) Subject-Verb Construction (SV) (c) Verbless constructions (noV). MSA strongly favors VS whereas all five dialects favor SV order. noV constructions are more common in dialects (63–91 times per dialect vs. 26 in MSA), as in the example عندى حاسية دياال القطوط Endy HsAsyp dyAl AlqTwT ‘I have cats allergy’ in Rabat, where the predicate is headed by a noun.
Idafa Constructions We focus on analytical Idafa. We observe that parallel Idafa constructions are realized differently across dialects. In Doha, Rabat and Tunis, analytic Idafa is more frequently realized using the relational nouns حق Haq, دياال dyAl, and متاو mtA ‘of/for’, respectively. In the parallel constructions, in Cairo and Beirut, Idafa is realized sometimes with a relational noun such as btA and تع mtA, and other times with the preposition + ‘for/to’, resulting in different dependency structures.
Root Head Finally, we compare the POS categories of tokens attached directly to ROOT. Verbs are the most frequent ROOT dependents in MSA, Rabat, and Tunis, while nominals are most frequent in Cairo and Beirut; Doha is nearly balanced. The higher frequency of nominal ROOT dependents in Cairo and Beirut may partly reflect nominally annotated ‘desire’ expressions, e.g. عايز EAyz (Cairo) and bdy (Beirut), which appear as verbal in other varieties: أريد >ryd (MSA) or أبيي >bgy (Doha), and كب nHb (Tunis and Rabat).
| Target | Source | |||||
|---|---|---|---|---|---|---|
| Beirut | Cairo | Doha | Rabat | Tunis | MSA | |
| Beirut | - | 81.6 | 76.0 | 70.8 | 70.1 | 70.7 |
| Cairo | 81.6 | - | 78.1 | 66.7 | 66.8 | 70.1 |
| Doha | 76.0 | 78.1 | - | 75.6 | 73.7 | 77.9 |
| Rabat | 70.8 | 66.7 | 75.6 | - | 83.8 | 74.8 |
| Tunis | 70.1 | 66.8 | 73.7 | 83.8 | - | 74.6 |
| MSA | 70.7 | 70.1 | 77.9 | 74.8 | 74.6 | - |
Table 3: Complete agreement (Token POS, Head POS, Relation, Direction) among aligned token pairs (%).
6 Parsing Benchmark
Data We use MADARTB partitions for the city dialects and MSA (Table 1). Sentence IDs are split jointly across varieties, so no translation of an evaluation sentence appears in training. We also use four external CATiB-style treebanks: PATB (Maamouri et al., 2004) and ARZTB (Maamouri et al., 2014), converted with Arabic-C2D (CAMEL Lab, 2019) and split following Diab et al. (2013); and CamelTB (Habash et al., 2022) and CamelTB-Gumar (Elshabrawy et al., 2026), using their published splits. We report each variety separately, the five dialects together, and all six varieties together, on development and test.
Metric We report Labeled Attachment Score (LAS), the percentage of tokens assigned both the correct head and dependency relation. We use development LAS for model selection and reserve the test set for the final comparison. We assess system differences with paired bootstrap 95% confidence intervals, resampling by sentence ID to preserve the parallel structure (Appendix Table 11).
Supervised Parsers All supervised models (henceforth, Supervised) follow the CAMeLParser-Dialects setup (Elshabrawy et al., 2026): a CAMeLBERT-Mix encoder (Inoue et al., 2021) feeds the biaffine parser of Dozat and Manning (2017), implemented in SuPar (Zhang et al., 2020). However, unlike CAMeLParser-Dialects, we use projective multi-root decoding instead of single-root decoding following (Adel et al., 2026).
We train eight MADARTB models: one on each
Since we use the MADAR MSA sentences in CamelTB, we excluded our 300 dev and test sentences to avoid leakage.
This minor modification matters because 191 of 900 development sentences (21.2%) contain more than one root, and Adel et al. (2026) identified the same single-root limitation in CamelParser decoding on CamelTB. Detailed comparison results are in Appendix Table 12.
variety, one on the five pooled dialects, and one on all six varieties. We also train models on PATB+CamelTB, on all four external treebanks, and on the four external treebanks plus the full MADARTB training set. The first two external combinations match the data used by CamelParser2.0 and CAMeLParser-Dialects, respectively, but differ in decoding (multi-root not single-root).
LLM Parsers Our evaluation includes closed-source multilingual models, open-weight multilingual models, and Arabic-centric models: Gemini-3.6-Flash (Gemini Team et al., 2025), GPT-5.6-Sol (OpenAI, 2026), Llama-4-Scout (Meta, 2025), and Fanar-2 (FANAR TEAM et al., 2026), henceforth Gemini, GPT, Llama, and Fanar, respectively. Following Adel et al. (2026), the prompt defines the CATiB relations and asks for one head-relation prediction per token. Gemini and GPT use their structured-output interfaces; Llama and Fanar use vLLM structured decoding (Kwon et al., 2023). We test zero-shot prompting and retrieval. Following Adel et al. (2026), for each evaluation sentence, we add to the prompt the ten MADARTB training trees whose sentences are most lexically similar to the specific evaluation sentence using chrF++ scores (Popović, 2017).
7 Results
Table 4 reports the complete development matrix used for model selection. Table 5 compares the selected systems on the test set, and Appendix Table 10 gives the full test matrix.
7.1 Supervised Parsing
Pooling Dialects is Essential On development data, single-variety parsers are almost always best on their own variety, even though the sentences are parallel. However, they transfer poorly: the best single-variety model reaches only 77.1 LAS across the five dialects. Pooling the five dialects raises this score to 87.0, a gain of 9.9 points (95% CI: 8.6–11.2). Thus, dialect differences still matter for parsing even when the sentences express the same content; pooling significantly outperforms every single-dialect model.
MSA and Dialect Data are Complementary On development data, the MSA-only model reaches 67.4 LAS on the dialects, while the single-dialect models reach only 70.1–75.6 on MSA. Adding MSA sentences to the pooled dialect training data raises MSA LAS from 80.6 to 85.5, while dialect LAS drops by only 0.5 points. Across all six varieties, the score rises by 0.5 points, but this gain is not significant. A joint model can therefore cover MSA and the five dialects without giving up much dialect performance.
Direct Dialect Coverage Gives the Strongest Supervised Model On development data, PATB and CamelTB alone reach 76.5 LAS on the dialects. Adding the Egyptian ARZTB and Gulf Gumar treebanks raises this to 82.0. Adding the proposed MADARTB raises it again to 89.0 and gives the best supervised result for four of the five dialects. Cairo is the exception, with an essentially unchanged score (88.3 to 88.0). The gains are much larger for Beirut, Rabat, and Tunis (8.8, 14.7, and 8.2 points), which are not covered by the external treebanks. The all-treebanks model is 5.2 points better overall than the four-external-treebank model and 2.6 points better than training on the proposed treebank alone. Its only cost is a 2.9-point drop on MSA relative to the four-external-treebank model.
7.2 LLM Parsing
Retrieval Makes LLMs Competitive On development data, ten examples improve Gemini from 72.0 to 87.3 LAS and GPT from 67.0 to 85.1. The gains are larger for Fanar (15.8 to 74.6) and Llama (24.6 to 72.3), and the improvements are significant for all four LLMs. Gemini is the strongest LLM, but the all-treebanks supervised model remains better overall on both development (88.9 versus 87.3 LAS) and test data (87.5 versus 85.7). On the test set, Gemini is best only on Tunis (88.1 versus 87.9); the supervised model is best on the other five varieties. The largest gaps are on Cairo and Doha, where the supervised training data includes Egyptian and Gulf treebanks. Thus, retrieval makes Gemini competitive, but broad supervised coverage remains the strongest and most consistent setup.
7.3 Performance Analysis
We analyze performance patterns on the development set for the best supervised and LLM parsers: the all-treebanks supervised model (henceforth, Supervised) and Gemini. First, Supervised outperforms Gemini on 52 of 135 construction types, covering 73% of gold instances, whereas Gemini wins on 26 types covering 25.1%. Second, Supervised performs best on frequent core constructions, in-
| Model | Training Data / Prompting | Beirut | Cairo | Doha | Rabat | Tunis | MSA | Dialects | All |
|---|---|---|---|---|---|---|---|---|---|
| Supervised | MADARTB Beirut | 81.1 | 77.8 | 78.7 | 73.0 | 75.0 | 72.7 | 77.1 | 76.3 |
| Supervised | MADARTB Cairo | 73.2 | 82.0 | 82.2 | 68.0 | 74.8 | 75.6 | 75.9 | 75.8 |
| Supervised | MADARTB Doha | 73.4 | 78.9 | 85.4 | 70.2 | 76.5 | 73.7 | 76.7 | 76.1 |
| Supervised | MADARTB Rabat | 66.5 | 72.9 | 76.2 | 83.9 | 75.1 | 70.1 | 75.0 | 74.1 |
| Supervised | MADARTB Tunis | 66.0 | 73.7 | 77.4 | 71.0 | 83.4 | 71.9 | 74.2 | 73.8 |
| Supervised | MADARTB MSA | 64.6 | 67.2 | 70.8 | 66.6 | 67.9 | 83.2 | 67.4 | 70.3 |
| Supervised | MADARTB Dialects | 85.4 | 85.9 | 88.4 | 87.7 | 87.6 | 80.6 | 87.0 | 85.8 |
| Supervised | MADARTB All | 84.5 | 86.1 | 88.9 | 86.5 | 86.6 | 85.5 | 86.5 | 86.3 |
| Supervised | PATB + CamelTB | 74.2 | 77.9 | 81.0 | 73.3 | 76.9 | 91.0 | 76.5 | 79.2 |
| Supervised | PATB + CamelTB + ARZTB + Gumar | 77.9 | 88.3 | 89.5 | 74.3 | 81.1 | 91.1 | 82.0 | 83.7 |
| Supervised | All Treebanks | 86.7 | 88.0 | 92.5 | 89.0 | 89.3 | 88.2 | 89.0 | 88.9 |
| Gemini | 0-shot | 68.4 | 72.3 | 70.6 | 72.3 | 72.5 | 75.3 | 71.3 | 72.0 |
| Gemini | 10-shot | 86.2 | 85.6 | 89.2 | 88.9 | 88.4 | 86.1 | 87.6 | 87.3 |
| GPT | 0-shot | 64.1 | 67.5 | 66.4 | 67.1 | 65.4 | 70.9 | 66.1 | 67.0 |
| GPT | 10-shot | 84.2 | 83.9 | 86.0 | 86.1 | 86.1 | 84.3 | 85.2 | 85.1 |
| Fanar | 0-shot | 14.8 | 13.7 | 14.5 | 16.2 | 16.0 | 18.9 | 15.0 | 15.8 |
| Fanar | 10-shot | 73.4 | 72.5 | 76.3 | 74.5 | 74.4 | 76.2 | 74.2 | 74.6 |
| Llama | 0-shot | 22.7 | 24.5 | 24.7 | 22.6 | 23.0 | 29.7 | 23.5 | 24.6 |
| Llama | 10-shot | 70.0 | 70.3 | 74.0 | 70.9 | 72.6 | 75.5 | 71.5 | 72.3 |
Table 4: Development-set parsing results (LAS) for supervised parsers and prompted LLMs. All Supervised rows use the CAMeLBERT-Mix Biaffine model and projective multi-root decoding; their configurations differ only in training data. All Treebanks denotes PATB, CamelTB, ARZTB, Gumar, and MADARTB. Bold indicates the best result overall, and underlining indicates the best LLM result.
| Model | Training Data / Prompting | Beirut | Cairo | Doha | Rabat | Tunis | MSA | Dialects | All |
|---|---|---|---|---|---|---|---|---|---|
| Supervised | All treebanks | 86.9 | 87.4 | 90.7 | 85.4 | 87.9 | 86.9 | 87.6 | 87.5 |
| Gemini | 10-shot | 85.8 | 83.3 | 86.9 | 83.8 | 88.1 | 86.4 | 85.5 | 85.7 |
| GPT | 10-shot | 84.5 | 81.9 | 84.5 | 82.4 | 85.0 | 85.1 | 83.6 | 83.9 |
| Fanar | 10-shot | 67.6 | 70.0 | 72.3 | 72.6 | 72.5 | 73.3 | 71.0 | 71.4 |
| Llama | 10-shot | 63.4 | 66.9 | 70.2 | 67.5 | 69.0 | 69.4 | 67.3 | 67.7 |
Table 5: Test-set parsing results (LAS) for the best supervised configuration and the best setup for each LLM, selected on development data. “All treebanks” denotes PATB, CamelTB, ARZTB, Gumar, and the proposed MADARTB. Bold indicates the best result overall, and underlining indicates the best LLM result. The complete test matrix appears in Appendix Table 10.
including Prep-Noun, Verb-Object, Idafa, and Verb-PP (94.2–98.7 ), and worst on nominal modification and punctuation attached to particles (77.8–84.7 ). Its declines from 91% on the 16 most frequent types (80% of instances) to 66% on the 93 rarest types (4%). Third, parent-before-child dependencies are the most common (74%) and easiest, with Supervised leading in both directions by 1.5–1.8 points. Fourth, performance generally decreases with dependency distance, except beyond five tokens, where punctuation–verb attachments dominate. Finally, across dependency relations, Supervised outperforms Gemini. OBJ is the easiest (95.0 ; 20.8% of instances), while MOD is the largest class (86.3 ; 45.5%). The lowest-scoring relations are TMZ and TPC (62.5 and 63.6 ), but they contain only 18 and 11 instances, respectively.
8 Conclusions and Future Work
We introduced MADARTB, the first parallel multidialect Arabic dependency treebank. We provided quantitative analysis of dialectal syntactic similarity across the five cities, and established the first benchmark for dialect parsing across five cities using both a supervised parser and four LLMs. Supervised parsers remain the strongest for DA.
Future work will explore extending MADARTB to additional MADAR varieties through parallel annotation projection and controlled transfer. We plan to develop multidialect tokenization for end-to-end parsing, and automatically map the annotations to UD/SUD for broader cross-linguistic comparison.
9 Limitations
MADARTB covers only five city varieties and only 1,000 translated travel-domain sentences per variety. Though necessary to isolate dialectal differences, its controlled parallel design may not capture the syntactic diversity of spontaneous speech, online writing, code-switching, other domains, or variation within and beyond these cities.
The local similarity analysis relies on automatic one-to-one alignments and is restricted to token pairs with aligned heads, potentially underrepresenting divergent lexicalizations, clitic structures, and implicit arguments. Moreover, CATiB limits direct comparison with other annotation frameworks (such as UD and SUD).
Finally, the parsing benchmark assumes gold tokenization and evaluates a single supervised architecture and four LLMs under fixed prompting settings; the results may not generalize to end-to-end parsing or other models and retrieval strategies.
Ethics Statement
Our annotators were compensated fair wages at rates commensurate with the time and effort put into this annotation task. Our data is translations of sentences that contain no private or personally identifying information about the annotators or other real individuals. Our data will be released under a license that is in accordance with the licensing terms of the source dataset. We used AI writing assistance within the scope of “Assistance purely with the language of the paper” described in the ACL Policy on Publication Ethics.
References
Noor Abo Mokh, Daniel Dakota, and Sandra Kübler. 2024. Out-of-Domain Dependency Parsing for Dialects of Arabic: A Case Study. In Proceedings of the Second Arabic Natural Language Processing Conference, pages 170–182, Bangkok, Thailand. Association for Computational Linguistics.
Mohamed Adel, Bashar Alhafni, and Nizar Habash. 2026. Arabic Morphosyntactic Tagging and Dependency Parsing with Large Language Models. arXiv preprint arXiv:2603.16718.
Arofat Akhundjanova, Furkan Akkurt, Bermet Chontaeva, Soudabeh Eslami, and Cagri Coltekin. 2025. Parallel Universal Dependencies Treebanks for Turkic Languages. In Proceedings of the Eighth Workshop on Universal Dependencies (UDW, SyntaxFest 2025), pages 129–136, Ljubljana, Slovenia. Association for Computational Linguistics.
Omar Azzoug. 2010. Modern Standard Arabic as a Second Language for Its Own Speakers. AL-Lisaniyyat, 16(1):1–22.
Houda Bouamor, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, and Kemal Oflazer. 2018. The MADAR Arabic dialect corpus and lexicon. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan. European Language Resources Association (ELRA).
Tim Buckwalter. 2002. Buckwalter Arabic morphological analyzer version 1.0. Linguistic Data Consortium (LDC) catalog number LDC2002L49, ISBN 1-58563-257-0.
CAMEL Lab. 2019. Arabic-C2D: Arabic constituency to dependency mapper and PATB-to-CATiB map.
David Chiang, Mona Diab, Nizar Habash, Owen Rambow, and Safiullah Shareef. 2006. Parsing Arabic dialects. In 11th Conference of the European Chapter of the Association for Computational Linguistics, pages 369–376, Trento, Italy. Association for Computational Linguistics.
Marie-Catherine De Marneffe, Christopher D Manning, Joakim Nivre, and Daniel Zeman. 2021. Universal dependencies. Computational linguistics, 47(2):255–308.
Mona Diab, Nizar Habash, Owen Rambow, and Ryan Roth. 2013. LDC Arabic treebanks and associated corpora: Data divisions manual. Preprint, arXiv:1309.5652.
Zi-Yi Dou and Graham Neubig. 2021. Word alignment by fine-tuning embeddings on parallel corpora. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 2112–2128, Online. Association for Computational Linguistics.
Timothy Dozat and Christopher D. Manning. 2017. Deep Biaffine Attention for Neural Dependency Parsing. Preprint, arXiv:1611.01734.
Kais Dukes, Eric Atwell, and Abdul-Baquee M. Sharaf. 2010. Syntactic annotation guidelines for the Quranic Arabic dependency treebank. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC'10), Valletta, Malta. European Language Resources Association (ELRA).
Ahmed Elshabrawy, Muhammed AbuOdeh, Go Inoue, and Nizar Habash. 2023. CamelParser2.0: A state-of-the-art dependency parser for Arabic. In Proceedings of ArabicNLP 2023, pages 170–180, Singapore (Hybrid). Association for Computational Linguistics.
Ahmed Elshabrawy, Go Inoue, Muhammed AbuOdeh, and Nizar Habash. 2026. Parsing Arabic Dialects Revisited: New Benchmarks, Models, and Insights. In The 7th Workshop on Open-Source Arabic Corpora and Processing Tools (OSACT7) with 5 Shared Tasks, pages 94–105, Palma, Mallorca, Spain. European Language Resources Association (ELRA).
Fadhl Eryani, Nizar Habash, Houda Bouamor, and Salam Khalifa. 2020. A spelling correction corpus for multiple Arabic dialects. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 4130–4138, Marseille, France. European Language Resources Association.
FANAR TEAM, Ummar Abbas, Mohammad Shahmeer Ahmad, Minhaj Ahmad, Abdulaziz Al-Homaid, Anas Al-Nuaimi, Enes Altinisik, Ehsaneddin Asgari, Sanjay Chawla, Shammur Chowdhury, Fahim Dalvi, Kareem Darwish, Nadir Durrani, Mohamed Elfeky, Ahmed Elmagarmid, Mohamed Eltabakh, Asim Ersoy, Masoomali Fatehkia, Mohammed Qusay Hashim, and 18 others. 2026. Fanar 2.0: Arabic Generative AI Stack. Preprint, arXiv:2603.16397.
Charles F Ferguson. 1959. Diglossia. Word, 15(2):325–340.
Qin Gao and Stephan Vogel. 2008. Parallel implementations of word alignment tool. In Software Engineering, Testing, and Quality Assurance for Natural Language Processing, pages 49–57, Columbus, Ohio.
Gemini Team, Rohan Anil, Sebastian Borgeaud, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M. Dai, Anja Hauth, Katie Millican, David Silver, Melvin Johnson, Ioannis Antonoglou, Julian Schrittwieser, Amelia Glaese, Jilin Chen, Emily Pitler, Timothy Lillicrap, Angeliki Lazaridou, and 1332 others. 2025. Gemini: A family of highly capable multimodal models. Preprint, arXiv:2312.11805.
Kim Gerdes, Bruno Guillaume, Sylvain Kahane, and Guy Perrier. 2021. Starting a new treebank? Go SUD! Theoretical and practical benefits of the Surface-Syntactic distributional approach. In Sixth International Conference on Dependency Linguistics (Depling, SyntaxFest 2021), Sofia, Bulgaria.
Nizar Habash, Muhammed AbuOdeh, Dima Taji, Reem Faraj, Jamila El Gizuli, and Omar Kallas. 2022. Camel treebank: An open multi-genre Arabic dependency treebank. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 2672–2681, Marseille, France. European Language Resources Association.
Nizar Habash, Fadhl Eryani, Salam Khalifa, Owen Rambow, Dana Abdulrahim, Alexander Erdmann, Reem Faraj, Wajdi Zaghouani, Houda Bouamor, Nasser Zalmout, Sara Hassan, Faisal Al-Shargi, Sakhar Alkhereyf, Basma Abdulkareem, Ramy Eskander,
Mohammad Salameh, and Hind Saddiki. 2018. Unified guidelines and resources for Arabic dialect orthography. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan. European Language Resources Association (ELRA).
Nizar Habash, Reem Faraj, and Ryan Roth. 2009. Syntactic Annotation in the Columbia Arabic Treebank. In Proceedings of the International Conference on Arabic Language Resources and Tools, Cairo, Egypt.
Nizar Habash and Ryan Roth. 2009. CATiB: The Columbia Arabic Treebank. In Proceedings of the Joint Conference of the Association for Computational Linguistics and the International Joint Conference on Natural Language Processing (ACL-IJCNLP), pages 221–224, Suntec, Singapore.
Jan Hajič, Otakar Smrž, Petr Zemánek, Jan Šnaidauf, and Emanuel Beška. 2004. Prague Arabic Dependency Treebank: Development in Data and Tools. In Proceedings of the International Conference on Arabic Language Resources and Tools, pages 110–117, Cairo, Egypt. ELDA.
Go Inoue, Bashar Alhafni, Nurpeiis Baimukan, Houda Bouamor, and Nizar Habash. 2021. The interplay of variant, size, and task type in Arabic pre-trained language models. In Proceedings of the Sixth Arabic Natural Language Processing Workshop, pages 92–104, Kyiv, Ukraine (Virtual). Association for Computational Linguistics.
Ana Iriarte Díez, Claudia Laaber, Nina Van Kampen, and Montserrat Benítez Fernández. 2023. What is white Arabic? New labels in a changing Arab world. Revista Española de Lingüiústica, 53(2):229–266.
Masoud Jalili Sabet, Philipp Dufter, François Yvon, and Hinrich Schütze. 2020. SimAlign: High quality word alignments without parallel training data using static and contextualized embeddings. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1627–1643, Online. Association for Computational Linguistics.
Daniel Jurafsky and James H. Martin. 2009. Speech and Language Processing (2Nd Edition). Prentice-Hall, Inc., Upper Saddle River, NJ, USA.
Hiroshi Kanayama, Yang Zhao, Ran Iwamoto, and Takuya Ohko. 2024. Incorporating syntax and lexical knowledge to multilingual sentiment classification on large language models. In Findings of the Association for Computational Linguistics: ACL 2024, pages 4810–4817, Bangkok, Thailand. Association for Computational Linguistics.
Yash Kankanampati, Joseph Le Roux, Nadi Tomeh, Dima Taji, and Nizar Habash. 2020. Multitask easy-first dependency parsing: Exploiting complementarities of different dependency representations. In Proceedings of the 28th International Conference on Computational Linguistics, pages 2497–2508,
Barcelona, Spain (Online). International Committee on Computational Linguistics.
Salam Khalifa, Nizar Habash, Dana Abdulrahim, and Sara Hassan. 2016. A large scale corpus of Gulf Arabic. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16), pages 4282–4289, Portorož, Slovenia. European Language Resources Association (ELRA).
Salam Khalifa, Nizar Habash, Fadhl Eryani, Ossama Obeid, Dana Abdulrahim, and Meera Al Kaabi. 2018. A morphologically annotated corpus of Emirati Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan.
Artur Kulmizev. 2023. The Search for Syntax: Investigating the Syntactic Knowledge of Neural Language Models Through the Lens of Dependency Parsing. Ph.D. thesis, Uppsala University, Uppsala, Sweden.
Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th symposium on operating systems principles, pages 611–626.
Dawei Li, Bohan Jiang, Liangjie Huang, Alimohammad Beigi, Chengshuai Zhao, Zhen Tan, Amrita Bhattacharjee, Yuxuan Jiang, Canyu Chen, Tianhao Wu, Kai Shu, Lu Cheng, and Huan Liu. 2025. From generation to judgment: Opportunities and challenges of LLM-as-a-judge. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 2757–2791, Suzhou, China. Association for Computational Linguistics.
Mohamed Maamouri, Ann Bies, Tim Buckwalter, Mona Diab, Nizar Habash, Owen Rambow, and Dalila Tabessi. 2006. Developing and using a pilot dialectal Arabic treebank. In Proceedings of the Fifth International Conference on Language Resources and Evaluation (LREC'06), Genoa, Italy. European Language Resources Association (ELRA).
Mohamed Maamouri, Ann Bies, Tim Buckwalter, and Wigdan Mekki. 2004. The Penn Arabic Treebank: Building a Large-Scale Annotated Arabic Corpus. In Proceedings of the International Conference on Arabic Language Resources and Tools, pages 102–109, Cairo, Egypt.
Mohamed Maamouri, Ann Bies, and Seth Kulick. 2008. Enhancing the Arabic treebank: a collaborative effort toward new annotation guidelines. In Proceedings of the Language Resources and Evaluation Conference (LREC), Marrakech, Morocco.
Mohamed Maamouri, Ann Bies, Seth Kulick, Michael Ciul, Nizar Habash, and Ramy Eskander. 2014. Developing an Egyptian Arabic treebank: Impact of dialectal morphology on annotation and tool development. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14), pages 2348–2354, Reykjavik, Iceland. European Language Resources Association (ELRA).
Mohamed Maamouri, Ann Bies, Seth Kulick, Sondos Krouna, Dalila Tabassi, and Michael Ciul. 2012. Egyptian Arabic Treebank DF Part 4 V2.0. LDC catalog number LDC2012E99.
Yuval Marton, Nizar Habash, and Owen Rambow. 2013. Dependency parsing of modern standard Arabic with lexical and inflectional features. Computational Linguistics, 39(1):161–194.
Meta. 2025. The Llama 4 herd: The beginning of a new era of natively multimodal AI innovation. Accessed: 2025-04-29.
Eleni Metheniti, Pomi Park, Kristina Kolesova, and Günter Neumann. 2019. Identifying grammar rules for language education with dependency parsing in German. In Proceedings of the Fifth International Conference on Dependency Linguistics (Depling, SyntaxFest 2019), pages 100–111, Paris, France. Association for Computational Linguistics.
Luís Morgado da Costa, Roger V P Winder, Shu Yun Li, Benedict Christopher Lin Tzer Liang, Joseph Mackinnon, and Francis Bond. 2020. Automated writing support using deep linguistic parsers. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 369–377, Marseille, France. European Language Resources Association.
Benjamin Muller, Benoit Sagot, and Djamé Seddah. 2020. Can multilingual language models transfer to an unseen dialect? a case study on North African Arabizi. Preprint, arXiv:2005.00318.
Ossama Obeid, Nasser Zalmout, Salam Khalifa, Dima Taji, Mai Oudah, Bashar Alhafni, Go Inoue, Fadhl Eryani, Alexander Erdmann, and Nizar Habash. 2020. CAMeL tools: An open source python toolkit for Arabic natural language processing. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 7022–7032, Marseille, France.
OpenAI. 2026. GPT-5.6 System Card. https://deploymentsafety.openai.com/gpt-5-6/introduction. Accessed: 2026-08-03.
Maja Popović. 2017. chrF++: words helping character n-grams. In Proceedings of the Second Conference on Machine Translation, pages 612–618, Copenhagen, Denmark. Association for Computational Linguistics.
Djamé Seddah, Farah Essaidi, Amal Fethi, Matthieu Futeral, Benjamin Muller, Pedro Javier Ortiz Suárez, Benoît Sagot, and Abhishek Srivastava. 2020. Building a user-generated content North-African Arabizi treebank: Tackling hell. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1139–1150, Online. Association for Computational Linguistics.
Sanad Sha'ban and Nizar Habash. 2025. The Arabic generality score: Another dimension of modeling Arabic dialectness. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 30002–30013, Suzhou, China. Association for Computational Linguistics.
Anas Shahrour, Salam Khalifa, Dima Taji, and Nizar Habash. 2016. CamelParser: A system for Arabic syntactic analysis and morphological disambiguation. In Proceedings of the International Conference on Computational Linguistics (COLING), pages 228–232.
Dima Taji, Jamila El Gizuli, and Nizar Habash. 2018. An Arabic dependency treebank in the travel domain. In Proceedings of the Workshop on OpenSource Arabic Corpora and Processing Tools (OSACT), Miyazaki, Japan.
Daniel Zeman, Martin Popel, Milan Straka, Jan Hajič, Joakim Nivre, Filip Ginter, Juhani Luotolahti, Sampo Pyysalo, Slav Petrov, Martin Potthast, Francis Tyers, Elena Badmaeva, Memduh Gokirmak, Anna Nedoluzhko, Silvie Cinková, Jan Hajič jr., Jaroslava Hlaváčová, Václava Kettnerová, Zdeňka Urešová, and 43 others. 2017. CoNLL 2017 shared task: Multilingual parsing from raw text to Universal Dependencies. In Proceedings of the CoNLL 2017 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pages 1–19, Vancouver, Canada. Association for Computational Linguistics.
Yu Zhang, Zhenghua Li, and Min Zhang. 2020. Efficient second-order TreeCRF for neural dependency parsing. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 3295–3305, Online. Association for Computational Linguistics.
Yue Zhang, Bo Zhang, Zhenghua Li, Zuyi Bao, Chen Li, and Min Zhang. 2022. SynGEC: Syntax-enhanced grammatical error correction with a tailored GEC-oriented parser. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 2518–2531, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
A Licenses
We list below the licenses and terms governing the principal data, models, and tools used in this work. All resources are used in accordance with their intended research use and distribution conditions.
• MADAR and MADAR-CODA. MADAR (Bouamor et al., 2018) and MADAR-CODA (Eryani et al., 2020) are available for non-commercial research and evaluation under licenses that prohibit redistribution and modification of the original resources. We use both resources solely under these terms.
We will release our independently created annotation layer and code that enables licensed users to combine it with their own copies of MADAR and MADAR-CODA, subject to the original license terms.
• External treebanks. PATB (Maamouri et al., 2004) and ARZTB (Maamouri et al., 2014) are LDC resources and are used under the applicable LDC user agreements. CamelTB and CamelTB-Gumar (Habash et al., 2022; Khalifa et al., 2016, 2018) are used under the terms accompanying their releases. We do not redistribute any of these third-party treebanks.
• Supervised parser. The CAMeLBERT-Mix checkpoint (Inoue et al., 2021) is released under the Apache License 2.0. The CamelParser2.0 parsing model (Elshabrawy et al., 2023) and SuPar (Zhang et al., 2020) are released under the MIT License.
• Open-weight LLMs and inference. Fanar-2-27B-Instruct (FANAR TEAM et al., 2026) is released under the Apache License 2.0, whereas Llama-4-Scout-17B-16E-Instruct (Meta, 2025) is governed by the Llama 4 Community License Agreement. vLLM (Kwon et al., 2023), used to serve both models, is released under the Apache License 2.0.
• Hosted LLM APIs. Gemini (Gemini Team et al., 2025) and GPT (OpenAI, 2026) are proprietary hosted services used under the Gemini API Terms and the OpenAI Services Agreement, respectively. We do not redistribute either model’s weights.
We will release only our independently created annotation layer and code, which enable licensed users to combine the annotations with their own
https://huggingface.co/CAMeL-Lab/
bert-base-arabic-camelbert-mix
https://huggingface.co/CAMeL-Lab/
camelbert-catib-parser
https://github.com/yzhangcs/parser
Fanar-2-27B-Instruct
https://huggingface.co/meta-llama/
Llama-4-Scout-17B-16E-Instruct/blob/main/LICENSE
https://github.com/vllm-project/vllm/blob/main/LICENSE
https://ai.google.dev/gemini-api/terms
services-agreement/ copies of MADAR and MADAR-CODA, subject to the original resource licenses.
B Model Sizes, Hyperparameters, and Computational Budget
This section reports model size, the training and inference hyperparameters, and the computational budget of the parsing and alignment experiments. Table 6 distinguishes locally available models from proprietary APIs, for which parameter counts are not disclosed.
Supervised Parsing Table 7 gives the fixed configuration used to train the reported supervised parsers. Each model was selected by development LAS. The All Treebanks model used the 53,037-sentence pool described in Section 6; the other newly trained models used the same configuration with their respective training subsets. Multi-root decoding is an inference constraint and does not add model parameters.
LLM Inference Each full LLM run contains 3,600 requests: six varieties, two splits, and both zero- and 10-shot conditions, with 150 sentences per condition. Fanar and Llama used bfloat16 vLLM inference on four A100 80GB GPUs with tensor-parallel size 4, a 32,768-token context, a maximum of 8,192 generated tokens, temperature 0, prefix caching, and XGrammar structured decoding. The scheduler allowed at most 128 sequences and 32,768 batched tokens. Gemini used its Batch API with a structured response schema and an 8,192-token output limit. GPT used the Responses Batch API with structured output.
Alignment Experiments Table 8 records both training and extraction settings. The training and inference pool contains all 21 unordered pairs induced by the six varieties, including six self-pairs, for 21,000 sentence pairs in total. Evaluation in Section 6 uses the 15 cross-variety pairs.
Runtime and Cost Training the 20-epoch All Treebanks parser on 53,037 sentences took 36.1 minutes on one A100 80GB GPU. The 11 additional supervised parser candidates in the optimization sweep took 828.9 minutes cumulatively. Thus, the 12 supervised models with preserved training logs required 865.0 minutes of cumulative single-GPU time. These measurements cover successful training, including epoch-level development evaluation and checkpoint selection, but exclude scheduler waiting and failed or preempted work.
Table 9 reports inference time on the evaluated data. For hosted models, time is the observed API-plus-evaluation turnaround and cost is reconstructed from preserved token usage. We do not estimate a monetary cost for local GPU use.
The two hosted runs together cost $66.23 and required 70.9 minutes of summed turnaround. Fanar processed the same workload in about half the clean model time of Llama (14.0 versus 27.4 minutes). The supervised parser was substantially faster at inference, processing the matched evaluation workload in 0.21 minutes after warm-up.
C Full Test-Set Parsing Results
Table 10 reports the complete test matrix summarized by the five development-selected configurations in Table 5.
Paired Bootstrap Confidence Intervals Table 11 reports paired bootstrap intervals for the development- and test-set claims discussed in Section 7. Within each split, a resampled cluster is one underlying sentence ID together with all five dialect realizations for the Dialects aggregate or all six realizations for the All aggregate. The intervals therefore preserve the dependence created by the parallel design. Twelve of fourteen development intervals and thirteen of fourteen test intervals exclude zero. On development data, the exceptions are adding MSA to the pooled dialect data and Gemini versus MADARTB All; on test data, only Gemini versus MADARTB All includes zero. The intervals quantify uncertainty over evaluation sentences conditional on the saved system outputs and do not include variation from retraining the supervised models.
Performance on Established Treebanks Table 12 compares our All Treebanks model with CamelParser2.0 (Elshabrawy et al., 2023) and CAMeLParser-Dialects (Elshabrawy et al., 2026) on the test sets of four established treebanks. Our model achieves the highest LAS on Gumar, ARZTB, and CamelTB, improving over the strongest previous result by 7.7, 0.5, and 1.7 points, respectively. It also remains within 0.1 points of CamelParser2.0 on PATB. These results establish new state-of-the-art performance on three external treebanks, showing that the gains extend beyond the proposed MADARTB benchmark.
| System | Parameters | Role and access | |
|---|---|---|---|
| CAMeLBERT-Mix parser | biaffine | 110,936,282 | Locally trained supervised parser used for the reported All Tree-banks results; the count includes the CAMeLBERT-Mix encoder and SuPar parsing head. |
| CAMeLBERT-Mix (SimAlign) | 109.1M | Frozen pretrained encoder used to obtain contextual token representations; SimAlign requires no task-specific training. | |
| CAMeLBERT-Mix (Awesome-Align) | 132.7M | Locally fine-tuned masked-language-model checkpoint, including its alignment-training heads. | |
| Fanar-2-27B-Instruct | 27B | Open-weight model served locally with vLLM. | |
| Llama-4-Scout | 109B total; 17B active | Open-weight mixture-of-experts model served locally with vLLM. | |
| Gemini; GPT | Not disclosed | Proprietary models accessed through their providers' Batch APIs. | |
Table 6: Model sizes and access methods.
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| Parser | Biaffine | Epochs | 20 |
| BERT layers mixed | 4 | BERT pooling | Mean |
| Arc MLP | 500 | Relation MLP | 100 |
| Encoder dropout | 0.1 | MLP dropout | 0.33 |
| Learning rate | BERT LR rate | 10 | |
| Batch token budget | 5,000 | Update steps | 4 |
| Warmup proportion | 0.1 | Gradient clip | 5.0 |
| 0.9, 0.999 | |||
| Weight decay | 0 | Seed | 1 |
| Decoder | Projective multi-root | ||
Table 7: Hyperparameters for the reported CAMeLBERT-Mix supervised parsers.
D Additional Corpus Statistics
We report lexical, structural, POS, and dependency-relation statistics for the six parallel treebanks. Table 13 summarizes the lexical and structural characteristics of the six parallel treebanks. Despite their shared content, the varieties range from 7,768 tokens in Doha to 9,294 in MSA. MSA has the longest sentences and deepest trees on average, while Doha has the shortest and shallowest. Mean dependency distance remains similar across varieties (1.94–2.02 tokens), while 10.9–18.1% of sentences contain multiple roots.
Table 14 presents POS distributions across the six varieties. The POS profiles are also similar: nominals constitute 50.7% of all tokens, followed by punctuation (17.3%), particles (17.2%), and active verbs (12.7%). MSA has more particles and is the only variety with passive verbs, whereas Doha and Tunis have more active verbs.
Table 15 summarizes the distribution of dependency relations across the six varieties. Five dependency relations account for 98.5% of tokens: MOD (45.1%), OBJ (21.1%), — (14.7%), IDF (10.2%), and SBJ (7.4%). The largest variation is in MOD (42.9–49.5%), while MSA uses PRD more often than the dialects.
E Pairwise Alignment Results
Table 16 reports the alignment-level measures for every analyzed unordered variety pair. Table 17 describes the complete manually annotated evaluation data and reports the one-to-one aligner results.
| System/stage | Configuration |
|---|---|
| SimAlign | Frozen CAMeLBERT-Mix encoder; BPE tokenization; layer 8; intersection of the bidirectional argmax alignments. No alignment-model training. |
| Awesome-Align training | CAMeLBERT-Mix initialization; MLM, TLM, full bidirectional TLM, SO, and PSI objectives; contrastive objective disabled; 5 epochs (1,645 optimizer updates); batch size 64; gradient accumulation 1; maximum block length 128; learning rate ; weight decay 0.01; 165 warmup updates; maximum gradient norm 1.0; seed 42; one A100 GPU with TF32. |
| Awesome-Align extraction | Layer 8; bidirectional softmax intersection; threshold 0.001; batch size 512; 8 data workers. |
| MGIZA++ training | Both directions for every pair; 5 IBM Model 1, 5 HMM, 3 Model 3, and 3 Model 4 EM iterations; Models 2 and 5 disabled; 50 word classes; 4 threads per direction and 8 concurrent pair jobs. Directional links were combined with grow-diag-final-and. |
Table 8: Training and extraction settings for the alignment experiments.
| System | Time (min) | Hardware/access | API cost (USD) |
|---|---|---|---|
| Gemini-3.6-Flash | 41.7 | Hosted Batch API | $30.92 |
| GPT-5.6-Sol | 29.3 | Hosted Batch API | $35.31 |
| Fanar-2-27B-Instruct | 14.0 | 4 × A100 80GB | - |
| Llama-4-Scout | 27.4 | 4 × A100 80GB | - |
| All Treebanks parser | 0.21 | 1 × A100 80GB | - |
Table 9: Inference runtime on the evaluated data and hosted API cost. The parser measurement uses projective multi-root decoding and excludes model loading.
| Model | Training Data / Prompting | Beirut | Cairo | Doha | Rabat | Tunis | MSA | Dialects | All |
|---|---|---|---|---|---|---|---|---|---|
| Supervised | MADARTB Beirut | 79.6 | 76.1 | 80.0 | 69.3 | 75.1 | 69.8 | 75.9 | 74.8 |
| Supervised | MADARTB Cairo | 70.9 | 80.8 | 78.7 | 66.2 | 77.3 | 72.4 | 74.7 | 74.3 |
| Supervised | MADARTB Doha | 71.2 | 77.0 | 82.9 | 66.9 | 75.8 | 74.3 | 74.5 | 74.5 |
| Supervised | MADARTB Rabat | 63.7 | 72.1 | 73.1 | 79.4 | 76.3 | 70.2 | 73.0 | 72.5 |
| Supervised | MADARTB Tunis | 64.5 | 72.3 | 74.9 | 69.6 | 83.0 | 71.5 | 72.8 | 72.6 |
| Supervised | MADARTB MSA | 59.8 | 68.9 | 69.4 | 62.9 | 68.0 | 82.5 | 65.7 | 68.7 |
| Supervised | MADARTB Dialects | 83.6 | 84.2 | 88.7 | 84.8 | 86.3 | 78.5 | 85.4 | 84.2 |
| Supervised | MADARTB All | 84.8 | 84.5 | 87.8 | 82.7 | 86.0 | 85.1 | 85.1 | 85.1 |
| Supervised | PATB + CamelTB | 70.9 | 76.1 | 80.2 | 69.7 | 75.3 | 90.3 | 74.3 | 77.2 |
| Supervised | PATB + CamelTB + ARZTB + Gumar | 77.8 | 86.1 | 85.5 | 74.9 | 79.6 | 90.4 | 80.7 | 82.4 |
| Supervised | All Treebanks | 86.9 | 87.4 | 90.7 | 85.4 | 87.9 | 86.9 | 87.6 | 87.5 |
| Gemini | 0-shot | 69.8 | 71.7 | 71.2 | 68.2 | 73.2 | 75.9 | 70.8 | 71.7 |
| Gemini | 10-shot | 85.8 | 83.3 | 86.9 | 83.8 | 88.1 | 86.4 | 85.5 | 85.7 |
| GPT | 0-shot | 63.7 | 69.4 | 63.8 | 63.9 | 64.4 | 71.3 | 65.1 | 66.2 |
| GPT | 10-shot | 84.5 | 81.9 | 84.5 | 82.4 | 85.0 | 85.1 | 83.6 | 83.9 |
| Fanar | 0-shot | 13.5 | 15.4 | 16.0 | 17.3 | 17.1 | 17.6 | 15.9 | 16.2 |
| Fanar | 10-shot | 67.6 | 70.0 | 72.3 | 72.6 | 72.5 | 73.3 | 71.0 | 71.4 |
| Llama | 0-shot | 22.9 | 23.8 | 24.9 | 25.0 | 22.6 | 31.5 | 23.8 | 25.2 |
| Llama | 10-shot | 63.4 | 66.9 | 70.2 | 67.5 | 69.0 | 69.4 | 67.3 | 67.7 |
Table 10: test-set parsing results (LAS) for supervised parsers and prompted LLMs. All Supervised rows use the CAMeLBERT-Mix Biaffine model and projective multi-root decoding; their configurations differ only in training data. All Treebanks denotes PATB, CamelTB, ARZTB, Gumar, and MADARTB. Bold indicates the best result overall, and underlining indicates the best LLM result.
| Claim | System A | System B | Set | Δ LAS | 95% CI |
|---|---|---|---|---|---|
| Development set | |||||
| Dialect pooling | MADARTB Dialects | MADARTB Beirut | Dialects | 9.9 | [8.6, 11.2] |
| MADARTB Dialects | MADARTB Cairo | Dialects | 11.1 | [9.8, 12.4] | |
| MADARTB Dialects | MADARTB Doha | Dialects | 10.3 | [9.0, 11.6] | |
| MADARTB Dialects | MADARTB Rabat | Dialects | 12.0 | [10.5, 13.5] | |
| MADARTB Dialects | MADARTB Tunis | Dialects | 12.7 | [11.2, 14.3] | |
| Training coverage | MADARTB All | MADARTB Dialects | All | 0.5 | [-0.1, 1.1] |
| All Treebanks | Four external treebanks | All | 5.2 | [4.1, 6.2] | |
| All Treebanks | MADARTB All | All | 2.6 | [1.6, 3.6] | |
| Retrieved examples | Gemini 10-shot | Gemini 0-shot | All | 15.3 | [13.8, 17.0] |
| GPT 10-shot | GPT 0-shot | All | 18.1 | [16.0, 20.3] | |
| Fanar 10-shot | Fanar 0-shot | All | 58.8 | [56.4, 61.3] | |
| Llama 10-shot | Llama 0-shot | All | 47.6 | [45.3, 50.0] | |
| Best systems | All Treebanks | Gemini 10-shot | All | 1.6 | [0.5, 2.7] |
| Gemini 10-shot | MADARTB All | All | 1.0 | [-0.2, 2.3] | |
| Test set | |||||
| Dialect pooling | MADARTB Dialects | MADARTB Beirut | Dialects | 9.5 | [8.3, 10.8] |
| MADARTB Dialects | MADARTB Cairo | Dialects | 10.8 | [9.2, 12.3] | |
| MADARTB Dialects | MADARTB Doha | Dialects | 10.9 | [9.4, 12.4] | |
| MADARTB Dialects | MADARTB Rabat | Dialects | 12.5 | [10.8, 14.1] | |
| MADARTB Dialects | MADARTB Tunis | Dialects | 12.7 | [11.0, 14.4] | |
| Training coverage | MADARTB All | MADARTB Dialects | All | 0.9 | [0.2, 1.6] |
| All Treebanks | Four external treebanks | All | 5.0 | [3.7, 6.5] | |
| All Treebanks | MADARTB All | All | 2.4 | [1.3, 3.4] | |
| Retrieved examples | Gemini 10-shot | Gemini 0-shot | All | 14.0 | [12.6, 15.5] |
| GPT 10-shot | GPT 0-shot | All | 17.7 | [15.9, 19.5] | |
| Fanar 10-shot | Fanar 0-shot | All | 55.2 | [52.6, 58.0] | |
| Llama 10-shot | Llama 0-shot | All | 42.5 | [40.0, 45.3] | |
| Best systems | All Treebanks | Gemini 10-shot | All | 1.8 | [0.6, 3.0] |
| Gemini 10-shot | MADARTB All | All | 0.6 | [-0.5, 1.7] | |
Table 11: Paired sentence-ID-clustered percentile bootstrap intervals for principal development- and test-set LAS comparisons (10,000 replicates per comparison). Δ LAS is System A minus System B in absolute percentage points. Within each split, every replicate resamples all 150 underlying sentence IDs with replacement and retains every relevant parallel variety realization.
| Model | Training Data | Decoding | Gumar | ARZTB | CamelTB | PATB | MADARTB All |
|---|---|---|---|---|---|---|---|
| CamelParser2.0 | PATB + CamelTB | Single-root | 72.7 | 73.2 | 87.5 | 91.3 | 76.0 |
| CAMeLParser-Dialects | PATB + CamelTB + ARZTB + Gumar | Single-root | 80.3 | 84.2 | 87.2 | 90.8 | 81.2 |
| Ours | All Treebanks | Single-root | 80.4 | 84.1 | 87.5 | 90.7 | 86.5 |
| Ours | All Treebanks | Multi-root | 88.0 | 84.7 | 89.2 | 91.2 | 87.5 |
Table 12: Test-set LAS on established Arabic dependency treebanks and MADARTB. The published baselines are CamelParser2.0 (Elshabrawy et al., 2023) and CAMeLParser-Dialects (Elshabrawy et al., 2026). “All Treebanks” denotes PATB, CamelTB, ARZTB, Gumar, and MADARTB. Bold indicates the best result for each test set.
| Variety | Corpus size | Lexicon and length | Tree structure | Roots | ||||
|---|---|---|---|---|---|---|---|---|
| Sent. | Tokens | Unique | Sent. len. | Max depth | Dep. dist. | Roots/sent. | Multi-root (%) | |
| Beirut | 1,000 | 8,462 | 1,948 | 8.46 | 3.03 | 1.97 | 1.21 | 16.9 |
| Cairo | 1,000 | 8,643 | 2,005 | 8.64 | 3.27 | 2.01 | 1.14 | 10.9 |
| Doha | 1,000 | 7,768 | 1,846 | 7.77 | 2.97 | 1.94 | 1.20 | 16.7 |
| Rabat | 1,000 | 8,925 | 2,089 | 8.93 | 3.26 | 2.02 | 1.19 | 15.7 |
| Tunis | 1,000 | 8,469 | 2,020 | 8.47 | 3.21 | 2.01 | 1.19 | 16.3 |
| MSA | 1,000 | 9,294 | 2,314 | 9.29 | 3.65 | 1.96 | 1.22 | 18.1 |
Table 13: Descriptive statistics for the six parallel treebanks. Unique forms are distinct token forms. Mean maximum depth assigns roots depth zero. Mean dependency distance is the absolute difference between the token positions of a non-root dependent and its head, averaged first within each sentence and then across sentences. Roots/sent. is the mean number of tokens with HEAD=0 per sentence; multi-root is the percentage of sentences containing more than one such token.
| POS | Beirut | Cairo | Doha | Rabat | Tunis | MSA | All |
|---|---|---|---|---|---|---|---|
| NOM | 50.5 | 53.3 | 49.9 | 50.8 | 50.2 | 49.2 | 50.7 |
| PNX | 17.1 | 17.3 | 19.2 | 17.0 | 17.7 | 15.6 | 17.3 |
| PRT | 19.0 | 16.2 | 13.8 | 16.7 | 14.5 | 22.1 | 17.2 |
| VRB | 11.2 | 10.8 | 14.5 | 13.4 | 15.4 | 11.0 | 12.7 |
| PROP | 2.2 | 2.4 | 2.6 | 2.0 | 2.1 | 1.7 | 2.1 |
| VRB-PASS | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.5 | 0.1 |
Table 14: POS distributions (%) over all data splits.
| Relation | Beirut | Cairo | Doha | Rabat | Tunis | MSA | All |
|---|---|---|---|---|---|---|---|
| MOD | 45.1 | 44.4 | 42.9 | 49.5 | 44.7 | 43.8 | 45.1 |
| OBJ | 21.4 | 19.8 | 21.3 | 19.9 | 22.9 | 21.3 | 21.1 |
| — | 15.1 | 13.9 | 16.5 | 14.2 | 14.8 | 13.8 | 14.7 |
| IDF | 10.3 | 11.3 | 9.5 | 8.7 | 9.9 | 11.4 | 10.2 |
| SBJ | 6.9 | 8.9 | 8.5 | 6.4 | 6.6 | 7.4 | 7.4 |
| PRD | 0.8 | 1.3 | 0.9 | 0.7 | 0.8 | 1.9 | 1.1 |
| TPC | 0.1 | 0.2 | 0.2 | 0.3 | 0.2 | 0.2 | 0.2 |
| TMZ | 0.2 | 0.2 | 0.2 | 0.2 | 0.2 | 0.2 | 0.2 |
Table 15: Dependency-relation distributions (%) over all data splits.
| Variety pair | All tokens | Aligned token pairs | Head-aligned token pairs | |||||
|---|---|---|---|---|---|---|---|---|
| Pair | Aligned (%) | Token POS match (%) | Head also aligned (%) | Token+head POS match (%) | Relation match (%) | Direction match (%) | Complete match (%) | |
| Beirut | Cairo | 85.6 | 90.8 | 67.1 | 86.4 | 93.4 | 98.3 | 81.6 |
| Beirut | Doha | 87.3 | 89.7 | 71.4 | 79.2 | 93.9 | 99.2 | 76.0 |
| Beirut | MSA | 82.5 | 87.3 | 58.6 | 75.3 | 90.7 | 99.1 | 70.7 |
| Beirut | Rabat | 82.8 | 88.0 | 65.6 | 74.6 | 92.6 | 99.0 | 70.8 |
| Beirut | Tunis | 83.0 | 87.3 | 66.9 | 74.6 | 92.1 | 98.6 | 70.1 |
| Cairo | Doha | 86.6 | 91.4 | 72.6 | 82.2 | 94.1 | 98.5 | 78.1 |
| Cairo | MSA | 82.4 | 86.7 | 58.5 | 75.5 | 90.0 | 98.1 | 70.1 |
| Cairo | Rabat | 82.1 | 87.6 | 62.5 | 72.3 | 91.0 | 97.7 | 66.7 |
| Cairo | Tunis | 83.5 | 86.7 | 66.8 | 70.8 | 91.0 | 99.0 | 66.8 |
| Doha | MSA | 82.5 | 87.6 | 58.7 | 82.5 | 90.0 | 99.0 | 77.9 |
| Doha | Rabat | 83.5 | 88.9 | 67.3 | 79.9 | 91.4 | 99.1 | 75.6 |
| Doha | Tunis | 84.8 | 87.7 | 69.6 | 77.8 | 91.8 | 98.7 | 73.7 |
| MSA | Rabat | 80.3 | 87.6 | 57.0 | 79.9 | 89.5 | 98.9 | 74.8 |
| MSA | Tunis | 79.9 | 86.8 | 56.9 | 80.1 | 90.1 | 98.4 | 74.6 |
| Rabat | Tunis | 83.3 | 92.8 | 68.4 | 89.5 | 93.2 | 98.3 | 83.8 |
| Pair average | 83.3 | 88.5 | 64.5 | 78.7 | 91.6 | 98.7 | 74.1 | |
Table 16: Alignment-level structural agreement from the selected Awesome-Align links by unordered variety pair; all values are percentages. The columns follow the successive evaluation subsets shown in the header. Aligned is the mean of the two varieties’ token-coverage percentages. For aligned token pairs, we report token POS match and the percentage whose heads also align. Both POS requires agreement in token and head POS. The final four measures are evaluated on this head-aligned subset; complete match requires both POS, relation, and direction to all match.
| Manual evaluation data | Sentence pairs | Source tokens | Target tokens | Manual links |
|---|---|---|---|---|
| Complete annotated sample | 300 | 2,545 | 2,615 | 2,172 |
| Aligner | Predicted links | Precision | Recall | |
| SimAlign | 2,036 | 91.9 | 86.1 | 88.9 |
| Awesome-Align | 2,227 | 91.1 | 93.4 | 92.2 |
| MGIZA++ | 2,215 | 79.0 | 80.6 | 79.8 |
Table 17: Manual one-to-one alignment data and system evaluation. The upper block describes the complete sample annotated by two annotators; the lower block reports each system’s predicted links and micro-averaged precision, recall, and . These metrics compare each predicted link set with the manually annotated non-null links.