28. Northern Frisian in Mova
Northern Frisian has the language code frr in Mova’s grammar manual. Mova currently has neither a parser model nor an annotated treebank for frr. This chapter describes how text would reach a Northern Frisian parser, what the output records when the model is missing, and what the manual contributes to implementation.
Language identification and the prerequisites for Northern Frisian spans
The multilingual pipeline has two levels. At level 1, tools/langseg assigns a language to each sentence and span. At level 2, tools/mova-parse uses the language assigned to each span to select a parser model. The span assignment matters when a sentence contains material in more than one language. Each span’s own code determines the model lookup, even when the sentence as a whole has a different language label.
Northern Frisian uses Latin script. The Latin-script component of tools/langseg distinguishes English and French using a Latin table, a lexicon for each language and a character 4-gram model. Adding another Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command is the route for building the lexicon from an open Universal Dependencies (UD) training split. The code frr used in the manual names the language. Recognition of a Northern Frisian span depends on the language identifier having the resources for it.
The supplied corpus examples show why script alone leaves the language of a span open. A Northern Frisian page can contain an English name, and a Northern Frisian phrase can contain letters that are absent from the English name but still belong to Latin script. The page language gives the context of the example, while the forms below illustrate the material a span identifier has to handle.
| Form | Gloss | Translation | Corpus sentence ID |
|---|---|---|---|
| “ön üđer Spreekwiisen” | in other speech.varieties | ‘in other varieties’ | wiki:frr:Öörtööl |
| “Det stääd” | DEF town | ‘the town’ | wiki:frr:Hargeysa |
| “Commonwealth of Massachusetts” | commonwealth of Massachusetts | ‘Commonwealth of Massachusetts’ | wiki:frr:Massachusetts |
Here DEF marks a definite article. The forms are excerpts from the corpus material. They illustrate input text and do not supply measured span assignments.
Model lookup and the Parse=None output
Once a span has a language code, tools/mova-parse looks for the corresponding model at <code>.bin. For a span assigned frr, the language directory is frr and the filename is frr.bin. There is currently no level-2 model for that code. When the model for a span’s language is missing, the parser reports the language in the # parse comment and returns the following values for that span’s token rows.
| Output location | Value for a span without a model | What the output records |
|---|---|---|
# parse comment | The language with no model | Which language could not be parsed |
LEMMA | _ | No lemma supplied |
UPOS | _ | No universal part-of-speech tag supplied |
XPOS | _ | No language-specific part-of-speech tag supplied |
FEATS | _ | No morphological features supplied |
HEAD | _ | No syntactic head supplied |
DEPREL | _ | No dependency relation supplied |
MISC | Parse=None | The span has no parse |
The comment reports model availability at the language level. Parse=None records the outcome on the affected token rows. The two signals can be read together when a sentence has several spans, since level 2 makes a separate lookup for each span’s language. The token rows with Parse=None carry no analysis of the words or their syntactic relations. Their presence alone provides no evidence that Northern Frisian token boundaries have been analyzed.
This behavior is conditional on the span reaching model lookup with the code frr. The absence of frr.bin determines what happens at lookup. It gives no information about whether level 1 recognized a particular piece of Northern Frisian text.
Treebank availability and baseline measurements
Mova holds no annotated Northern Frisian treebank. The Northern Frisian excerpts supplied for this manual are examples of written usage. They provide forms and contexts for discussing the language, while a UD baseline needs reference annotations, including syntactic heads and dependency relation labels.
Mova’s parser and tagger are in the en crate. The language package specifies a common baseline in What every language gets. After en xpos-fill, en train trains the parser and tagger on the language’s UD training split. en parse-eval evaluates the resulting parser against the development split of the same language. Training and scoring therefore use different splits with distinct roles. The training split provides the annotated material from which the model learns. The development split provides the reference against which its predictions are compared.
| Measure | What counts as a correct attachment | Northern Frisian baseline |
|---|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head. | Unmeasured |
| LAS, labeled attachment score | The predicted head and dependency relation both match the reference. | Unmeasured |
The English and French model files are en.bin and fr.bin. For Northern Frisian, the treebank and model gaps mean there is no train-to-development measurement to report. Parse=None is a processing status. Neither that status nor the presence of corpus text supplies an attachment score.
Dependencies of frame and pragmatic processing
Mova’s frame processing, pragmatics (prag) and world component (world) read English trees. Their input includes the syntactic analysis, so identifying the language of a span leaves an essential processing step outstanding. A Northern Frisian span returned with Parse=None gives these components no dependency tree to read. In particular, HEAD and DEPREL carry no evidence about which words depend on a predicate or what syntactic relations they bear to it.
The input gap can be seen in the phrase “di leeste spreeger,” glossed DEF last speaker, ‘the last speaker’ (wiki:frr:Manx). A reader can interpret the phrase and use the surrounding discourse to work out who is meant. Those facts about the text supply no Mova analysis of how the phrase is attached in the sentence or what it refers to in context. The same distinction applies to descriptions in the manual of speech acts, implicit meaning and dialogue. They describe how the language is used. The processing components require their own input from the text being analyzed.
A Northern Frisian dependency tree is a prerequisite for downstream processing of a Northern Frisian span. The present input to the frame, pragmatic and world components is English trees, so the addition of a parser model would address the missing tree. The stated downstream coverage is English.
Squid claims and the implementation queue
Squid reads this manual and turns every grammatical point into a claim. Formalizable claims enter its implementation queue. They include rules, closed lists and statistics. A rule specifies the conditions under which it applies and any exceptions. A closed list specifies all its members within its stated scope. A statistical claim refers to the quantity and data for which it is stated. For Northern Frisian, variety is part of the scope whenever the description limits a rule or inventory to a particular variety.
A queued claim still awaits a place in Mova’s code. For example, a claim about contraction can describe the form and the context in which it occurs. Its presence in the queue supplies no token boundary or morphological annotation in a parser response. Likewise, a closed inventory of article forms is a grammatical description. Assigning a tag to a given form in context is a separate operation.
The first priorities for a language without a model are the points needed for tokenization, tagging and a UD treebank baseline. Tokenization establishes the units for annotation. Tagging assigns grammatical categories to those units. A treebank supplies the reference annotation for training and for checking whether predicted attachments and dependency labels are correct. For frr, the manual gives Squid claims in these areas, and Mova has yet to implement the chapter’s grammatical rules.
How Mova handles Northern Frisian today
tools/langseg performs sentence and span language identification at level 1. It distinguishes English and French in Latin script using a Latin table, language lexicons and a character 4-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Every other script is other. Recognition of a language’s spans depends on the identifier knowing its script or lexicon. A further Latin-script language requires a lexicon and a Lang code, with langseg latin-lexicon available for lexicon construction from open UD train splits.
At level 2, tools/mova-parse selects a model for each span at <code>.bin. No such model exists for frr. The missing model is reported in the # parse comment. For the affected token rows the output has _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and Parse=None in MISC. Mova has no Northern Frisian tokenization, tagging, lemmatization or parsing implementation.
Mova trains its parser and tagger with en train on a UD train split after en xpos-fill. It measures UAS and LAS on the development split with en parse-eval. What every language gets calls for this baseline for every language. English and French have the model files en.bin and fr.bin. Mova holds no annotated Northern Frisian treebank, so the Northern Frisian baseline is unmeasured.
Mova’s frames, prag and world read English trees. An unparsed Northern Frisian span provides no tree for them. Squid turns the manual’s grammatical points into claims and queues those that can be formalized. The chapter’s rules await implementation, with the points needed for a tokenizer, a tagger and a UD treebank baseline coming 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/fy/frr/28-mova-tools-and-data/