22. Inari Sami in Mova
Mova uses the language code smn for Inari Sami. It has Inari Sami text from Wikipedia, but it has neither an annotated treebank nor a parser model for the language. This chapter describes the output available today and the data needed to measure a first Universal Dependencies baseline.
Language identification and model selection
The multilingual parser processes text in two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, tools/mova-parse looks for a model file for the language assigned to each span. A sentence with spans assigned to different languages can therefore require more than one model.
Inari Sami uses the Latin script. The Latin table in tools/langseg distinguishes English and French using a lexicon for each language and a character 4-gram model. Support for an additional Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command can build the lexicon from an open Universal Dependencies training split. An smn label on a corpus item records the language of that item. It does not establish that tools/langseg can recognize the same text in multilingual input.
A span identified as smn would still need an Inari Sami model at level 2. The English and French models belong to their respective language codes. Recognition and model availability are separate prerequisites for parsing multilingual text.
Parser output for smn and Parse=None
When a span is assigned to a language with no level-2 model, tools/mova-parse reports the missing model in the # parse comment. For smn, any token rows returned for such a span have the following values.
| Column | Value | Annotation unavailable |
|---|---|---|
LEMMA | _ | Lemma |
UPOS | _ | Universal part of speech |
XPOS | _ | Language-specific part of speech |
FEATS | _ | Morphological features |
HEAD | _ | Syntactic head |
DEPREL | _ | Dependency relation |
MISC | Parse=None | Parse status |
Parse=None identifies the absence of a parse for the token. An underscore in FEATS on such a row gives no evidence about whether the form has grammatical features. Likewise, an underscore in HEAD supplies no evidence about a token’s attachment or root status. Surfaced token rows in this output do not establish that Mova has applied an Inari Sami tokenizer.
Annotated data and the missing baseline
The Wikipedia material in Mova supplies examples of written Inari Sami. Mova holds no Inari Sami treebank with reference tokenization, lemmas, tags, features, heads and dependency relations. Consequently, the corpus text does not provide reference trees against which to score a parser.
The corpus illustrates several kinds of material that a treebank would need to represent. The following excerpts retain their original Latin-script spelling. ATTR marks an attributive adjective, GEN genitive, LOC locative, NOM nominative, and PL plural.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| “Uđđâ siijđoh” | new.ATTR page.NOM.PL | ‘New pages’ | wiki:smn:Ovdâsijđo |
| “1990-lovo” | 1990-decade.GEN | ‘of the 1990s’ | wiki:smn:1995 |
| “kaavpug Suomâst” | city Finland.LOC | ‘a city in Finland’ | wiki:smn:Lohja |
The first example comes from navigation text. If such material is included in a treebank, its annotation needs to account for the fact that the phrase functions as a label. The second shows a written form that combines digits, a hyphen and an inflected word. It requires a token boundary decision before tags and attachments can be assigned. The third contains an inflected place name. Its written form, lemma and case belong to distinct parts of the annotation. The glosses explain the examples and are manual illustrations rather than parser output.
Training and measuring a Universal Dependencies baseline
The language package specification in What every language gets calls for the same baseline for each language. A baseline for Inari Sami requires a Universal Dependencies training split and a separate development split. Both need consistent decisions on token boundaries, lemmas, parts of speech, morphological features and dependencies. The development split supplies the reference trees for evaluation. Where the collection contains repeated sentence templates, the split should account for near duplicates so that evaluation reflects more than reuse of the same wording.
Mova’s parser and tagger are provided by the en crate. The baseline workflow runs en xpos-fill before en train, which uses the language’s UD training split. The resulting model is evaluated on the development split with en parse-eval. Mova has baseline models for English and French. For Inari Sami, the training and evaluation described here depend on obtaining annotated splits.
| Measure | What must match the reference for an evaluated token |
|---|---|
Unlabeled attachment score (UAS) | The syntactic head |
Labeled attachment score (LAS) | Both the syntactic head and the dependency relation |
These scores measure attachment against the reference trees under the evaluation setup. They do not measure language identification, lemmatization, or morphological tagging. Mova reports no Inari Sami baseline and has no measured UAS or LAS for it. The Parse=None status is an output condition and supplies no attachment score.
Frames and pragmatics prerequisites
Mova’s frame, pragmatic and world components read English trees. An Inari Sami span with Parse=None supplies no tree for those components to read. The presence of a form in the corpus, or of a gloss in this manual, gives those components no syntactic input.
A UD baseline supplies the grammatical structure needed before this downstream work can begin. For instance, representing a phrase as a location in a tree and interpreting what it contributes to a frame are two distinct tasks. Attachment evaluation measures the former at the dependency level. It does not measure whether a frame was recovered or whether an utterance was interpreted in context. The current English input to prag and world gives no basis for claiming Inari Sami support in those components.
Squid claims and the implementation queue
Squid reads the grammar manual and records each grammatical point as a claim. Formalizable claims, including rules, closed lists and statistics, wait in its implementation queue. A queued claim remains pending until it has a place in Mova’s code. Stating a rule in the manual does not make it operative in the parser or tagger.
The first claims to implement for a language without a model are those needed by tokenization, tagging and the UD treebank baseline. For the forms above, these tasks would include deciding how to represent a digit-and-hyphen form, recording the distinction between a lemma and an inflected place name, and assigning heads and dependency relations to the resulting tokens. A rule used for those decisions needs to specify when it applies and account for any exceptions. Its effect on parsing can be checked once there is development data with the corresponding reference annotation.
How Mova handles Inari Sami today
tools/mova-parse uses tools/langseg at level 1 to label sentences and spans by language. At level 2 it selects the model file for each span’s assigned language. The Latin-script resources in tools/langseg distinguish English and French using a table, language lexicons and a character 4-gram model. The tool also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts are labeled other. Adding another Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open UD training splits.
There is no level-2 model for smn. Mova can identify a language’s spans only where tools/langseg knows its script or lexicon. Mova does not tokenize, tag, lemmatize or parse Inari Sami. For tokens in a span labeled smn, tools/mova-parse reports the missing model in the # parse comment, leaves _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and records Parse=None in MISC.
Mova holds no annotated Inari Sami treebank and has measured no treebank baseline for the language. The baseline required by What every language gets uses en xpos-fill followed by en train on a UD training split and en parse-eval to measure UAS and LAS on the development split. The available parser models are en.bin for English and fr.bin for French.
Mova’s frame, pragmatic and world components, including prag and world, read English trees. Without a parse, they have no Inari Sami tree to read. Squid records grammatical points as claims and queues the formalizable ones for implementation. The chapter’s rules remain unimplemented. Tokenization, tagging and the UD treebank baseline determine which points come 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).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/smi/smn/22-mova-tools/