Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/ar/ar-x-yemhij/33-mova-tools/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [Arabic](https://md.mova.elamur.ai/free/en/docs/languages/ar/) / [ar-x-yemhij](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-yemhij/) / 33. Yemeni–Hijazi Arabic in Mova

# 33. Yemeni–Hijazi Arabic in Mova

Mova’s multilingual parser has no model for Yemeni–Hijazi Arabic (`ar-x-yemhij`), and the package has no annotated corpus for training or evaluation. Arabic script falls into the segmenter’s `other` category. These limits affect which language Mova can identify, what appears in its output, and what its frame and pragmatics components can receive.

## Language segmentation and Arabic script

In `tools/mova-parse`, language segmentation comes before syntactic parsing. At level 1, `tools/langseg` assigns a language category to each sentence and span. At level 2, the parser uses the model belonging to the language of each span, when that model exists. The two levels therefore depend on different resources. The segmenter needs a way to identify the language, and the parser needs a model for that language.

For Latin-script input, the segmenter distinguishes English and French using a Latin table, a lexicon for each language, and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. It assigns `other` to scripts outside its supported set, including Arabic script. An `other` span in Arabic script has no Yemeni–Hijazi language identification from the segmenter. In a text containing both Latin and Arabic script, recognition of an English or French span supplies no finer classification for the Arabic-script span.

The route for adding a Latin-script language is to add a lexicon and a `Lang` code. The `langseg latin-lexicon` command uses open Universal Dependencies (UD) training splits for the lexicon. This route concerns language identification for Latin-script input. Yemeni–Hijazi Arabic in Arabic script still falls under `other`.

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| كتب الولد الرسالة | katab il-walad ir-risāla | write.PFV.3SG.M DEF-boy DEF-letter | “The boy wrote the letter.” (constructed) |

Here `PFV` marks perfective aspect, `3SG.M` marks third-person masculine singular, and `DEF` marks definiteness. The romanization and gloss are supplied for the reader. For the Arabic-script form, the segmentation category is `other`.

## Model availability and unannotated output

There is no level-2 model for `ar-x-yemhij`. `tools/mova-parse` reports a missing model in the `# parse` comment. For tokens left unannotated because a model is unavailable, the per-token marker is `Parse=None` in MISC. The annotation fields have the following values.

| Output field | Value | Information the field would carry |
| --- | --- | --- |
| LEMMA | `_` | Dictionary form |
| UPOS | `_` | Universal part-of-speech tag |
| XPOS | `_` | Language-specific part-of-speech tag |
| FEATS | `_` | Morphological features |
| HEAD | `_` | Syntactic head |
| DEPREL | `_` | Dependency relation |
| MISC | `Parse=None` | Marker that the token has no parse |

In this output, the underscores record unavailable annotation. In particular, `_` in FEATS provides no judgment about whether the form carries morphological features, and `_` in HEAD provides no dependency attachment. The presence of a row means only that there is a token entry in the output. Mova has no Yemeni–Hijazi tokenizer, and the rows supply no language-specific analysis of word or clitic boundaries. The `# parse` comment reports model availability, while the MISC marker records the absence of a parse on individual rows.

## Annotated corpus status and missing evaluation measurements

Mova holds no annotated Yemeni–Hijazi Arabic treebank. Its package therefore has no measured treebank baseline. The standard baseline requires a UD training split to fit the parser and tagger and a development split with reference annotations against which to score the parser. The missing measurements are the unlabeled attachment score (UAS) and labeled attachment score (LAS) for that train-to-development evaluation.

| Measure | What must match the reference tree for an evaluated attachment |
| --- | --- |
| UAS | The token’s syntactic head |
| LAS | The token’s syntactic head and dependency relation |

A prediction that attaches a dependent to the correct head under the wrong relation satisfies the UAS criterion for that attachment. It fails the LAS criterion. Both criteria require a predicted attachment and a reference attachment. `Parse=None` marks missing predictions and supplies neither score. The absence of a baseline concerns the corpus and results held by Mova.

## The parser training and evaluation workflow

The `en` crate provides Mova’s tree parser and tagger. It has models for English (`en.bin`) and French (`fr.bin`). The language package specification, [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/), asks for the same evaluation baseline for every language. The workflow uses the training split to fit the model, then the development split to measure attachment accuracy.

| Stage | Command | Data or result |
| --- | --- | --- |
| Prepare the training annotations | `en xpos-fill` | XPOS preparation before training |
| Fit the parser and tagger | `en train` | A model fitted on the language’s UD training split |
| Evaluate the parser | `en parse-eval` | UAS and LAS on the development split for the model trained on the training split |

The reference trees are needed at both stages. During training they provide annotated examples. During evaluation they provide the heads and relations against which the model’s predictions are compared. The development split has a separate role from the examples used to fit the model.

This workflow describes the package baseline. For Yemeni–Hijazi Arabic, Mova has no annotated splits on which to run it and no resulting model or evaluation. Model training and span identification are separate requirements for use in multilingual text. Level 2 selects a model by the language assigned at level 1, so identifying Arabic-script spans as `ar-x-yemhij` would also require support in the segmenter.

## Tree input for frames and pragmatics

Mova’s frames, pragmatics, and world components, including `prag` and `world`, read English trees. An input row with `_` in HEAD and DEPREL gives them no dependency structure. For Yemeni–Hijazi Arabic, the current parser output therefore supplies no tree for these components to read.

The missing tree places the limit before frame or pragmatic interpretation. An unannotated predicate gives no parse from which to read a predicate–argument structure, and a missing parse supplies no analysis of a speech act or discourse inference. The described input support is for English trees. For Yemeni–Hijazi Arabic, a parse is a prerequisite to providing any tree input.

## Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists, and statistics, enter its implementation queue. A queue entry records a claim pending a place in Mova’s code. The chapter’s rules currently have no implementation for Yemeni–Hijazi Arabic.

The first points for implementation are those needed by a tokenizer, a tagger, and a UD treebank baseline. For a tokenizer, the relevant grammatical questions concern the boundaries of tokens and the treatment of forms written together. For a tagger, they concern the evidence for assigning a word class and morphological features. For a treebank, they concern the choice of syntactic head and the relation between a head and its dependent. These are the kinds of decisions that reference annotations must make explicit before predictions can be evaluated consistently.

A grammar claim can specify when a form occurs and what exceptions apply. A treebank supplies individual occurrences with annotation decisions, and a trained model supplies predictions on new input. Those roles explain why the manual and queue can contain grammatical descriptions while the package has no parser annotations or measured attachment scores.

## How Mova handles Yemeni–Hijazi Arabic today

At level 1 of `tools/mova-parse`, `tools/langseg` assigns a language category to each sentence and span. It distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Arabic script falls under `other`, so its script does not give a span an `ar-x-yemhij` identification. Adding a Latin-script language uses a lexicon and a `Lang` code, with open UD training data used by `langseg latin-lexicon`.

At level 2, `tools/mova-parse` uses the model file for the span’s language. There is no model for `ar-x-yemhij`. Missing model support is reported in the `# parse` comment, and Yemeni–Hijazi Arabic token rows carry `_` in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL and `Parse=None` in MISC. Mova does not perform Yemeni–Hijazi tokenization, tagging, lemmatization, or dependency parsing.

Mova holds no annotated Yemeni–Hijazi Arabic corpus and has no measured treebank baseline for the package. The baseline requested in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en xpos-fill` before `en train` on the UD training split and `en parse-eval` to measure UAS and LAS on the development split. The `en` crate has models for English (`en.bin`) and French (`fr.bin`).

Mova’s frames, pragmatics, and world components, including `prag` and `world`, read English trees and have no Yemeni–Hijazi Arabic tree input. Squid turns the manual’s grammatical points into claims and queues the formalizable ones. Implementation is pending for the chapter’s rules, with the points needed for tokenization, tagging, and a UD treebank baseline coming first.

## Sources for this chapter

- No source was planned for this chapter; its points are to be checked against public-domain and open grammars (see [Sources](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-yemhij/sources/)).
- [← previous 32. Hadrami Arabic](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-yemhij/32-hadrami-arabic/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-yemhij/sources/)
- [↑ back to Yemeni–Hijazi Arabic (ar-x-yemhij) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-yemhij/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
