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/de/de-x-ch/22-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/) / [German](https://md.mova.elamur.ai/free/en/docs/languages/de/) / [de-x-ch](https://md.mova.elamur.ai/free/en/docs/languages/de/de-x-ch/) / 22. Swiss Standard German in Mova

# 22. Swiss Standard German in Mova

Mova has a language code for the Swiss Standard German edition, `de-x-ch`. Its multilingual pipeline assigns languages to sentences and spans, then looks up a parser model for each span. Swiss Standard German has no model or annotated treebank in Mova. These gaps affect which annotations the pipeline can return, which measurements the language package can report, and what frames and pragmatics can use.

## Language identification and Swiss Standard German

Language identification is level 1 of `tools/mova-parse`. It uses `tools/langseg` to assign a language to every sentence and span. The span is the unit used for the next stage. Where a text contains spans with different language labels, each span has its own model lookup.

| Input covered by language identification | Distinctions made |
| --- | --- |
| Latin script | English and French, using a Latin table, a lexicon for each language and a character 4-gram model |
| Hebrew script | Hebrew-script varieties |
| Scholarly transliteration | Hebrew or Aramaic |
| Other scripts | `other` |

The current Latin-script coverage does not include a Swiss Standard German distinction. The edition code `de-x-ch` names the language in the manual and the package. An edition code alone supplies no lexical evidence for identifying that language in running text. The label `other` in the table is the fallback for other scripts. Swiss Standard German uses Latin script, so that fallback gives no Swiss Standard German identification.

Adding a Latin-script language to `tools/langseg` requires a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds lexicons from open Universal Dependencies (UD) training splits. This is the language identification step. The model used to annotate a span is looked up separately.

For example, consider a sentence with the Swiss spelling *Strasse*. It illustrates the kind of text the edition describes.

> Die Strasse ist nass. `DEF.NOM.SG.F street be.PRS.3SG wet` ‘The street is wet.’ (constructed)

The gloss gives the grammatical interpretation of the example. It is supplied here for the reader. A Swiss spelling in the input does not establish what language label the current identifier will assign to the sentence.

## Model lookup and unannotated output

At level 2, `tools/mova-parse` looks for the model named for the language assigned to each span, in that language’s `models` directory under `$MOVA_DATA`. The model filename uses the language code and the `.bin` extension. Mova has models for English (`en.bin`) and French (`fr.bin`). There is no level-2 model for `de-x-ch`.

When a span’s language has no model, the `# parse` comment reports the missing model. Any token rows for that span carry the following values.

| Column | Value | Annotation absent |
| --- | --- | --- |
| `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 |
| `MISC` | `Parse=None` | A dependency parse for the span |

The comment identifies the missing-model condition. The underscores are the values left in the individual annotation columns, and `Parse=None` records that the row has no parse. The presence of rows in this output is insufficient evidence of a Swiss Standard German tokenizer. Mova has no tokenization, tagging, lemmatization or parsing for the variety.

These output values apply when the model lookup encounters a language without a model. A Swiss Standard German sentence in the input poses an earlier question as well, because its span must first receive a language label. The output convention specifies what happens for a span assigned a code with no model. It gives no prediction of the label that level 1 will assign to a given Swiss spelling or sentence.

## Treebank availability and baseline measurements

Mova holds no annotated treebank of Swiss Standard German and has no measured treebank baseline for `de-x-ch`. This is a statement about the resources in Mova. The package template in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) asks for the same train-to-development baseline for each language.

The `en` crate contains Mova’s tree parser and tagger. In the baseline workflow, `en xpos-fill` precedes `en train`, which trains on the language’s UD training split. `en parse-eval` measures the resulting parser on the development split. The training split supplies the annotated examples used to fit the model. The development split supplies reference analyses for measuring the model’s predictions.

| Measure | What counts as correct |
| --- | --- |
| Unlabeled attachment score (UAS) | The predicted syntactic head agrees with the reference head. |
| Labeled attachment score (LAS) | The predicted head and dependency relation both agree with the reference. |

The two measures answer different questions about the same dependency analysis. A predicted attachment with the right head and the wrong relation counts as correct for UAS alone. Both measures need a predicted tree and a reference analysis. Consequently, the unannotated output for Swiss Standard German supplies no attachment score. The absent baseline is an unmeasured result. The English and French model files belong to their respective languages and provide no baseline for `de-x-ch`.

## Dependencies of frames and pragmatics

Mova’s frames, pragmatics and world components, including `prag` and `world`, read English trees. For another language, a parse is a prerequisite for those components to have a tree to read. The current Swiss Standard German package supplies no such tree.

In a dependency analysis, `HEAD` and `DEPREL` record where a word attaches and the relation it bears to its head. For example, identifying a noun phrase as a subject requires a syntactic relation, even when its form or its position in the sentence offers a clue. The missing-model output leaves both dependency columns empty of analysis. Neither a span label nor a row with `Parse=None` supplies the structure that a component consuming trees would need.

The current tree input to the frames, pragmatics and world components is English. A Swiss Standard German parser would supply the missing tree prerequisite, while the existing input coverage of those components would still be a separate matter. The analyses described in the manual explain properties of Swiss Standard German sentences and discourse. A grammar description alone supplies no tree or downstream annotation for a particular text.

## Squid’s grammar claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. It queues formalizable claims for implementation in Mova’s code. These include rules with stated conditions, lists with a defined membership and statistics. When a rule applies only in a specified environment, that environment is part of the claim. Its exceptions matter to the same claim because they delimit the forms or constructions the rule covers.

A queued claim records a point awaiting implementation. It gives neither an annotation for a sentence nor a measured result for a model. For instance, a statement about the conditions for a Swiss spelling can be relevant to recognizing written forms. A parser baseline still requires annotated training and development data and a run of the evaluation. The grammar and the baseline thus have different evidence behind them. One states the conditions for an analysis, while the other measures attachment predictions against a treebank.

The first claims relevant to a language without a model concern what a tokenizer, a tagger and a UD treebank baseline need. A tokenizer needs decisions about where token boundaries fall. A tagger needs the categories assigned to those tokens. A treebank baseline needs dependency analyses in the data used to train and evaluate the parser. The manual can describe the language facts relevant to these decisions before they are implemented. None of the chapter’s rules is currently implemented for Swiss Standard German.

## How Mova handles Swiss Standard German today

`tools/mova-parse` uses `tools/langseg` to label sentences and spans at level 1. Its current Latin-script distinctions are English and French. An additional Latin-script language requires a lexicon and a `Lang` code. `langseg latin-lexicon` builds lexicons from open UD training splits.

Level 2 uses each span’s language to select a model. For `de-x-ch`, the model is missing. The `# parse` comment reports a language without a model, and its token rows have `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, with `Parse=None` in `MISC`. Mova has no Swiss Standard German tokenization, tagging, lemmatization or dependency parsing.

Mova holds no Swiss Standard German treebank and has measured no baseline for the variety. The baseline requested in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) uses `en xpos-fill` before `en train` on the UD training split and `en parse-eval` for UAS and LAS on the development split. The available models are `en.bin` and `fr.bin`.

The frames, pragmatics and world components, including `prag` and `world`, read English trees. They have no Swiss Standard German tree to read. Squid records grammatical points as claims and queues formalizable claims for implementation. Those claims remain pending for Swiss Standard German, with the needs of 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/de/de-x-ch/sources/)).
- [← previous 21. Implicit and figurative meaning](https://md.mova.elamur.ai/free/en/docs/languages/de/de-x-ch/21-implicit-and-figurative-meaning/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/de/de-x-ch/sources/)
- [↑ back to Swiss Standard German (de-x-ch) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/de/de-x-ch/)

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