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/gu/gu-x-old/23-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/) / [gu](https://md.mova.elamur.ai/free/en/docs/languages/gu/) / [gu-x-old](https://md.mova.elamur.ai/free/en/docs/languages/gu/gu-x-old/) / 23. Old Gujarati in Mova

# 23. Old Gujarati in Mova

Old Gujarati has the edition code `gu-x-old`. Mova has neither a parser model nor an annotated treebank for this edition. Language identification, grammatical annotation and interpretation are separate stages. A language label identifies a span, a dependency tree records its grammatical structure, and the downstream components use trees as input. Each stage has its own coverage.

## Language segmentation and script coverage

At level 1, `tools/langseg` assigns a language label to each sentence and span. A sentence can contain spans with different labels. The span label matters at the next level because `tools/mova-parse` uses it to select the parser model for that span.

The segmenter distinguishes English and French in Latin script using a Latin table, a lexicon for each language and a character four-gram model. It also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set receive the label `other`. Gujarati script falls into this group, so a passage in Gujarati script cannot be identified as `gu-x-old` on the basis of its script by the current segmenter.

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| ઘર | ghara | house | ‘house’ (constructed) |

The Gujarati-script form illustrates input covered by `other`. Writing the same form as *ghara* places it in Latin script. Script recognition alone gives the segmenter no basis for assigning that spelling to Old Gujarati. The supported route for adding a Latin-script language is to add a `Lang` code and a lexicon, which `langseg latin-lexicon` can build from an open Universal Dependencies (UD) training split. The choice of how to cover Old Gujarati script and how to cover romanized Old Gujarati belongs to language identification. Both are separate from training an Old Gujarati dependency parser.

## Parser model availability and Parse=None output

At level 2, `tools/mova-parse` looks for the model file associated with the language of each span. Parsing is span-specific. A span with an available model can be parsed even when another span in the same sentence lacks one. No level-2 model exists for `gu-x-old`.

When a span's language has no model file, the `# parse` comment reports that language. In the output rows for the span, all six fields in the following table receive `_`, and MISC carries `Parse=None`.

| Field | Value in an unparsed row | Annotation unavailable |
| --- | --- | --- |
| 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 |

`Parse=None` records the absence of a parse. It supplies no judgment about the grammaticality of the passage. The blank HEAD and DEPREL fields leave both the choice of head and the type of relation unspecified. A row in this output also supplies no evidence that Mova applied Old Gujarati rules to establish the token boundary. Mova currently has no Old Gujarati tokenization, tagging, lemmatization or dependency analysis. The missing-model behavior applies to spans routed to `gu-x-old`. A span labelled `other` at level 1 has no Old Gujarati language assignment to pass to level 2.

## Treebank status and the unmeasured parsing baseline

Mova holds no annotated Old Gujarati corpus. Its language package, described in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/), asks for the same parsing baseline for each language. The `en` crate supplies the training and evaluation workflow. After `en xpos-fill`, `en train` trains a tree parser and tagger on the language's UD training split. `en parse-eval` measures parsing on the development split. Mova has trained models for English (`en.bin`) and French (`fr.bin`). Old Gujarati has no measured baseline.

| Measure | What counts as a correct attachment | Old Gujarati result |
| --- | --- | --- |
| UAS, unlabeled attachment score | The predicted head matches the annotated head. | Unmeasured |
| LAS, labeled attachment score | Both the predicted head and the dependency relation match the annotation. | Unmeasured |

These measures require reference trees in a development split. Text transcriptions can supply material for such a split, but they need token boundaries and dependency annotations before they can serve as the reference. Training likewise needs a UD training split with examples of the annotation the model is to predict. The development split provides a separate basis for measuring predictions against that annotation. The missing model and the missing measurement describe different gaps. The model gap determines the current output for an Old Gujarati span. The measurement gap leaves the accuracy of an Old Gujarati parser unknown.

## Dependencies of frames and pragmatics on parsed input

Mova's components for frames, pragmatics and world representation read English trees. This includes `prag` and `world`. An Old Gujarati span with `Parse=None` supplies no dependency tree to those components. Even if the span has a language label and appears in output rows, neither the head of a token nor its relation to another token is available in those rows.

A tree would provide structural input for identifying predicates, their dependents and the relations among them. The same distinction matters for discourse analysis. A language label supplies no clause structure for interpreting a question or tracing a referring expression through a passage. An Old Gujarati parser would supply the tree required at this boundary. The current downstream components read English trees, so an Old Gujarati parsing baseline by itself would establish only the availability and measured accuracy of the syntactic input.

## Grammar claims in Squid and priorities for a baseline

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable rules, closed lists and statistics enter its queue for a place in Mova's code. A queued claim specifies something that could be implemented. Its presence in the queue leaves the current parser output unchanged. The manual's accounts of morphology, syntax and discourse therefore describe the language independently of which analyses Mova can produce.

For an initial Old Gujarati baseline, the grammar points with the most direct application are those needed to establish token boundaries, assign tags and annotate dependency trees. Those decisions have to work together on the same passages.

| Work | Decisions needed for a baseline |
| --- | --- |
| Tokenization | Determine how the edition's word division and punctuation map to token boundaries. Specify when a written unit containing a particle or clitic corresponds to one token or several. |
| Tagging and morphological annotation | Associate forms in context with UD word classes and features. Specify the conditions for assigning a tag when a form has more than one grammatical use. |
| Lemmatization | Specify how variant spellings and inflected forms are associated with the chosen lemma. |
| Dependency annotation | Specify heads and relation labels for nominal groups, case-marked dependents, predicates with auxiliaries and linked clauses. Apply the same conventions to the training and development material. |

Token boundaries determine the units that receive tags and enter the dependency tree. Consistent head and relation choices determine what the evaluation measures. For example, a decision about the boundary of a written particle affects whether it receives its own tag and dependency relation. A decision about the head of an auxiliary construction affects every attachment to that head. These are priorities for building an annotation baseline, and no Old Gujarati rules from the manual are implemented in Mova yet.

## How Mova handles Old Gujarati across the pipeline

`tools/langseg` assigns a language to sentences and spans at level 1. It distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Gujarati script receives `other` under the rule for scripts outside that coverage. Recognition of another Latin-script language requires a lexicon and a `Lang` code. `langseg latin-lexicon` can build the lexicon from an open UD training split.

At level 2, `tools/mova-parse` selects a model for each span by its language. There is no model for `gu-x-old`. The `# parse` comment reports a language with no model, and the span's rows have `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and `Parse=None` in MISC. Mova does not tokenize, tag, lemmatize or parse Old Gujarati.

Mova holds no Old Gujarati treebank and has measured no parsing baseline for the edition. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for a common baseline. In that workflow, `en train` trains on a UD training split after `en xpos-fill`, and `en parse-eval` measures UAS and LAS on the development split.

The frames, pragmatics and world components read English trees. `prag` and `world` have no Old Gujarati tree to read. Squid records the manual's grammatical points as claims and queues those that can be formalized. The Old Gujarati claims still await implementation. The first priorities are the points 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/gu/gu-x-old/sources/)).
- [← previous 22. Address, genre and figurative language](https://md.mova.elamur.ai/free/en/docs/languages/gu/gu-x-old/22-address-genre-and-figurative-language/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/gu/gu-x-old/sources/)
- [↑ back to Old Gujarati (gu-x-old) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/gu/gu-x-old/)

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