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-classical/34-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-classical](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-classical/) / 34. Classical Arabic in Mova

# 34. Classical Arabic in Mova

The edition code `ar-x-classical` identifies Classical Arabic in the grammar manual. Mova’s multilingual parser currently classifies Arabic script as `other`. The Classical Arabic edition has neither a parser model nor an annotated treebank in Mova, so there are no measured parsing results for it.

## Arabic script classification at level one

Level one assigns a language label to each sentence and span. Its classifier, `tools/langseg`, distinguishes English and French in Latin script using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set are classified as `other`, including Arabic script.

| Input at level one | Classification relevant to Classical Arabic |
| --- | --- |
| A span in Arabic script | `other`. The label carries no identification of Classical Arabic. |
| An Arabic-script span within a multilingual text | `other` for the Arabic-script span. The surrounding spans are subject to the classifier’s own language distinctions. |
| Classical Arabic in Latin romanization | Latin script is within the classifier’s scope, but Classical Arabic has no supported language distinction there. Romanization supplies no `ar-x-classical` identification. |

Within the `other` category, there is no distinction between vocalized and unvocalized Classical Arabic or between Classical Arabic and other writing in Arabic script. The edition code is therefore useful for naming a grammar or specifying a corpus, while level one has no corresponding recognition of the language. The existing route for adding a Latin-script language uses a lexicon from an open Universal Dependencies (UD) training split and a `Lang` code. That route concerns Latin script. Arabic-script recognition would require classification support for that script.

## Level-two output and the absent Classical Arabic model

Level two in `tools/mova-parse` parses a span with the model for its language when the corresponding model file exists. It reports a language without a model in the `# parse` comment. No model exists for `ar-x-classical`, so even an identification of the language would leave the span without a Classical Arabic analysis. Script recognition and model availability are separate requirements.

For tokens represented in the output without a model, the missing analysis is explicit. The table lists all six columns filled with `_` and the entry added to `MISC`.

| CoNLL-U field | Output without a model | Information absent |
| --- | --- | --- |
| `LEMMA` | `_` | Lexical citation form |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Syntactic head |
| `DEPREL` | `_` | Dependency relation |
| `MISC` | `Parse=None` | Explicit record that no parse was produced |

A token row with these values records the presence of text in the output. It provides no evidence that Mova has identified a Classical Arabic word boundary, isolated a clitic, recovered an unprinted vowel or decided between possible analyses of the written form. Likewise, `_` in `HEAD` leaves the head unspecified, including whether the token could be the root of a sentence.

## Treebank status and the unmeasured training baseline

Mova holds no annotated treebank for `ar-x-classical`. The package baseline calls for a UD training split, a trained tree parser and tagger, and evaluation on the development split. There are no Classical Arabic scores for unlabeled attachment or labeled attachment from that procedure.

| Baseline step | Mova procedure | Classical Arabic status |
| --- | --- | --- |
| Prepare training data | Run `en xpos-fill` before training on the language’s UD training split. | Mova has no Classical Arabic treebank from which to supply the split. |
| Train | Use `en train` to train the tree parser and tagger. | No Classical Arabic model exists. |
| Evaluate | Use `en parse-eval` to measure UAS and LAS from training to development. | No Classical Arabic baseline is measured. |

Unlabeled attachment score (UAS) measures agreement with the reference heads. Labeled attachment score (LAS) requires agreement on both the head and the dependency relation. A row marked `Parse=None` reports the lack of a parse for that input. The absence of a measured baseline is a separate corpus-level fact. Mova’s English and French model files, `en.bin` and `fr.bin`, show that the package workflow is available for those languages. Their existence supplies no measurement for Classical Arabic.

## The scope of Mova’s frames, pragmatics and world modules

Mova’s frames, pragmatics and world modules read English trees. The relevant modules named here are `prag` and `world`. A sentence or span label supplies no tree to these modules. A record with empty head and relation fields supplies no tree either. Classical Arabic consequently has no parsed input for this part of Mova.

This matters for phenomena described elsewhere in the manual. A grammar can describe an interrogative particle, an omitted subject or the wording used in reported speech. Each description can guide annotation of Arabic text. In the present pipeline, the description supplies no automatic assignment of a frame, a speech act or a discourse interpretation to an Arabic passage. A Classical Arabic dependency tree would supply the missing syntactic input. Support for interpreting that input would be a separate matter given the modules’ English-tree scope.

## Squid’s grammar claims and implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter the queue for a place in Mova’s code. Queue membership records a claim awaiting implementation. It confers no parser or annotation behavior.

Conditions and exceptions are part of the claim. A proposed rule for a prefixed particle, for example, needs to distinguish a form containing that particle from a lexical form beginning with the same letter. A closed list of forms specifies the inventory it covers. Applying that list to a sentence still requires a way to select the relevant segmentation and analysis. An inventory in the manual can guide a future implementation even while the multilingual parser emits only the missing-analysis fields for the text.

The queue and the training baseline address different parts of the work. Claims express grammatical generalizations and can guide annotation decisions. A treebank supplies sentence-level decisions on token boundaries, tags and dependencies for training and evaluation. A grammar claim alone provides no development-set measurement.

## Priorities for tokenization, tagging and a Universal Dependencies baseline

The first work for the edition would establish how to recognize Arabic-script spans, how to represent Classical Arabic in tokenized and annotated data, and how to measure a parser against those data. A corpus identified in advance as Classical Arabic can support annotation work before automatic recognition is available. Running on mixed text through the multilingual parser requires the language distinction at level one as well as a model for level two.

### Written forms and syntactic words

Tokenization needs a policy for the relation between a written form and the syntactic words it represents. Conjunctions, prepositions and pronominal suffixes can appear attached in writing. A policy must specify which attachments receive separate syntactic-word analyses, how those analyses correspond to the original written form, and how to distinguish a genuine attachment from letters belonging to the lexical form. Decisions need to apply to vocalized and unvocalized input. Diacritics present in an edition can be retained as evidence even when the analysis uses a segmentation supplied separately.

| Form | Romanization | Gloss | Translation | Status |
| --- | --- | --- | --- | --- |
| وَكَتَبَ | wa-kataba | and-write.PFV.3SG.M | “And he wrote.” | (constructed) |
| بِكِتَابِهِ | bi-kitābi-hi | with-book.GEN-3SG.M.POSS | “With his book.” | (constructed) |

The hyphens in the romanization show the components discussed here. The first form joins a conjunction to a verb, while the second joins a preposition and a possessive pronoun to a noun. A treebank convention would determine which components are represented as separate words and how the written forms are recorded. The glosses describe the Arabic forms and provide no observed Mova output.

### Lemmas, tags and features

Lemmatization and tagging need conventions for lexical identity, part of speech and inflection. Short vowels and endings that distinguish analyses in a vocalized edition may be absent from the same forms in ordinary unvocalized writing. The annotation policy must therefore say when context licenses a choice and how annotators record uncertainty when the text and context leave a choice unresolved. For a selected analysis, grammatical features should be assigned to the relevant syntactic word under the same conventions across training and development data.

| Form | Romanization | Gloss | Translation | Status |
| --- | --- | --- | --- | --- |
| كَتَبَ | kataba | write.PFV.ACT.3SG.M | “He wrote.” | (constructed) |
| كُتِبَ | kutiba | write.PFV.PASS.3SG.M | “It was written.” | (constructed) |

Here `PFV` marks the perfective, `ACT` and `PASS` mark voice, and `3SG.M` marks third-person masculine singular. Both vocalized forms have the unvocalized spelling كتب. That spelling alone leaves the active and passive readings open. A voice annotation in unvocalized text therefore depends on evidence for an analysis beyond the bare spelling.

### Dependency annotation and evaluation

A UD baseline needs annotated training and development splits under a shared policy. The first annotation decisions include the heads and relations for core arguments, prepositional phrases, coordination, and nominal clauses with no overt copula. The policy also needs to cover cases in which an argument is expressed by an attached pronoun or is understood without an overt word. These decisions depend on tokenization. If one split separates a written form into syntactic words in places where the other keeps it whole, attachment evaluation cannot be interpreted solely as a test of head and relation prediction.

Once those splits exist, the package workflow supplies the training and development evaluation procedure. A reported baseline would pair UAS and LAS with the evaluated split and its tokenization conditions, so the numbers describe a specified set of annotation decisions. At present there is no Classical Arabic result to report.

## How Mova handles Classical Arabic today

Level one of `tools/mova-parse` uses `tools/langseg` to assign a language label to every sentence and span. Arabic script falls under `other`, so the label does not identify `ar-x-classical`. Level two uses the model file for the language of each span. There is no model for Classical Arabic. `tools/mova-parse` reports missing models in the `# parse` comment, leaves `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL` as `_`, and records `Parse=None` in `MISC`. Mova supplies no Classical Arabic tokenization, tagging, lemmatization or dependency parsing.

The baseline in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses the `en` crate. After `en xpos-fill`, `en train` trains a tree parser and tagger on a UD training split. `en parse-eval` measures UAS and LAS on the development split. English and French have model files. Mova has no annotated Classical Arabic treebank and no measured baseline for the edition.

Mova’s frames, pragmatics and world modules read English trees. Classical Arabic has no parsed input for `prag` or `world`. Squid turns the manual’s grammatical points into claims and queues formalizable claims for implementation. Those queued claims do not implement the chapter’s rules. The initial grammar work for implementation is the work needed for a tokenizer, a tagger and a UD treebank baseline.

## 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-classical/sources/)).
- [← previous 33. Register and Genre in the Classical Record](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-classical/33-register-and-genre/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-classical/sources/)
- [↑ back to Classical Arabic (ar-x-classical) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ar/ar-x-classical/)

> 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)
