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/pl/pl-x-lesserpoland/27-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/) / [pl](https://md.mova.elamur.ai/free/en/docs/languages/pl/) / [pl-x-lesserpoland](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-lesserpoland/) / 27. Lesser Polish in Mova

# 27. Lesser Polish in Mova

The Lesser Polish edition has a grammar manual and the language code `pl-x-lesserpoland`. Mova has neither a dedicated parser model nor an annotated treebank for the variety. The edition, language identification, grammatical annotation and interpretation have separate requirements. The distinction matters when reading output that contains the original text but leaves its grammatical analysis empty.

## 1. The edition and the multilingual parser

The code `pl-x-lesserpoland` identifies the variety described in this manual. It also gives the code under which a dedicated language model would be looked up. Publishing an edition under that code does not add it to the language identifier or create the data needed to train a model.

The multilingual entry point, `tools/mova-parse`, works at two levels. At level 1, `tools/langseg` assigns language labels to sentences and to spans within them. At level 2, the multilingual parser uses the language label of each span to select a model. A sentence can contain spans with different labels, so a sentence-level label alone does not establish which model will handle every part of the sentence.

A model supplies grammatical analyses through the parser and tagger. The relevant output includes lemmas, part-of-speech tags, morphological features and basic dependency relations. An edition code identifies the language package, and a span label supplies a lookup key. Neither is evidence that these annotations were produced. For Lesser Polish, the practical distinction is between text that can be described in the manual and text for which Mova can return a dependency tree.

## 2. Language identification and model lookup

For Latin-script identification, `tools/langseg` distinguishes English and French. It uses a Latin character table, a lexicon for each of those languages and a character four-gram model. A character four-gram is a sequence of four adjacent characters. The identifier also handles varieties written in Hebrew script and Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported script coverage are assigned `other`.

Lesser Polish uses Latin script. Its script therefore does not by itself identify a span as `pl-x-lesserpoland`. The supported Latin-script distinction between English and French does not provide a Lesser Polish category. A distinctive regional spelling may help a reader recognize a form, while a spelling shared with other varieties may give the reader little evidence. In either case, a system needs a supported language category to return that variety's label.

The route for adding a Latin-script language is to add a lexicon and a `Lang` code. The `langseg latin-lexicon` command draws lexicon data from open UD training splits. This work concerns the assignment of labels. The level-2 model is a separate resource. Its filename uses the span's language code followed by `.bin`, and it is looked up in that code's model directory under `$MOVA_DATA`. The two prerequisites are independent. A recognized code can lead to a missing model, and a model stored under a code is useful to this lookup only when that code is supplied for the span.

## 3. CoNLL-U output and Parse=None

CoNLL-U gives each ordinary token row numbered columns for the form and its annotations. Comments supply information outside the token rows. When the model required for a span is missing, `tools/mova-parse` reports the missing parse in the `# parse` comment. It fills six columns with `_` and records `Parse=None` in MISC on the affected tokens.

| Column | Information represented when supplied | Value for a span with no model |
| --- | --- | --- |
| LEMMA | Dictionary form assigned to the token | `_` |
| UPOS | Universal part-of-speech category | `_` |
| XPOS | Language-specific part-of-speech tag | `_` |
| FEATS | Morphological feature values | `_` |
| HEAD | Index of the token's head in the basic tree, or zero for the root | `_` |
| DEPREL | Basic dependency relation to the head, or the root relation | `_` |
| MISC | Additional token information | `Parse=None` |

An underscore in an individual column can have other uses in CoNLL-U. In this case, read the empty fields together with the comment and the MISC marker. An empty HEAD does not designate a root. An empty FEATS column in a row marked `Parse=None` gives no grounds for deciding whether the form expresses case, tense or any other feature. The marker records a missing analysis for the span, so it cannot be used to measure how often the parser mistags a form or attaches it to the wrong head.

A text fragment can be present in the output without an analysis of its word boundaries. For example, a reader can see the written form below and supply its interpretation even though the missing-model output has no lemma, features or dependency relation for it. The form is a constructed illustration of the distinction between readable text and annotated text.

| Form | Gloss | Translation |
| --- | --- | --- |
| *Wracam.* (constructed) | return.PRS.1SG | ‘I’m coming back.’ |

## 4. Treebank availability and baseline measurements

Mova holds no annotated Lesser Polish treebank. Consequently, there is no train-to-development baseline for `pl-x-lesserpoland` and no measured attachment scores to report. The absence of a score reflects the absence of an evaluation run on the necessary data. It says nothing about which Lesser Polish constructions a trained model would find difficult.

The package instructions in [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) call for the same baseline for each language. With a UD treebank, the procedure is to run `en xpos-fill` before using `en train` on the training split. The trainer learns a tree parser and tagger, and `en parse-eval` measures attachment on the development split. English and French have model files named `en.bin` and `fr.bin`. Their availability does not supply development data or a score for Lesser Polish.

Unlabeled attachment score, or UAS, measures how often an evaluated token receives the same head as in the reference annotation. Labeled attachment score, or LAS, also requires the predicted dependency relation to match. For instance, agreement on a head with a disagreement over the relation counts toward UAS but does not count toward LAS. Both measures require reference dependencies and model output on the corresponding evaluation text. A set of excerpts with translations can illustrate constructions, and a word list can aid language identification, but neither provides the reference heads and relations required for these measurements. Attachment scores also do not measure the quality of frame or pragmatic analysis.

## 5. The scope of frames, pragmatics and world annotation

The layers after parsing answer different questions from a dependency tree. A tree records relations between tokens. A frame describes a situation and its participants. Pragmatic analysis concerns what an utterance does or conveys in context. World annotation concerns the entities and situations represented in the text. A grammatical relation can provide evidence for one of these analyses without settling it. For instance, a verb can identify its grammatical subject through inflection while the identity of the person it refers to depends on the utterance context.

| Form | Gloss | Translation |
| --- | --- | --- |
| *Zamkniesz okno?* (constructed) | close.PFV.FUT.2SG window.ACC.SG | ‘Will you close the window?’ |

The second-person singular verb points to the addressee. Depending on the context, the question can ask about what the addressee will do or request that the addressee act. A dependency analysis could record the relation of *okno* ‘window’ to the verb. That relation alone does not establish the intended speech act or identify the window.

Mova's frame, pragmatic and world processing reads English trees. At present there is no Lesser Polish parse for those layers to read. A Lesser Polish tree would supply the syntactic prerequisite. The current use of English trees also limits what can be inferred about the downstream processing a future Lesser Polish parser would support. The example illustrates linguistic distinctions and does not represent output from any of those layers.

## 6. Grammar claims in Squid and priorities for a UD baseline

Squid reads grammatical points in this manual as claims. Formalizable claims, including rules, closed lists and statistics, enter its queue for possible implementation in Mova. A claim in the queue records a statement about the language. Its presence does not make it part of tokenization, tagging or parsing, and a dependency returned by a trained parser would not by itself show that a corresponding manual claim had been implemented.

The first priorities are decisions that affect the annotation of many sentences. The following questions describe work for a Lesser Polish baseline. Their answers would need to be reflected consistently in the training and development annotations.

| Area | Decisions needed for the baseline |
| --- | --- |
| Word boundaries | Decide how written words correspond to syntactic tokens, including spellings with attached grammatical material. Record both levels where a written word and a syntactic token do not correspond one to one. |
| Regional forms | Preserve the attested form in FORM and define how to assign a lemma when regional spellings or inflected forms vary. Record which distinctions the chosen annotation can express. |
| Tags and features | Specify the evidence for universal part-of-speech tags and morphological features. Use the sentence context when one surface form has more than one analysis. |
| Basic dependencies | Annotate heads and relations consistently in common constructions, including prepositional phrases, clauses without an overt subject, coordination and subordinate clauses. |
| Development data | Keep development sentences separate from training data and document their variety coverage so that the attachment scores can be interpreted. |

Regional spelling and morphology enter the baseline at more than one point. Word boundaries determine what can carry a tag or receive a dependency relation. Lemma policy determines when differently spelled forms are entered under the same dictionary form. A tag describes the form's use in its sentence, which may be ambiguous when the word is taken in isolation. For example, the noun below has the same written form in the two sentences, but its syntactic context supports different cases.

| Form | Gloss | Translation |
| --- | --- | --- |
| *Okno jest otwarte.* (constructed) | window.NOM.SG be.PRS.3SG open.NOM.SG.N | ‘The window is open.’ |
| *Widzę okno.* (constructed) | see.PRS.1SG window.ACC.SG | ‘I see the window.’ |

These are examples of annotation decisions, not attestations of diagnostic regional forms. A Lesser Polish baseline needs sentences whose variety and usage are documented. Its reference trees would then provide testable targets for head and relation prediction, while the manual would continue to describe patterns and their conditions across the variety's usage.

## 7. How Mova handles Lesser Polish today

`tools/mova-parse` calls `tools/langseg` to label sentences and spans at level 1. The identifier distinguishes English and French in Latin script using a character table, language lexicons and a character four-gram model. It also handles Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts receive `other`. Lesser Polish identification is limited to what the identifier knows through its script and lexicon support. Adding a Latin-script language requires a lexicon and a `Lang` code. `langseg latin-lexicon` draws on open UD training splits.

At level 2, `tools/mova-parse` looks for a model corresponding to the span's language code. There is no model for `pl-x-lesserpoland`. For spans with that code, the `# parse` comment reports the missing parse, and the token rows carry `_` in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and `Parse=None` in MISC. Mova has no Lesser Polish tokenization, tagging, lemmatization or parsing analysis for these spans.

Mova has no annotated Lesser Polish treebank and no measured baseline for the variety. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) calls for the same baseline for every language. The `en` crate uses `en xpos-fill` before `en train` trains a tree parser and tagger on the UD training split. `en parse-eval` measures UAS and LAS on the development split. Model files `en.bin` and `fr.bin` exist for English and French.

Mova's frame, pragmatic and world processing, including `prag` and `world`, reads English trees. It has no Lesser Polish tree to read. Squid reads this manual as grammatical claims and queues formalizable rules, closed lists and statistics for possible implementation. The chapter's rules have yet to be implemented. The first priorities are the points needed 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/pl/pl-x-lesserpoland/sources/)).
- [← previous 26. Register, regional writing and public use](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-lesserpoland/26-register-and-usage/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-lesserpoland/sources/)
- [↑ back to Lesser Polish (pl-x-lesserpoland) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/pl/pl-x-lesserpoland/)

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