26. Sranan Tongo in Mova
Mova uses srn as the language code for Sranan Tongo. The package has a reference grammar and text examples. Its current processing status depends on three distinct resources: language identification for text spans, a model for parsing those spans, and annotated sentences for measuring the parser. The Sranan Tongo model and treebank are both absent.
Language identification and Latin-script coverage
tools/mova-parse has two levels. At level 1, tools/langseg assigns a language to sentences and spans. A sentence may contain several spans, so the language assigned to the whole sentence and the language used to select a parser for a particular span serve different purposes. At level 2, the multilingual parser selects a model for each span using its language code.
In Latin script, the current identifier distinguishes English and French. It uses a Latin-script table, a lexicon for each supported language, and a character model based on sequences of four characters. Its other coverage includes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Scripts outside its coverage are reported as other.
Sranan Tongo is written in Latin script. The presence of srn as the package code gives the language a name in Mova, while the identifier’s current Latin-script language inventory consists of English and French. An unfamiliar Latin-script span therefore has no dedicated Sranan Tongo identification through that inventory. In particular, seeing Sranan Tongo in a corpus entry with an srn identifier tells the reader the language of that entry. It gives no evidence that the identifier can recover that label from the text.
To add a Latin-script language to identification, Mova provides for a lexicon and a Lang code. The langseg latin-lexicon command builds the lexical resource from an open Universal Dependencies (UD) training split. That resource supports the decision about a span’s language. The span’s grammatical analysis depends on the model used at the second level.
Parser model availability and Parse=None output
At level 2, tools/mova-parse looks for the model corresponding to the span’s language. Mova has models for English (en.bin) and French (fr.bin). There is no level-2 model for srn.
For a span assigned to a language whose model file is missing, the output reports the missing model in the # parse comment. The token rows carry Parse=None in the MISC column and underscores in all six annotation fields listed below.
| Field | Value in the fallback output | Information the field normally supplies |
|---|---|---|
| LEMMA | _ | Dictionary form |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Grammatical features |
| HEAD | _ | Index of the token’s syntactic head, or zero for the root |
| DEPREL | _ | Dependency relation to the head |
| MISC | Parse=None | Explicit indication that parsing was unavailable |
The comment reports the condition for the language, and the MISC value records it on the affected rows. Read the underscores together with that marker. For example, an underscore in HEAD leaves the token’s head unspecified, and an underscore in FEATS leaves its grammatical features unspecified. A surface form on such a row is available as text, but its lemma, word class and role in the clause have yet to be assigned. The fallback describes what happens when the language is already assigned and its model is missing. Language identification is a separate step with the coverage described above.
Annotated corpus availability and UAS and LAS baseline status
Mova has text examples of Sranan Tongo, including entries from Sranan Tongo Wikipedia. It holds no Sranan Tongo UD treebank. The distinction matters because a corpus sentence can be read and glossed from its text, while parser evaluation needs reference annotations that specify the heads and relations against which the parser is scored.
The examples below are short excerpts from two corpus entries. The glosses give a reading of the excerpts. DEF marks a definite article.
| Corpus sentence ID | Form | Gloss | Translation |
|---|---|---|---|
wiki:srn:1 | “ben wan yari” | be.PST one year | ‘was a year’ |
wiki:srn:100 | “ini a 2-100-yari” | in DEF second-century | ‘in the second century’ |
A UD tree for a sentence containing the first excerpt would need to specify, among other things, the analyses of ben and wan and their relations to the other words in the clause. Which analysis to adopt is a treebank annotation decision. A gloss serves the reader by giving the meaning of each form in context.
The baseline requested by What every language gets trains on the language’s UD training split and evaluates on its development split. Mova’s tree parser and tagger are in the en crate. The workflow applies en xpos-fill before training with en train, then measures attachment with en parse-eval.
| Measure | What counts as a correct attachment |
|---|---|
| Unlabeled attachment score (UAS) | The predicted syntactic head matches the reference head. |
| Labeled attachment score (LAS) | Both the predicted head and the predicted dependency label match the reference. |
The two scores answer different questions about the same prediction. If the parser selects the correct head and assigns the wrong relation, the attachment counts as correct for UAS alone. For srn, both scores are unmeasured. There is no training and development treebank in Mova from which to obtain the requested baseline.
Tree requirements for frames, pragmatics and world processing
Mova’s frame, pragmatic and world processing reads English trees. A dependency tree gives the components syntactic input, including a clause’s predicate, what depends on it and how those dependents are related. Corpus text can express these relationships for a human reader. In Mova’s processing, the tree is the input that supplies them.
For Sranan Tongo, the missing model leaves both HEAD and DEPREL unspecified. Even when a span has already been identified as srn, the output marked Parse=None supplies no dependency structure for the frame, pragmatic or world components to read. A grammar description or an interlinear gloss likewise supplies no tree to these components. Parsing Sranan Tongo is the first prerequisite for supplying that input. The implementation described here reads English trees.
Squid claims and implementation status
Squid reads this grammar manual and turns each grammatical point into a claim. Claims that can be formalized, including rules, closed lists and statistics, wait in Squid’s queue for a place in Mova’s code. A claim’s presence in the queue records a point for implementation. Its operational status depends on whether the corresponding behavior is present in the code.
For a language without a model, the first grammatical points to implement are those needed for tokenization, tagging and a UD treebank baseline. Tokenization decisions specify which parts of the written string are units for analysis. Tagging decisions specify which word classes and features those units receive in context. The treebank supplies reference heads and relations and the data splits needed to train and evaluate a model. These needs meet in a form such as 2-100-yari in wiki:srn:100. Its spelling is available in the text, while a treebank would have to specify how it is represented in tokenization and dependency annotation.
The Sranan Tongo grammatical points in the manual have no implementation in Mova yet. The multilingual parser’s missing-model output is behavior shared across languages. It reports the gap in processing without making a grammatical judgment about a Sranan Tongo form.
How Mova handles Sranan Tongo today
At the first level of tools/mova-parse, tools/langseg assigns languages to sentences and spans within its coverage. Its Latin-script coverage distinguishes English and French using a table, lexicons and a character four-gram model. It also covers Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration, with other scripts reported as other. Adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command uses open UD training splits to supply the lexical resource.
At the second level, each span uses the model for its assigned language. Sranan Tongo has no model at that level. For srn, tools/mova-parse reports the missing model in # parse, puts Parse=None in MISC and leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _. This is the fallback output. Mova has no Sranan Tongo tokenization, tagging, lemmatization or parsing.
Mova also holds no annotated Sranan Tongo corpus, so there is no UAS or LAS baseline. The baseline requested in What every language gets uses en train after en xpos-fill and measures attachment with en parse-eval from training split to development split. English and French have model files, en.bin and fr.bin.
Mova’s frames, pragmatics and world processing read English trees. With no Sranan Tongo parse, they have no Sranan Tongo tree to read. Squid records the manual’s grammatical claims and queues the formalizable ones for implementation. The Sranan Tongo rules are still unimplemented, with tokenization, tagging and the requirements for a UD treebank baseline first in scope.
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/srn/26-mova-tools/