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

# 31. Swiss German in Mova

Mova uses `gsw` for Swiss German. Its multilingual pipeline assigns language labels to sentences and spans before it attempts to parse them. Swiss German text is available in Mova’s corpus material, but the package currently has no annotated treebank or parser model.

## The gsw package and its current resources

The corpus excerpts come from the Alemannic Wikipedia and carry identifiers beginning with `wiki:als:`. The prefix identifies the source of the text. The package code `gsw` identifies the language in Mova. A corpus identifier records provenance and does not establish what language label the segmenter will return for a particular passage.

The excerpts provide examples of written Swiss German. They include running prose, article fragments and short entries such as website fields. An excerpt can therefore be useful as evidence for a written form even if it lacks a complete clause. The examples below use short passages from the corpus. All quoted forms are in Latin script. In the glosses, `DEF` marks a definite article, `INDF` an indefinite article, `PL` plural and `PTCP` a participle.

| Corpus identifier | Form | Gloss | Translation |
| --- | --- | --- | --- |
| `wiki:als:Kernenergie` | *Chernenergi oder Atomenergi* | nuclear-energy or atomic-energy | ‘nuclear energy or atomic energy’ |
| `wiki:als:Teuchel` | *Rööre us Holz* | pipe.PL from wood | ‘pipes made of wood’ |
| `wiki:als:Nolwenn Leroy` | *a frànzeescha Sàngera* | INDF French singer | ‘a French singer’ |

The package has no Swiss German corpus with Universal Dependencies (UD) annotations. The supplied excerpts show the surface forms in context. A UD treebank would also supply reference word boundaries, lemmas, tags, features and dependency analyses for use in training and evaluation.

## Language segmentation and Latin-script coverage

The first level of the multilingual pipeline assigns a language to each sentence and to spans within it. The span is the unit passed to the second level for parsing. Sentence-level language and span-level language can matter independently when an article contains a name or quoted material from another language.

Swiss German uses Latin script, which it shares with several other languages. The documented Latin-script distinction is between English and French. It uses a Latin table, a separate lexicon for each supported language and a model of four-character sequences. On the coverage described here, a Latin-script passage from a Swiss German corpus does not have a documented route to a `gsw` label. A corpus label and an automatically assigned span label answer different questions.

The written forms in the corpus also show why extending Latin-script coverage calls for language-specific data. Forms such as *Rööre* and *frànzeescha* contain different vowel spellings and diacritics. A name inside an excerpt can follow another language’s spelling conventions. The system has separate coverage for Hebrew-script varieties and for Hebrew or Aramaic in scholarly transliteration. Scripts outside its listed coverage receive `other`.

## Parser output without a gsw model

At the second level, the multilingual parser looks up a model for the language assigned to each span. The missing-model behavior applies when the span is identified as `gsw`. Since there is no `gsw` model, the output records the missing model in the `# parse` comment and leaves the linguistic fields below unfilled on the span’s token rows.

| Output field | Value | Information left unfilled |
| --- | --- | --- |
| `LEMMA` | `_` | Base form |
| `UPOS` | `_` | Universal part of speech |
| `XPOS` | `_` | Language-specific part of speech |
| `FEATS` | `_` | Morphological features |
| `HEAD` | `_` | Index of the syntactic head |
| `DEPREL` | `_` | Relation to the syntactic head |
| `MISC` | `Parse=None` | Status marker for the absent parse |

These values describe the annotation returned by Mova. An underscore under `FEATS` leaves the features unspecified, and an underscore under `HEAD` leaves the syntactic attachment unspecified. A token row carrying `Parse=None` supplies no evidence that a Swiss German tokenizer determined where the word begins or ends. The missing-model behavior also does not tell the reader how the segmenter labeled other spans in the same text.

## Treebank training and baseline measurements

The package asks for a comparable baseline for each language. Mova’s parser and tagger train on the language’s UD training split after preparation of the language-specific part-of-speech field. Evaluation uses the development split. The distinction between the splits matters because the development split provides reference analyses for text held out from training.

The evaluation reports unlabeled attachment score (UAS) and labeled attachment score (LAS). UAS measures how often the parser selects the reference syntactic head. LAS measures how often it selects both that head and the reference dependency relation. A correct head with the wrong relation counts as correct for UAS and incorrect for LAS. Testing language labels on raw excerpts would address a different task and would supply neither score.

Mova has no measured Swiss German treebank baseline. The corpus excerpts provide text, but they lack the reference heads and relations that attachment scoring requires. The available English and French models belong to their respective languages and do not provide a Swiss German baseline.

## Dependencies of frames and pragmatics on parsed trees

Mova’s frame, pragmatic and world components read English trees. For Swiss German, the absence of a parsed tree blocks the pipeline before those components have a syntactic input. The current English input coverage is a separate limit to what can be inferred about downstream processing from the existence of a parser for a language.

A passive fragment illustrates the distinction between a reading available to a person and the analysis available in the pipeline.

| Corpus identifier | Form | Gloss | Translation |
| --- | --- | --- | --- |
| `wiki:als:Kernenergie` | *werre chemischi Elemente in anderi umgwandelet* | become chemical element.PL into other.PL transform.PTCP | ‘chemical elements are transformed into others’ |

The excerpt expresses a transformation in which the chemical elements undergo the change. In an unannotated output row, the head and relation fields give a downstream component no analysis connecting *Elemente* to the predicate. Likewise, a language label alone supplies no syntactic basis for a frame or a pragmatic interpretation.

## Squid claims and implementation status

Squid reads the grammar manual and turns each grammatical point into a claim. A rule, a closed list or a statistic that can be formalized goes into the queue for a place in Mova’s code. Its place in the queue records that the claim is awaiting implementation. Descriptions and examples in this manual therefore document the language even where Mova’s output supplies none of the corresponding analyses.

For a package at this stage, the first points that matter to implementation are those needed by a tokenizer, a tagger and a UD treebank baseline. Word boundaries affect what a tagger can label. Tags and dependency analyses in the treebank provide the targets for training and the reference for evaluation. The claims queue and the baseline measure different things. The queue holds formalizable grammatical points, while a baseline measures the output of a trained parser against annotated text.

## How Mova handles Swiss German across the pipeline

In `tools/mova-parse`, level 1 uses `tools/langseg` to label sentences and spans. Its documented Latin-script coverage distinguishes English and French. The route for adding another Latin-script language is to add a `Lang` code and a lexicon from open UD training splits, using `langseg latin-lexicon`. Identifying a Swiss German span depends on the segmenter’s script or lexicon coverage.

Level 2 uses the model file for the language of each span. For a `gsw` span, the missing model is reported in `# parse`. The token rows carry `_` in `LEMMA`, `UPOS`, `XPOS`, `FEATS`, `HEAD` and `DEPREL`, with `Parse=None` in `MISC`. Mova currently provides no Swiss German tokenization, tagging, lemmatization or dependency parsing.

The `en` crate provides the training and evaluation tools. After `en xpos-fill`, `en train` trains the tree parser and tagger on the UD training split. `en parse-eval` measures UAS and LAS on the development split. Models exist as `en.bin` and `fr.bin`. The common baseline specified in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) is unmeasured for `gsw` because Mova holds no annotated Swiss German treebank.

The frame, pragmatic and world components, including `prag` and `world`, read English trees. Swiss German currently provides them with no parsed tree. Squid records grammatical points as claims and queues those that can be formalized. The Swiss German rules described in the manual are still awaiting implementation.

## 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/gsw/sources/)).
- [← previous 30. Register, medium and language choice](https://md.mova.elamur.ai/free/en/docs/languages/de/gsw/30-register-and-medium/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/de/gsw/sources/)
- [↑ back to Swiss German (gsw) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/de/gsw/)

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