POS-tagging of Tunisian Dialect Using Standard Arabic Resources and Tools

Ahmed Hamdi, Alexis Nasr, Nizar Habash, Núria Gala

Abstract

Part-of-Speech (POS) tagging for Arabic dialects is hindered by the lack of annotated resources. This study addresses the challenge for Tunisian Arabic (TUN) by introducing a "Pseudo-MSA" approach. By transforming TUN into a simplified version of Modern Standard Arabic (MSA) that preserves grammatical structure, the researchers utilize high-resource MSA tools to tag dialectal text. The system achieves 89.1% accuracy on undiacritized lemmas, representing a substantial improvement over baseline MSA taggers.

Introduction: The Challenge of Diglossia

Arabic is characterized by diglossia, where Modern Standard Arabic (MSA) serves as the formal written language, while various dialects like Tunisian (TUN) are used in daily speech. While MSA is well-supported by NLP tools, dialects are "low-resource" and differ significantly in phonology, morphology, and lexicon.

Examples of lexical differences between Modern Standard Arabic (MSA) and Tunisian Arabic (TUN)

As shown in Figure 2, TUN often incorporates loanwords from Berber, French, Italian, and Turkish, or uses different Arabic roots than MSA. Applying a standard MSA POS tagger directly to TUN text typically yields poor results (around 69% accuracy) because the tagger fails to recognize dialectal vocabulary and structures.

Methodology: The Pseudo-MSA Approach

The core of the proposed system is the generation of "Pseudo-MSA." This is not a human-readable translation but a machine-oriented transformation designed to make TUN text look like MSA to a computer.

The Pseudo-MSA generation pipeline using MAGEAD and lexical transfer

The process, illustrated in Figure 1, involves several key stages:

  1. Morphological Analysis: The MAGEAD analyzer is adapted to decompose TUN words into roots, patterns, and features.
  2. Lexical Transfer: TUN roots and patterns are mapped to MSA equivalents using specialized lexicons.
  3. Generation: MAGEAD generates MSA word forms from the mapped components, creating a lattice of potential MSA candidates for each TUN word.
  4. Disambiguation: A language model trained on MSA text identifies the most probable sequence of words from the lattice.
  5. Tagging: An HMM-based tagger, trained on the Penn Arabic Treebank (PATB) using the simplified CATIB tagset, performs the final POS assignment.

Datasets and Evaluation

The tagger was evaluated on a manually annotated corpus of 10,746 Tunisian tokens from diverse sources, including TV shows and customer service recordings. Lexical resources included a verb lexicon (1,638 entries) and a large automatically generated deverbal noun lexicon (33,271 entries).

Results

The Pseudo-MSA approach significantly outperformed the baseline. While a standard MSA tagger achieved only 69% accuracy, the proposed system reached 82.5% on surface forms. The most significant gains were observed when tagging undiacritized lemmas (lmms), where accuracy reached 89.1%.

The conversion process also effectively addressed the "Out of Vocabulary" (OOV) problem. Baseline OOV rates of 25-44% were reduced to as low as 4.9% in the Pseudo-MSA system, demonstrating the effectiveness of the root-and-pattern mapping strategy.

Conclusion

This research demonstrates that "translating" a low-resource dialect into a high-resource relative is a viable and efficient strategy for NLP tasks. By focusing on lemma-level tagging and leveraging the morphological consistency of the Arabic root system, the authors bridged the resource gap for Tunisian Arabic. Future work includes integrating this pipeline with speech-to-text systems and extending the methodology to syntactic parsing.

Summary updated

BibTeX
@inproceedings{hamdi2015pos,
  author = {Ahmed Hamdi and Alexis Nasr and Nizar Habash and Núria Gala},
  title = {{POS-tagging of Tunisian Dialect Using Standard Arabic Resources and Tools}},
  booktitle = {ANLP @ ACL},
  year = {2015},
  doi = {10.18653/v1/w15-3207},
}

Loading related content...

Figure