31. Maltese in Mova
Mova has no parser model or annotated corpus for Maltese (mt). Its multilingual pipeline can return rows for a span without supplying a Maltese analysis. This chapter describes how to read that output, what a Universal Dependencies (UD) baseline would measure, and what tree data frames and pragmatics would require.
Language identification and Maltese spans in mixed input
Language identification supplies a language label for each sentence and span. Span labels matter when a sentence switches languages, because the parser selects a model for each span. A sentence-level label therefore cannot tell the reader which model was selected for every part of the sentence.
Maltese uses the Latin script. Mova's current Latin-script identification distinguishes English and French using a Latin character table, language lexicons and a character four-gram model. The addition of a Latin-script language requires a lexicon and a Lang code. Mova provides langseg latin-lexicon to build a lexicon from an open UD training split. This is the route for adding Maltese identification. The provision for passing an mt span to the parser gives no evidence about whether the current identifier will assign that label to a particular passage.
A useful distinction in mixed text is between a language switch and a borrowed word used within a Maltese clause. Names, numerals and forms shared across languages may likewise supply too little evidence on their own. Where to put the boundary is part of the reference annotation for a span identification test. A test with sentence labels alone cannot show whether the boundary within a mixed sentence was recovered.
Form She answered, “Għada mmur id-dar.” (constructed)
Gloss she answer.PST, tomorrow go.IPFV.1SG DEF-house
Translation She answered, “Tomorrow I’m going home.”
The attribution and the quotation provide an English span and a Maltese span for a reference annotation. An evaluation can specify how to attach punctuation at their boundary. The example illustrates the input and the intended distinction between spans. It gives no observed identifier output.
Multilingual parser output without an mt model
At level 2, the multilingual parser looks for the model corresponding to each span's language code. If it receives a span labelled mt, the Maltese model lookup fails because there is no such model. The # parse comment reports the missing model, and each token row for the span has the field values below.
| Field | Value for the unparsed span | Information the parser would otherwise supply |
|---|---|---|
LEMMA | _ | Dictionary form |
UPOS | _ | Universal part of speech |
XPOS | _ | Language-specific part of speech |
FEATS | _ | Morphological features |
HEAD | _ | Index of the syntactic head, or zero for a root |
DEPREL | _ | Dependency relation |
MISC | Contains Parse=None | Status of parsing for the row |
These values are conditional on the span reaching level 2 with the Maltese label. If the identifier assigns another language, model selection follows that label. An analysis produced with an English or French model in that case would reflect the assigned language, so the presence of heads and tags alone cannot establish that a Maltese passage was parsed as Maltese.
The presence of rows also gives no evidence that Maltese syntactic word boundaries were recovered. A row carrying Parse=None represents material in the output whose analysis is absent. In particular, blank HEAD and DEPREL fields leave the attachment unknown. A reader or program consuming the output should preserve that distinction when counting parsed sentences or extracting dependencies.
Corpus availability and the unmeasured treebank baseline
Mova holds no annotated Maltese corpus. Its Maltese package therefore has no measured treebank baseline, and there are no Maltese attachment scores to report. The corpus statement concerns the data held by Mova. Baseline availability depends on having annotated splits in the package and running the parser evaluation on them.
The baseline called for by What every language gets uses a UD training split to fit a model and a development split to measure it. The reference trees in the development split provide the heads and relations against which predictions are compared. Training examples and development examples have different roles. A score on the training material would measure fit to material the model has already seen.
| Measure | Condition for a correct attachment |
|---|---|
| Unlabelled Attachment Score (UAS) | The predicted head matches the reference head. |
| Labelled Attachment Score (LAS) | Both the predicted head and the predicted dependency relation match the reference. |
A missing score records the absence of a measurement. A score of zero would instead require a run with scored words and no correct predictions under the chosen criterion. Similarly, the attachment scores answer a question about syntactic links. They do not measure whether the language identifier found the Maltese spans or whether a frame or pragmatic interpretation was correct.
Training and evaluation requirements for Maltese
The baseline requires Maltese UD training and development data with compatible word segmentation and annotation. The reference needs to specify when an orthographic token contains multiple syntactic words and how bound forms are represented under the treebank's conventions. Lemmas, part-of-speech tags, morphological features, heads and relations need consistent treatment across the splits. In particular, a change in what counts as a syntactic word changes the units whose attachments can be compared.
Form It-tifel qara l-ktieb. (constructed)
Gloss DEF-boy read.PFV.3SG.M DEF-book
Translation The boy read the book.
The gloss makes the definite article visible in both noun phrases. In the written forms it is joined to the noun by a hyphen and appears as it- before tifel and l- before ktieb. The gloss shows the grammatical parts of the example. The UD annotation must supply the word boundaries, the mapping from the written forms to syntactic words, and the links from those words to their heads. The same conventions must hold in the material used to train and in the material used to score.
Mova's baseline workflow uses en xpos-fill before en train. Training fits a tagger and tree parser on the UD training split. en parse-eval measures attachment on the development split. For the resulting model to serve Maltese spans in the multilingual pipeline, it would have to be available under the mt model name and the identifier would have to supply the mt label.
A baseline report needs to identify the data release and splits, whether the evaluation received reference or predicted word boundaries, and how the scorer handles punctuation and words that fail to align. These details determine which attachments enter the score. An end-to-end evaluation on mixed input needs additional reference labels and span boundaries. That makes it possible to distinguish a model error on a correctly identified span from a case where the Maltese model was never selected.
Tree input requirements for frames and pragmatics
Mova's frame, pragmatic and world processing reads English trees. A Maltese span with Parse=None lacks the syntactic input that a tree-based analysis would need. Even after a Maltese model supplies a tree, the baseline only measures the predicted heads and dependency relations. Interpretation in Maltese would require evidence that the downstream processing can use the resulting structures and forms.
Form Tista’ tagħlaq il-bieb? (constructed)
Gloss can.IPFV.2SG close.IPFV.2SG DEF-door
Translation Can you close the door?
A dependency analysis of this question needs to represent the connection between the ability expression and the closing predicate, and to attach the door phrase to the closing predicate. The second-person forms identify the understood addressee as the subject even though there is no separate subject pronoun. In context the utterance can be a request to close the door, while a question about the addressee's ability is also possible. A syntactic attachment score gives no judgment about which reading is intended. The example illustrates a distinction a downstream evaluation would need to check using context.
Mixed-language input also makes the scope of a tree important. Level 2 parses spans with their respective models. A tree from a neighbouring English span cannot supply the internal dependencies of an unparsed Maltese span. Where a frame or an inference depends on material in the Maltese span, that part of the input remains unavailable to the tree-based processing.
Squid claims and implementation status
Squid reads this manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter its queue for a place in Mova's code. The queue records proposed coverage. Implementation requires the corresponding behaviour in the running tools.
For example, the definite article forms in it-tifel and l-ktieb illustrate an alternation that can be described in a grammar. The parser would still need the data and machinery to treat these forms according to the Maltese annotation conventions. A formalizable statement about the alternation can be in the queue while a row containing either form still has Parse=None.
Package status, measurements and claims answer different questions. The package status tells the reader whether annotated data and a model are available. An evaluation measures the model's performance on a specified split. A claim records a point of the grammar for possible implementation. For Maltese, the model and annotated data are absent, and the treebank measurement is pending. The first implementation needs are those that support tokenization, tagging and a UD baseline.
How Mova handles Maltese today
tools/mova-parse uses tools/langseg at level 1 to label every sentence and span by language. tools/langseg distinguishes English and French in Latin script with a Latin character table, language lexicons and a character four-gram model. It also distinguishes Hebrew-script varieties and Hebrew or Aramaic in scholarly transliteration. Other scripts are assigned other. Adding a Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open UD training splits. Recognition of a span therefore depends on the script or lexical coverage in tools/langseg.
At level 2, tools/mova-parse selects a model file by the span's language code. There is no level-2 model for mt. A span labelled mt is reported in the # parse comment, with _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova does not tokenize, tag, lemmatize or parse Maltese.
Mova's own parser is the en crate. After en xpos-fill, en train fits a tagger and tree parser on a language's UD training split. en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin). What every language gets calls for the same baseline for each language. Mova has no annotated Maltese corpus, so the Maltese baseline remains unmeasured.
The frame, pragmatic and world components read English trees. For Maltese, prag and world have no trees to read. Squid extracts claims from the manual and queues formalizable points for implementation. The Maltese grammar rules remain unimplemented. The first points needed are those 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).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/mt/31-mova-tools/