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/hsb/28-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/) / [hsb](https://md.mova.elamur.ai/free/en/docs/languages/hsb/) / 28. Upper Sorbian in Mova

# 28. Upper Sorbian in Mova

Upper Sorbian uses the language code `hsb`. Mova’s multilingual pipeline assigns language labels before it looks up a parser model for each span. There is no Upper Sorbian model or annotated Upper Sorbian treebank in Mova. This chapter describes the output at that boundary and the data needed to establish a parsing baseline.

## Language segmentation and the hsb model lookup

At level 1, `tools/langseg` assigns a language label to each sentence and span. A sentence can contain spans with different labels. At level 2, `tools/mova-parse` uses the span’s label to select the model file. The lookup follows the pattern <code>.bin, which gives hsb.bin for a span labelled `hsb`.

The Latin-script recognizer distinguishes English and French using a Latin table, a lexicon for each language and a character four-gram model. The segmenter also distinguishes Hebrew-script varieties and recognizes scholarly transliteration of Hebrew or Aramaic. Scripts outside its recognized inventory receive `other`. Upper Sorbian is written in Latin script, and the current Latin recognizer has no dedicated Upper Sorbian entry. The missing-model behavior for a span labelled `hsb` is therefore a separate issue from whether that label is assigned to Upper Sorbian input in the first place.

The extension for another Latin-script language requires a lexicon and a `Lang` code. The lexicon route uses `langseg latin-lexicon` with an open Universal Dependencies (UD) training split. The span label supplies the code for model lookup, and the model file supplies the annotations. A multilingual input can thus have model-backed output for one span and missing-model output for another.

## Current parse output and annotation fields

For a span whose language has no model file, `tools/mova-parse` reports the missing model in the `# parse` comment. The table lists the fields affected on the span’s output rows. It applies to any span that reaches model lookup with the label `hsb`.

| Field | Information normally recorded | Missing-model output |
| --- | --- | --- |
| `LEMMA` | Dictionary form | `_` |
| `UPOS` | Universal part of speech | `_` |
| `XPOS` | Language-specific part-of-speech tag | `_` |
| `FEATS` | Morphological features such as case or number | `_` |
| `HEAD` | Index of the word’s syntactic head, or zero for a root | `_` |
| `DEPREL` | Relation to the head, or the root relation | `_` |
| `MISC` | Miscellaneous metadata | Contains `Parse=None` |

The six underscores together indicate that these annotations are unavailable for the span. In particular, a missing `HEAD` leaves the attachment undetermined. A missing `FEATS` in this output gives no evidence about which grammatical features a word has. Rows with `Parse=None` can carry input forms while providing no Upper Sorbian tokenization, tagging, lemmatization or dependency analysis.

The phrase “swobodneje encyklopedije” illustrates the distinction between the forms in the input and the annotations a reader can supply (`wiki:hsb:Hłowna strona`, CC BY-SA 4.0).

| Form | Gloss |
| --- | --- |
| swobodneje | free.GEN.SG.F |
| encyklopedije | encyclopedia.GEN.SG.F |

Translation in context is “of the free encyclopedia.” The gloss identifies feminine singular genitive forms. In the missing-model output, the feature column supplies no such analysis.

## Corpus availability and the status of UAS and LAS measurements

Mova has Upper Sorbian text excerpts, including Wikipedia material identifiable by sentence ID. These excerpts provide attested forms and contexts. Mova has no annotated Upper Sorbian treebank. A sentence ID identifies a text example, while evaluation requires reference annotations that specify the words, their heads and their dependency relations.

Unlabelled attachment score (UAS) is the proportion of scored words whose predicted head matches the reference head. Labelled attachment score (LAS) is the proportion whose predicted head and dependency relation both match the reference. A correct head with an incorrect relation counts toward UAS alone. The scores concern syntactic attachments, so they do not directly measure language identification, lemmatization, morphological tagging, frame analysis or pragmatic interpretation.

The package has no measured Upper Sorbian treebank baseline. Both scores are unmeasured, and the presence of `Parse=None` is a model availability diagnostic. English and French have parser models, but their measurements cannot serve as Upper Sorbian results. An Upper Sorbian result requires predictions and reference annotations for the same Upper Sorbian evaluation material.

## Training and evaluation for a future baseline

The language package described in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for a common baseline for each language. For Upper Sorbian, this requires UD training data for fitting the model and a development split with reference trees for evaluating it. The training annotations need to represent the word boundaries, tags, morphological features, heads and relation labels used for the baseline. Decisions such as how to represent reflexive forms and how to encode dual number need consistent treatment wherever they affect those annotations.

| Stage | Input and operation |
| --- | --- |
| Prepare the training data | Use the UD training split and run `en xpos-fill` before training. |
| Train | Run `en train` on the prepared training split to fit the parser and tagger. |
| Evaluate | Use `en parse-eval` to measure UAS and LAS on the development split after training. |

The direction is train to development. Development trees provide the reference attachments for the two scores. For a comparable baseline, the reported results need to identify the splits and the scoring conditions, including which words count toward the scores. Training a model provides the level-2 component. Using that component on multilingual input also depends on level 1 assigning `hsb` and on the model file being available under that code.

## Squid claims and the implementation queue

Squid reads the grammar manual and represents each grammatical point as a claim. Formalizable claims enter the implementation queue. These include rules with stated conditions and exceptions, closed inventories and statistics. A queued claim records something that can be represented in code. Its status in the queue gives no evidence that a parser can apply it.

For a language package at this stage, the first claims of practical relevance are those needed to define tokenization, tagging and a UD treebank baseline. Tokenization claims specify where the words are. Tagging claims specify how word classes and features apply. Treebank claims specify which word is the head and which relation links a dependent to it. Each decision supplies a different part of the reference analysis.

For example, “při Sprjewi” contains a preposition and a locative proper name (`wiki:hsb:Budyšin`, CC BY-SA 4.0).

| Form | Gloss |
| --- | --- |
| při | by |
| Sprjewi | Spree.LOC.SG |

Translation is “by the Spree.” The locative is a morphological property of the name. Its relation to the rest of the clause concerns syntax. A recorded morphological claim can guide annotation of the name, while the reference tree must also specify the phrase’s attachment.

## Dependencies of frame and pragmatic analysis

The frame, pragmatic and world components currently read English trees. For Upper Sorbian input, there is no native dependency tree from the multilingual pipeline for those components to consume. A language label identifies a span, and the unannotated output records the absence of a parse. Neither supplies a predicate’s dependency links or the structure of its arguments and modifiers.

An Upper Sorbian dependency parser would supply the first missing input. The current English-tree interface also leaves open how Upper Sorbian trees would be used by the downstream components. Attachment scores quantify agreement with syntactic references. They do not quantify the accuracy of semantic frames, reference resolution, speech-act analysis or other pragmatic interpretations.

## How Mova handles Upper Sorbian today

`tools/mova-parse` assigns sentence and span languages through `tools/langseg` at level 1 and looks up each span’s parser model at level 2. The current Latin-script recognizer distinguishes English and French. Adding another Latin-script language requires a lexicon and a `Lang` code, with `langseg latin-lexicon` providing the route from an open UD training split.

There is no level-2 `hsb` model. For a span labelled `hsb`, `tools/mova-parse` reports the missing model in the `# parse` comment, writes `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, and sets `Parse=None` in `MISC`. Mova lacks Upper Sorbian tokenization, tagging, lemmatization and parsing.

Mova has no annotated Upper Sorbian treebank and no measured Upper Sorbian baseline. The baseline in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en xpos-fill` before `en train`, then `en parse-eval` to measure UAS and LAS from training to development. Mova has models for English (`en.bin`) and French (`fr.bin`).

Mova’s frame, pragmatic and world analyses, including `prag` and `world`, read English trees. Upper Sorbian currently supplies no parsed input for them. Squid records the manual’s grammatical points as claims and queues the formalizable ones. The Upper Sorbian rules are still unimplemented. The first points needed are those 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/hsb/sources/)).
- [← previous 27. Implicature, presupposition and figurative meaning](https://md.mova.elamur.ai/free/en/docs/languages/hsb/27-implicature-and-figurative-language/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/hsb/sources/)
- [↑ back to Upper Sorbian (hsb) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/hsb/)

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