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/lt/sgs/24-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/) / [lt](https://md.mova.elamur.ai/free/en/docs/languages/lt/) / [sgs](https://md.mova.elamur.ai/free/en/docs/languages/lt/sgs/) / 24. Samogitian in Mova

# 24. Samogitian in Mova

Samogitian has a grammar manual and example text in Mova, under the language code `sgs`. Its parser package still lacks a language model and an annotated treebank. This chapter describes the output available for Samogitian spans and the data needed to measure parsing and supply trees to later stages.

## Language identification and Latin-script support

Mova handles language identification before syntactic parsing. At level 1, `tools/langseg` assigns a language to each sentence and span. This distinction matters in mixed text, where a sentence can contain spans in several languages. At level 2, `tools/mova-parse` uses the span's language to select a parser model.

Samogitian is written in Latin script. For Latin text, the current language identifier distinguishes English and French using a Latin character table, a lexicon for each language, and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage are reported as `other`. Recognition of Latin letters, including letters with diacritics, gives script information. Reliable Samogitian identification requires recognition of Samogitian word forms.

Adding a Latin-script language to the identifier requires a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds a lexicon from open Universal Dependencies (UD) training splits. The edition code `sgs` identifies the language described in this manual. A language assignment in parser output comes from the identifier's supported inventory and evidence for the span.

The corpus includes source text with different languages close together. In the Samogitian article on the Curonian Lagoon, the label “lietovėškā” introduces the Lithuanian name. Such labels belong to the source text and can provide evidence about the adjacent span.

| Form | Gloss | Translation | Corpus ID |
| --- | --- | --- | --- |
| “lietovėškā” | Lithuanian.ADV | ‘in Lithuanian’ | `wiki:bat_smg:Koršiu marės` |
| “Kuršių marios” | Curonian.GEN.PL lagoon.NOM.PL | ‘the Curonian Lagoon’ | `wiki:bat_smg:Koršiu marės` |

## Parser model availability and output for unparsed spans

At level 2, `tools/mova-parse` looks for a model under the code of the language assigned to each span. The model is stored in the `models` subdirectory for that language under `$MOVA_DATA`, with the language code as its filename stem and `.bin` as its extension. Mova has English and French models. There is no level-2 model for `sgs`.

For a span assigned to a language whose model is missing, the `# parse` comment reports the missing model. The fallback writes token rows with the following field values. This convention applies to Samogitian spans that reach level 2 with the `sgs` code.

| Field | Value | Interpretation |
| --- | --- | --- |
| LEMMA | `_` | Lemma unavailable |
| UPOS | `_` | Universal part-of-speech tag unavailable |
| XPOS | `_` | Language-specific part-of-speech tag unavailable |
| FEATS | `_` | Morphological features unavailable |
| HEAD | `_` | Syntactic head unavailable |
| DEPREL | `_` | Dependency relation unavailable |
| MISC | `Parse=None` | The span has no parser analysis |

A token row in this output records a surface form. Samogitian tokenization, tagging, lemmatization and dependency analysis are unavailable. An underscore in `HEAD` leaves the head unspecified. An underscore in `FEATS` leaves the features unspecified, so it supplies no evidence about whether the form expresses a given feature.

The form “Lietovuos” illustrates what the fallback leaves open. Its genitive gloss here is a grammatical analysis of the source text. The parser would leave the morphology and the syntactic attachment of the name blank in an unparsed Samogitian span.

| Form | Gloss | Translation | Corpus ID |
| --- | --- | --- | --- |
| “Lietovuos vieleva” | Lithuania.GEN flag.NOM.SG | ‘Lithuania's flag’ | `wiki:bat_smg:Lietova` |

## Treebank availability and baseline measurements

Mova has Samogitian corpus examples and lacks an annotated Samogitian treebank. The examples give attested spelling and usage with source identifiers. A UD treebank supplies the token boundaries, word-level annotations and dependency structures needed to train the parser and compare its output with a reference analysis. For instance, a corpus fragment with a decimal range and an abbreviation gives material for a tokenization decision. A treebank records the resulting boundaries and analysis explicitly.

| Form | Gloss | Translation | Corpus ID |
| --- | --- | --- | --- |
| “aple 0,2-0,5 mln.” | about 0.2–0.5 million.ABBR | ‘about 0.2–0.5 million’ | `wiki:bat_smg:Žemaitiu kalba` |

The baseline requested in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) is the same for each language. Mova's parser and tagger are in the `en` crate. After `en xpos-fill`, `en train` trains on the language's UD training split. `en parse-eval` evaluates the resulting parser on the development split and reports unlabeled and labeled attachment scores.

| Measure | What counts as correct |
| --- | --- |
| Unlabeled attachment score (UAS) | The predicted head matches the reference head. |
| Labeled attachment score (LAS) | The predicted head and dependency relation both match the reference annotation. |

A train-to-development baseline requires both splits. The training split supplies annotated examples for fitting the model. The development split supplies the reference trees for scoring. Mova has measured neither UAS nor LAS for Samogitian because it has no annotated corpus for this baseline. `Parse=None` gives the status of an individual span and carries no attachment score.

## Inputs required by frames and pragmatics

The frame, pragmatic and world components depend on parsed input. Mova's current components read English trees. For Samogitian, the first missing input is a tree of the span, with dependency heads and relations available to later stages. Language identification can select a model when one exists. The language label itself gives no information about the structure of a predicate and its dependents.

A possessive nominal such as “Lietovuos vieleva” contains a dependent that identifies whose flag is meant. In the manual, the gloss and translation convey that relation to the reader. In a tree, the dependent's attachment and relation would be recorded explicitly. The unparsed output has no such record for a frame or pragmatic component to read. Parsing is the prerequisite for further processing of Samogitian. The current downstream readers are English-tree readers.

## Grammar claims and the Squid queue

Squid reads the grammar manual and turns each grammatical point into a claim. Rules, closed lists and statistics can be formalized and queued for a place in Mova's code. A queued claim records material for possible implementation. Implementation has its own status, so the coverage of the manual can exceed the coverage of the parser.

The first claims relevant to a baseline are those that bear on tokenization, tagging and UD treebank annotation. For tokenization, spelling and punctuation claims help specify where words and punctuation separate. For tagging, claims about word classes and inflection help specify which categories and features an annotation should record. For a treebank, claims about phrase and clause structure help specify heads and dependency relations. In each case, the conditions and exceptions belong to the claim. A corpus citation identifies an attested instance, and a treebank annotation records the analysis of a particular occurrence.

These stages yield different evidence about the package. Publication in the manual shows that a point has been described. Entry in the queue shows that the point can be represented for possible implementation. A parser baseline measures agreement with reference trees after a model has been trained. For Samogitian, the manual and the corpus examples are available, while the rules await implementation and the parser baseline remains unmeasured.

## How Mova handles Samogitian today

`tools/mova-parse` first uses `tools/langseg` to assign languages to sentences and spans, then selects a model for each span by its language code. Language identification is limited to the scripts and lexicons the identifier knows. For Latin script, the current distinction is between English and French. A further Latin-script language requires a lexicon and a `Lang` code, with `langseg latin-lexicon` available to build a lexicon from open UD training data.

There is no level-2 parser model for `sgs`. When a span carries that code, the `# parse` comment reports the missing model and its token rows carry `Parse=None` in MISC. LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL all contain `_`. Samogitian tokenization, tagging, lemmatization and parsing remain unavailable.

Mova has no annotated Samogitian treebank and has measured no Samogitian 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` on a UD training split, then `en parse-eval` to measure UAS and LAS on the development split. The existing models are `en.bin` for English and `fr.bin` for French.

Mova's frames, pragmatics and world components read English trees and have no Samogitian parse to read. Squid turns points from this manual into claims and queues formalizable rules, closed lists and statistics. The chapter's rules await implementation. The first points needed are those that support 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/lt/sgs/sources/)).
- [← previous 23. Address, speech acts and implied meaning](https://md.mova.elamur.ai/free/en/docs/languages/lt/sgs/23-address-and-pragmatics/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/lt/sgs/sources/)
- [↑ back to Samogitian (sgs) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/lt/sgs/)

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