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/sh/cnr/36-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/) / [sh](https://md.mova.elamur.ai/free/en/docs/languages/sh/) / [cnr](https://md.mova.elamur.ai/free/en/docs/languages/sh/cnr/) / 36. Montenegrin in Mova

# 36. Montenegrin in Mova

Mova has neither a Montenegrin model for Universal Dependencies (UD) parsing nor an annotated Montenegrin treebank. This chapter follows text through language identification, model lookup and syntactic annotation, then explains what the missing treebank means for evaluation and for the work recorded in Squid.

## Script recognition and the limits of language segmentation

Level one of `tools/mova-parse` uses `tools/langseg` to assign language labels to sentences and spans within them. A label determines which language model level two looks for. The scope of identification depends on the script and on the languages for which the segmenter has evidence.

| Input | Identification supported by `tools/langseg` |
| --- | --- |
| Latin script | English and French, using a Latin table, a lexicon for each language and a character model based on sequences of four characters |
| Hebrew script | Hebrew-script varieties |
| Scholarly transliteration | Hebrew or Aramaic |
| Other scripts | The label `other` |

Montenegrin uses both Latin and Cyrillic. Latin-script Montenegrin is within the script used by the English and French recognizer, but Montenegrin has no language-specific identification in the current Latin configuration. Cyrillic falls in the `other` category. That category groups scripts outside the supported recognition paths and gives no Montenegrin language label.

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| *Ovo je knjiga.* | — | this.N.SG be.PRS.3SG book.NOM.SG | ‘This is a book.’ (constructed) |
| *Ово је књига.* | *Ovo je knjiga.* | this.N.SG be.PRS.3SG book.NOM.SG | ‘This is a book.’ (constructed) |

Both spellings express the same sentence. They illustrate the two scripts, without supplying a measured segmentation result. In a passage with both Montenegrin and a language that the segmenter supports, the labels can serve as a guide to the recognized language. They cannot be used as a reliable inventory of the Montenegrin spans.

The extension described for another Latin-script language adds a lexicon and a `Lang` code. `langseg latin-lexicon` builds the lexicon from open UD training splits. That extension concerns the language label for Latin text. Cyrillic recognition is outside that extension, and syntactic annotation still depends on a separate model.

## Level-two model lookup and unannotated output

At level two, `tools/mova-parse` looks for the model belonging to each span’s assigned language, under the corresponding language code in the model store. Both the language directory and the model filename use that code. A span assigned to Montenegrin requires a `cnr` model. There is no such model.

When the assigned language has no model, the output reports it in the `# parse` comment. The token rows for the affected span use the following conventions.

| Column | Value when the language model is missing | Information absent from the row |
| --- | --- | --- |
| LEMMA | `_` | Dictionary form |
| UPOS | `_` | Universal part of speech |
| XPOS | `_` | Language-specific part of speech |
| FEATS | `_` | Morphological features |
| HEAD | `_` | Index of the syntactic head, or the root value |
| DEPREL | `_` | Dependency relation |
| MISC | `Parse=None` | A parse for the token |

In this output, `_` in FEATS leaves the morphology unknown. For example, the row gives no basis for deciding whether a form has case or whether case is relevant to its word class. In HEAD, `_` leaves the attachment unknown, including whether the token is the root. These fields are missing together because the model is missing. They are a different situation from an annotated tree in which a particular feature does not apply.

A token row with `Parse=None` exposes the absence of annotation. Even where the output has rows for text from the span, those rows do not establish a Montenegrin tokenization analysis. For instance, they provide no evidence about the treatment of Montenegrin clitics at token boundaries. Mova supplies no Montenegrin tokenization, tagging, lemmatization or dependency analysis through this path.

The missing-model report applies to the label used for lookup. If level one assigns an English or French label to a stretch of Montenegrin, level two looks for the model for that label. Any analysis obtained that way belongs to the assigned model. The presence of populated annotation fields would therefore be insufficient evidence of Montenegrin support.

## Treebank availability and the unmeasured UAS and LAS baseline

Mova’s language package, described in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/), calls for a train-to-development dependency baseline for each language. The training split supplies annotated sentences for fitting the parser and tagger. The development split supplies reference trees for evaluating the trained parser.

| Step | Command | Role |
| --- | --- | --- |
| Prepare the training data | `en xpos-fill` | Fill the language-specific part-of-speech field before training |
| Fit the model | `en train` | Train the tagger and dependency parser on the language’s UD training split |
| Measure attachment | `en parse-eval` | Evaluate the trained parser on the development split using UAS and LAS |

The name `en` identifies Mova’s parser crate. The training procedure takes a language’s UD training data, and Mova has models for English (`en.bin`) and French (`fr.bin`). Those models establish the availability of the parser for their respective languages. Their existence supplies no Montenegrin evaluation data.

| Measure | What counts as a correct attachment |
| --- | --- |
| UAS, unlabeled attachment score | The predicted head matches the reference head |
| LAS, labeled attachment score | Both the predicted head and the predicted dependency relation match the reference annotation |

The distinction matters when a parser attaches a dependent to the right word but assigns the wrong relation. That attachment can count toward UAS and fails the stricter LAS criterion. Both measures require predicted trees and reference annotations for comparison. Language labels and the presence of token rows do not supply either kind of attachment evidence.

Mova holds no annotated Montenegrin corpus or treebank. There is no Montenegrin training and development baseline in the package, and neither UAS nor LAS has been measured. The missing baseline is an absence of measurements. It cannot be read as a score of zero, or used to estimate performance on either script.

## The scope of frames and pragmatics

The frame, pragmatics and world components consume English trees. The relevant downstream components include `prag` and `world`. A language label gives them no dependency structure to read. An unannotated token row likewise gives them no head or relation from which to recover the structure of a clause.

For example, a description of Montenegrin may explain which expression is the predicate and which expressions are its dependents. A frame analysis of a particular utterance still requires an analysis of that utterance. The same distinction holds for pragmatics. A manual can describe the forms of a request or the use of a form of address, while the runtime needs input about what actually occurs in a particular sentence. The current Montenegrin output does not provide that input.

A Montenegrin parse would supply the syntactic prerequisite for downstream analysis. The stated input scope of the current components is English trees. The availability of a Montenegrin model would thus establish a new source of trees, with Montenegrin frame and pragmatic handling still a separate question.

## From manual claims to Squid's implementation queue

Squid reads the grammar manual and records every grammatical point as a claim. A claim expresses a grammatical generalization in a form that can be tracked independently of the chapter containing it. Formalizable claims, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. Their presence in the queue records work awaiting implementation.

A rule needs the conditions that govern its application and any exceptions. A closed list needs a defined scope as well as its full membership. A statistical claim needs a defined population for the quantity it describes. These details distinguish what a formal claim could specify. For example, a statement about the number of forms in a written paradigm is a different claim from a statement about how often those forms occur in annotated text. An attachment score belongs to an evaluation of predicted trees against reference trees.

For a language without a parser model, the first relevant manual points are those needed for a tokenizer, a tagger and a UD treebank baseline. Word boundaries bear on the units that receive annotations. Word classes and morphological distinctions bear on the tags and features assigned to those units. Clause and phrase structure bear on the heads and dependency relations in the reference trees. Documentation of those points helps specify the analysis. The tokenizer, tagger and treebank each require their own implementation or data.

The queue therefore records grammar work even in the absence of a treebank or a model. A rule enters the manual as a description of Montenegrin, and its formalizable content can enter the queue as a claim. The Montenegrin rules described in the manual have yet to be implemented in this parsing pipeline.

## How Mova handles Montenegrin today

`tools/mova-parse` first assigns sentence and span labels through `tools/langseg`. The Latin recognizer distinguishes English and French. The segmenter also recognizes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. It assigns `other` to other scripts, including Cyrillic. The current identification scope does not give reliable Montenegrin spans. For a further Latin-script language, the documented extension uses a lexicon and a `Lang` code, with `langseg latin-lexicon` building the lexicon from open UD training splits.

Level two looks up a parser model for the span’s assigned language. There is no `cnr` model. For a span assigned to a language whose model is missing, the `# parse` comment reports the missing model. The token rows contain `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and `Parse=None` in MISC. Mova supplies no Montenegrin tokenization, tagging, lemmatization or parsing.

[What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same train-to-development baseline for each language. Mova’s `en` crate uses `en train` after `en xpos-fill`, and `en parse-eval` measures UAS and LAS. Models exist for English and French. Mova holds no Montenegrin treebank, so there is no measured `cnr` baseline.

The frame, pragmatics and world facilities, including `prag` and `world`, read English trees. They receive no Montenegrin tree from this pipeline. Squid records the manual’s grammatical points as claims and queues the formalizable ones. The rules remain unimplemented, 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/sh/cnr/sources/)).
- [← previous 35. Montenegrin registers and usage](https://md.mova.elamur.ai/free/en/docs/languages/sh/cnr/35-register-and-usage/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/sh/cnr/sources/)
- [↑ back to Montenegrin (cnr) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/sh/cnr/)

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