Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · [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/) · [Constitution](https://md.constitution.elamur.ai/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/ja/ojp/27-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/) / [Japanese](https://md.mova.elamur.ai/free/en/docs/languages/ja/) / [ojp](https://md.mova.elamur.ai/free/en/docs/languages/ja/ojp/) / 27. Old Japanese in Mova

# 27. Old Japanese in Mova

Mova has neither a parser model nor an annotated treebank for Old Japanese (`ojp`). In the multilingual pipeline, language identification precedes parsing, and each stage has its own coverage. The grammar manual supplies claims to Squid for possible implementation. Those claims describe Old Japanese, while parser measurements require annotated data and an evaluated model.

## Language segmentation and script coverage

The first level of the multilingual pipeline, `tools/langseg`, assigns a language label to each sentence and span. The second level uses the span label to select a parser model. A sentence can therefore contain spans that call for different models, and the model selected for one span does not determine the model selected for its neighbors.

| Input covered by `tools/langseg` | Available distinction |
| --- | --- |
| English and French in Latin script | The Latin table, a lexicon for each language and a character 4-gram model support the distinction. |
| Hebrew script | The segmenter distinguishes Hebrew-script varieties. |
| Hebrew or Aramaic in scholarly transliteration | The segmenter recognizes these languages in scholarly transliteration. |
| Scripts outside the supported coverage | The label is `other`. |

Japanese-script text falls under the `other` treatment. Writing an Old Japanese form in Latin letters puts it in Latin script, but the Latin-script support described here has no Old Japanese lexicon or recognition rule. The package code `ojp` identifies the language of the manual. It does not make the segmenter recognize that language in running text. The available route for adding another Latin-script language uses a lexicon and a `Lang` code, with `langseg latin-lexicon` using open UD training splits. That route concerns language identification in Latin script.

The two renderings below illustrate the distinction between the language of a form and the script in which it reaches the segmenter. They are constructed examples of the input distinction.

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| 山 (constructed) | yama | mountain | ‘mountain’ |
| yama (constructed) | — | mountain | ‘mountain’ |

A language span is a region assigned a language label. Its boundaries do not establish the boundaries between stems, particles and inflectional endings within the span. Those boundaries belong to the tokenization and annotation of the language.

## Model lookup and Parse=None output

At level 2, `tools/mova-parse` looks for the model corresponding to the language of each span. It uses the lookup pattern <code>.bin, with the span’s language code in both positions. When the model file is missing, the `# parse` comment reports the language without a model. The token rows for that span have the following values.

| CoNLL-U field | Value when the span’s model is missing |
| --- | --- |
| LEMMA | `_` |
| UPOS | `_` |
| XPOS | `_` |
| FEATS | `_` |
| HEAD | `_` |
| DEPREL | `_` |
| MISC | `Parse=None` |

There is no level-2 model for `ojp`. For token rows left unannotated by the parser, `Parse=None` records the absence of a parse. In particular, `_` in HEAD leaves the syntactic head unspecified, and `_` in DEPREL leaves the dependency relation unspecified. An empty FEATS field in these rows supplies no evidence about the form’s inflection.

The missing-model report and the language label answer different questions. The report concerns model availability for the label supplied to level 2. The label comes from the segmenter’s script and lexical coverage. A person reading the original text may recognize an Old Japanese passage even where the segmenter can label its script only as `other`. The presence of token rows in the output does not establish that Mova has identified Old Japanese word boundaries.

## Old Japanese treebank availability and unmeasured baselines

Mova holds no annotated Old Japanese corpus. The absence concerns Mova’s holdings. A textual witness, a transcription and a romanized edition can all provide material for linguistic analysis, while a UD treebank supplies tokenized sentences with annotations that can serve as training targets and evaluation references. An edition by itself gives no reference heads or dependency relations against which to score an output tree.

Mova has no measured Old Japanese treebank baseline. Unlabeled attachment score (UAS) measures the proportion of evaluated tokens assigned the reference head. Labeled attachment score (LAS) requires both that head and the reference dependency relation to agree. A missing evaluation has no numerical value for either measure. The missing-model marker records an output condition and supplies no attachment score.

| Item | State in Mova for `ojp` |
| --- | --- |
| Annotated treebank | Absent |
| Level-2 parser model | Absent |
| UAS baseline | Unmeasured |
| LAS baseline | Unmeasured |

Treebank availability and model availability are separate facts. The first concerns the examples and reference analyses available to the training and evaluation workflow. The second concerns whether the multilingual pipeline can load a model for a span. Both are absent for Old Japanese.

## The standard training and evaluation workflow

[What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same treebank baseline for every language. Mova’s own parser and tagger are in the `en` crate. The standard workflow uses a UD training split for learning and a development split for scoring.

| Stage | Command | Role |
| --- | --- | --- |
| Prepare the training data | `en xpos-fill` | Prepare the UD training split before training. |
| Train | `en train` | Train the tree parser and tagger on the prepared training split. |
| Evaluate | `en parse-eval` | Measure UAS and LAS on development data after training on the training split. |

The split matters to the interpretation of the numbers. The training split supplies the analyses the system learns from. The development split supplies reference analyses against which it is evaluated. The resulting scores describe attachment under that evaluation, with its particular data and annotation. They do not measure language identification or the quality of frame and pragmatic interpretation.

Mova has models for English and French, `en.bin` and `fr.bin`. No Old Japanese training and development data are held in Mova, so there is no result from the standard workflow for `ojp`. Running a mixed-language document through the multilingual pipeline is a separate operation from evaluating against a UD development split. Its output can show that a model was unavailable, while evaluation requires reference trees for comparison.

## Dependencies of frames and pragmatics on parsed input

Mova’s frame processing, pragmatics and world components read English trees. Where a span has no parse, there is no tree from that span for these components to read. A language label gives them no predicate, no dependency relations and no syntactic links between a predicate and its participants.

Consider a short Old Japanese clause as an illustration of the information at issue. The gloss describes the human analysis.

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| 鳥鳴く (constructed) | tori naku | bird cry.FIN | ‘A bird calls.’ |

Reading *naku* as the predicate and *tori* as its subject relates the calling event to the bird. A row with `_` in HEAD and DEPREL carries neither the attachment nor its label. The translation supplies an interpretation for the reader, but it cannot serve as the source clause’s dependency tree. The same distinction applies to discourse and pragmatic analyses that depend on knowing which expressions are related in the parsed clause.

An Old Japanese tree would provide the grammatical input that is currently absent. The stated coverage of the downstream components is English trees. Training an Old Japanese parser therefore addresses the missing tree at level 2, while downstream Old Japanese interpretation is a separate question of coverage.

## From manual claims to Squid’s implementation queue

Squid reads the grammar manual and records each grammatical point as a claim. Formalizable claims, including rules, closed lists and statistics, wait in its queue for a place in Mova’s code. A claim’s presence in the queue records that it is available for implementation. It does not show that any component applies it to text.

For Old Japanese, the first points in implementation order are those that tokenization, tagging and a UD treebank baseline need. The same grammatical description can inform several decisions. A stem and an attached element may need to be distinguished for morphological analysis, for instance, while the treebank also needs an explicit decision about whether the material is represented in one token or several. The manual’s description of the element and the treebank’s segmentation convention answer different parts of that problem.

| Area | Information the grammar can supply |
| --- | --- |
| Tokenization | Conditions for boundaries, including where an attached element can be distinguished from the form that hosts it. |
| Tagging | Word classes and inflectional categories, with the environments and exceptions that determine which analysis applies. |
| Treebank annotation | Evidence for heads and dependency relations in constructions where more than one analysis is plausible. |
| Baseline evaluation | The distinctions that reference annotation must represent for the corresponding parser decisions to be evaluated. |

A closed inventory is most readily formalized when the claim specifies the construction it belongs to, all its members and any restrictions on their occurrence. An inflectional rule needs the forms or classes it applies to and its exceptions. When a distinction depends on evidence that a spelling does not supply, a description of the possible analyses can guide annotation without forcing a unique analysis from the spelling alone.

Claims about interpretation also belong in the grammar. Their place in the implementation queue does not change the inputs available to the parser or its downstream consumers. Before an attachment score can test a construction, that construction must be represented in the annotated evaluation data and the relevant decision must be scored by the attachment measure.

## How Mova handles Old Japanese today

`tools/mova-parse` runs language segmentation at level 1 and model-based parsing at level 2. `tools/langseg` labels sentences and spans. It distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage receive `other`. The route for adding a further Latin-script language uses a lexicon from an open UD training split through `langseg latin-lexicon` and a `Lang` code. Language identification for a span depends on the segmenter knowing its script or lexicon.

At level 2, the parser uses the model file for the span’s language. No such model exists for `ojp`. A missing model is reported in the `# parse` comment. The affected tokens receive `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with `Parse=None` in MISC. Mova provides no Old Japanese tokenization, tagging, lemmatization or parsing.

Mova holds no Old Japanese treebank and has no measured treebank baseline for the language. The standard baseline in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en xpos-fill` before `en train`, which trains the tree parser and tagger on a UD training split. `en parse-eval` measures UAS and LAS on the development split. The available models are `en.bin` and `fr.bin`.

Mova’s frames, pragmatics and world components, including `prag` and `world`, read English trees. Old Japanese supplies no parsed input to them. Squid records the manual’s grammatical points as claims and queues formalizable rules, closed lists and statistics. The Old Japanese rules are unimplemented. The points needed for a tokenizer, a tagger and a UD treebank baseline come 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/ja/ojp/sources/)).
- [← previous 26. Contextual Inference and Figurative Language](https://md.mova.elamur.ai/free/en/docs/languages/ja/ojp/26-inference-and-figurative-language/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ja/ojp/sources/)
- [↑ back to Old Japanese (ojp) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ja/ojp/)

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