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/oc/oc-x-provencal/31-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/) / [oc](https://md.mova.elamur.ai/free/en/docs/languages/oc/) / [oc-x-provencal](https://md.mova.elamur.ai/free/en/docs/languages/oc/oc-x-provencal/) / 31. Provençal in Mova

# 31. Provençal in Mova

Mova uses `oc-x-provencal` as the edition code for Provençal. The edition has a reference grammar, and Squid reads that grammar as a set of claims. There is currently no Provençal parser model or annotated corpus in Mova. This chapter describes what those gaps mean for language identification, CoNLL-U output, evaluation, and the components that use dependency trees.

## The edition code and the package state

The edition code identifies the language covered by this manual. Runtime support depends on separate resources for identifying text and analyzing it. The edition code can be used to refer to Provençal in the manual even though Provençal has no dedicated entry among the Latin-script languages that the current identifier distinguishes.

| Part of the package | State for Provençal |
| --- | --- |
| Grammar edition | The reference grammar uses `oc-x-provencal`. |
| Language identification | The current Latin-script inventory distinguishes English and French. |
| Parser and tagger model | No level-2 model exists for `oc-x-provencal`. |
| Annotated corpus | Mova holds no Provençal treebank. |
| Dependency accuracy | No Provençal UAS or LAS baseline has been measured. |
| Grammar claims | Squid reads the manual. Its formalizable claims await implementation in Mova. |
| Frames and pragmatics | The current components read English trees. |

The language package described in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same treebank baseline for each language. Mova has parser models for English (`en.bin`) and French (`fr.bin`). The Provençal edition has reached the grammar-description stage, while language-specific analysis and evaluation still require the corresponding data and model.

## Language identification and model lookup

`tools/mova-parse` processes multilingual text in two levels. At level 1, `tools/langseg` assigns a language to each sentence and span. The span matters for model selection. At level 2, the parser looks up the model for the code assigned to each span, using the configured pattern <code>.bin. Both occurrences of `<code>` refer to the span's language. A span assigned `oc-x-provencal` therefore requires a model for that code.

For Latin-script input, `tools/langseg` currently distinguishes English and French. It uses 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. Scripts outside its supported inventory receive `other`. Provençal is written in Latin script, so its coverage depends on the Latin-script language inventory. The `other` rule for unsupported scripts does not specify how the current identifier will label a particular Provençal passage.

Adding a Latin-script language requires a lexicon and a `Lang` code. The command `langseg latin-lexicon` builds a lexicon from an open UD training split. This is the identification step. Dependency parsing requires a model of its own. A span can have a language label and still lack a model, which is the condition that triggers the missing-model output.

## CoNLL-U output when a model is unavailable

When `tools/mova-parse` has no model for a span's language, the `# parse` comment reports the missing model. The token rows for that span carry `Parse=None` in MISC. Six analysis fields contain `_`.

| CoNLL-U field | Value | Information unavailable in the row |
| --- | --- | --- |
| LEMMA | `_` | Lemma |
| UPOS | `_` | Universal part-of-speech tag |
| XPOS | `_` | Language-specific part-of-speech tag |
| FEATS | `_` | Morphological features |
| HEAD | `_` | Index of the syntactic head |
| DEPREL | `_` | Dependency relation to the head |
| MISC | `Parse=None` | Status marking the absence of a parse |

The two status markers have different scopes. The comment identifies the language for which a model was unavailable, and the MISC value identifies the affected rows. This matters in multilingual text because model lookup takes place span by span. The missing-model status for one span gives no information about the success of model lookup for another span.

An underscore in HEAD leaves the head unspecified. In particular, it supplies no root assignment, which in a basic UD tree would have head index `0`. An underscore in FEATS likewise leaves the feature analysis unspecified. It supplies no evidence about whether a form carries properties such as number or tense. `Parse=None` gives the reason these fields are empty in the missing-model case. The presence of rows in the output is also insufficient evidence of Provençal tokenization, since Mova has no tokenizer for the language.

## Treebank availability and the unmeasured UAS and LAS baseline

Mova holds no annotated Provençal corpus. The training and development data for its standard baseline are therefore unavailable for this edition, and the baseline remains unmeasured. The missing-model markers in CoNLL-U record the absence of an analysis and supply no attachment scores.

Mova's parser and tagger are in the `en` crate. The package baseline starts with a language's UD training split. After `en xpos-fill`, `en train` trains the parser and tagger. The resulting model is evaluated with `en parse-eval` on the development split. The train-to-development distinction is part of the baseline. The training split provides examples from which the model learns, and the development split provides reference attachments against which its predictions are checked.

| Measure | Full name | What must agree with the reference annotation |
| --- | --- | --- |
| UAS | Unlabeled attachment score | The predicted head |
| LAS | Labeled attachment score | Both the predicted head and the dependency relation |

A word with the right head and the wrong relation counts as correct for UAS and incorrect for LAS. A wrong head makes the attachment incorrect for both measures. Computing either score requires a predicted attachment and an annotated reference attachment for comparison.

The English and French model files support those languages. The Provençal entry in a package comparison is *unmeasured*, because Mova has neither a model that predicts Provençal attachments nor the Provençal treebank needed for its evaluation. No numerical value follows from the empty analysis fields.

## The English-tree dependency of frames and pragmatics

Mova's frame, pragmatic, and world processing, including `prag` and `world`, reads English trees. The distinction between a language label and a dependency tree matters here. The label identifies the span for model lookup. The tree supplies the heads and relations that downstream processing can read.

A Provençal row with `Parse=None` supplies no such structure. Its HEAD and DEPREL fields are empty, so the current pipeline has no Provençal tree from which to derive a frame or a pragmatic analysis. The descriptions of valency, questions, reference, and discourse elsewhere in the manual express grammatical claims. Reading those descriptions into Squid does not give the downstream components an analyzed tree for an occurrence in text.

Parsing is thus a prerequisite for supplying any tree for Provençal. The present downstream input is specifically English trees. Availability of a future Provençal dependency model would address the parsing prerequisite. It would leave open how those English-tree components would consume Provençal analyses.

## Grammar claims in Squid and their implementation status

Squid reads every grammatical point in the manual as a claim. Where the point can be formalized, it waits in Squid's queue for a place in Mova's code. Rules, closed lists, and statistics are the kinds of claims the queue can hold. A queued claim records a description awaiting implementation.

A rule includes the conditions under which it applies and any exceptions. A closed list specifies the whole set within its stated scope. A statistic has a defined quantity and a scope for that quantity. These details matter when the description is used to guide code or annotation. A list of forms, for instance, can describe a paradigm in the manual while the token rows for those forms still carry no tag or feature analysis.

For Provençal, the first points to implement are those needed for tokenization, tagging, and a UD treebank baseline. Tokenization needs decisions about where tokens begin and end. Tagging needs decisions about the categories and features to assign to the resulting tokens. The treebank also needs decisions about how to represent heads and dependency relations in annotated text. The baseline then requires both training and development material, since its purpose is to compare predicted attachments with reference annotations on the development split.

The complete description of a construction in the manual and the implementation of that construction in the parser are separate states. For this edition, the grammar claims are descriptive and the rules have yet to be implemented. The annotated corpus and baseline are also still pending.

## How Mova handles Provençal today

At level 1, `tools/mova-parse` uses `tools/langseg` to assign a language to each sentence and span. The identifier distinguishes English and French in Latin script using a Latin table, language lexicons, and a character four-gram model. It also covers Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive `other`. Provençal has no dedicated language identification in the current Latin inventory. A further Latin-script language joins the inventory through a lexicon and a `Lang` code, with `langseg latin-lexicon` available to build the lexicon from an open UD training split.

At level 2, `tools/mova-parse` looks up each span's language model. No such model exists for `oc-x-provencal`. For tokens reported under that code, the `# parse` comment reports the missing model, LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL are `_`, and MISC contains `Parse=None`. Mova currently provides no tokenization, tagging, lemmatization, or dependency parsing for Provençal.

The `en` crate trains a parser and tagger with `en train` on the UD training split after `en xpos-fill`. The package baseline in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en parse-eval` to measure UAS and LAS on the development split. Mova holds no annotated Provençal corpus, so neither score has been measured for the edition. The frame, pragmatic, and world components, including `prag` and `world`, read English trees. They have no Provençal dependency tree to read.

Squid reads the Provençal grammar as claims and queues the formalizable ones. The chapter's rules remain unimplemented. The first points to address in code and data are those needed by 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/oc/oc-x-provencal/sources/)).
- [← previous 30. Niçard or Nissart](https://md.mova.elamur.ai/free/en/docs/languages/oc/oc-x-provencal/30-nicard/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/oc/oc-x-provencal/sources/)
- [↑ back to Provençal (oc-x-provencal) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/oc/oc-x-provencal/)

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