Mova0.6 pre-release

Basque: the ikurriña 28. Basque in Mova

Mova has no Basque parser model or annotated Basque corpus. This chapter explains what the multilingual pipeline can report for text identified as Basque, what a Basque Universal Dependencies baseline would measure, and how grammatical descriptions reach Squid’s implementation queue.

The eu package and its current data holdings

eu is the language code for Basque in Mova’s package and model conventions. The Basque package has a grammar manual. It has neither an annotated corpus nor a level-2 parser model, and it has no measured treebank baseline. The grammar describes constructions in prose, tables, and examples. Those descriptions do not supply the token-by-token annotations used to train and evaluate a parser.

ResourceCurrent Basque status
Grammar manualSupplies grammatical descriptions that Squid reads as claims
Annotated corpusNone held by Mova
Level-2 parser modelNone available for eu
Treebank baselineNo Basque UAS or LAS result has been measured

The package convention calls for training on a Universal Dependencies (UD) train split and evaluating on the corresponding development split. Its expected outputs include a language model and measured dependency attachment scores. The existence of the eu language code establishes which language such resources would belong to. A model file and corpus annotations have separate roles and must each be available for the operations that use them.

Language identification in Latin-script text

The first level of tools/mova-parse uses tools/langseg to assign languages to sentences and spans. A span is the unit that the second level routes to a model. Span-level identification matters in a sentence that contains more than one language, because the model lookup uses the language assigned to each span.

Basque is written in Latin script. Script recognition can therefore place Basque text in the same broad script class as English or French. Distinguishing languages within that class calls for additional evidence. The Latin-script detector distinguishes English and French using a Latin table, a lexicon for each language, and a character 4-gram model. A character 4-gram is a sequence of four adjacent characters. A further Latin-script language joins through a lexicon and a Lang code. The langseg latin-lexicon command builds lexicons from open UD train splits.

Input classCurrent identification support
Latin scriptDistinguishes English and French
Hebrew scriptDistinguishes varieties written in Hebrew script
Scholarly transliterationRecognizes Hebrew or Aramaic in scholarly transliteration
Every other scriptAssigned other

The documented Latin-script support does not establish Basque recognition. In particular, knowing that Basque uses Latin letters does not determine where a Basque span begins or ends in mixed text. The result described in the next section applies when the span has been assigned eu. Language assignment and model availability are separate conditions.

Model lookup and Parse=None output

At level 2, tools/mova-parse looks up a model file by the language code assigned to a span. Each span is routed to its own language’s model. When the file for an assigned language is absent, the output reports that language in the # parse comment. For a span assigned eu, the missing-model case applies because there is no Basque level-2 model.

Output locationMissing-model valueInformation left unassigned
LEMMA_Dictionary form
UPOS_Universal part of speech
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneRecords the missing parse

These values describe what appears on the token rows emitted for the span. They do not establish that Mova has determined Basque token boundaries or analyzed any of the forms. A missing FEATS value, for example, leaves open whether a form expresses case, number, or agreement. A missing HEAD leaves the attachment open. The comment reports the missing model at the output level, while Parse=None marks the affected token rows.

In a multilingual text the model lookup is performed for each span. A model available for one span can be used there. Its availability does not fill the annotation columns of an eu span.

The UD training and evaluation baseline

The en crate supplies Mova’s tree parser and tagger. The package baseline uses annotated data from two splits of a language’s UD treebank. The train split supplies the examples for fitting the model. The development split supplies the reference annotations against which predictions are scored. The prescribed sequence runs en xpos-fill before en train, then uses en parse-eval to measure attachment on development data after training. Mova has model files for English (en.bin) and French (fr.bin).

MeasureRequirement for a correct attachment
UAS, unlabeled attachment scoreThe predicted head matches the reference head
LAS, labeled attachment scoreThe predicted head and dependency relation both match the reference annotation

The difference between the measures concerns the relation label. Suppose the reference attaches a Basque noun to a verb as its subject, and the parser chooses the same verb but labels the noun as an object. The predicted attachment meets the head criterion for UAS. It fails the joint head-and-label criterion for LAS. Both measures concern dependencies. A reported attachment score alone would give no separate measurement of lemma accuracy, morphological feature accuracy, or language identification.

For Basque, the package has no measured train-to-development result. The English and French model files establish that the training workflow has models for those languages. Basque evaluation requires Basque reference trees and predictions from a trained model. Rows carrying Parse=None record the absence of predictions and supply no Basque attachment measurement.

Basque corpus and measurement gaps

Mova holds no annotated Basque corpus. This is a statement about Mova’s holdings. It leaves the availability of Basque resources elsewhere open. The gap matters because an annotated corpus supplies decisions about particular utterances, including how their forms are segmented, what their tags and features are, and how words attach to one another. A grammar can describe an analysis and illustrate it. A corpus makes the analysis explicit across the sentences used in training or evaluation.

Consider a constructed example with a transitive verb and an auxiliary.

FormUmeakogiajandu
Glosschild-DEF.SG.ERGbread-DEF.SG.ABSeat.PFVAUX.PRS.3SG.ABS.3SG.ERG

The child has eaten the bread. (constructed)

Here DEF is definite, SG singular, ERG ergative, ABS absolutive, PFV perfective, AUX auxiliary, PRS present, and 3 third person. In this reading umeak is the singular ergative subject, ogia is the singular absolutive object, and du is the finite auxiliary. Those glosses explain the intended reading. A treebank would also record heads and relation labels in its own annotation conventions.

The form umeak can also be definite plural absolutive. A list of endings can record both possibilities, while resolving a particular occurrence requires evidence from its clause. In the constructed example, the singular agreement and the absolutive object support the singular ergative reading. For evaluation, the reference analysis would have to state which reading applies to that occurrence. The example has no Mova corpus sentence ID and supplies no result about parser performance.

Without an annotated Basque development split in Mova, the package has no measured Basque attachment baseline. There is also no basis in the package’s results for saying which Basque constructions would receive correct attachments more often than others.

Frames, pragmatics and their input requirements

Mova’s frame processing and its prag and world components read English trees. A dependency tree makes syntactic information available to downstream analysis, including which expressions depend on a predicate and the relations assigned to them. For another language, the absence of a parsed tree leaves these components without that input. The documented tree input is English. The existence of a future Basque tree would address the immediate absence of a parse, while support for consuming Basque trees is a separate matter.

In the constructed clause above, a reader can identify an eating event, the child as the eater, and the bread as what was eaten. That interpretation comes from the clause and its gloss. For an eu span with Parse=None, the annotation does not identify the predicate or connect the nominals to it. The language code supplies routing information, and the missing-parse marker records the failure to obtain a tree.

The same input distinction applies to pragmatic descriptions. A grammar can explain forms associated with questions, directives, or forms of address. Such descriptions tell a reader about the language and can supply claims for Squid. Mova’s downstream components require the tree input described above, which the Basque package does not currently produce.

Grammar claims in the Squid queue

Squid reads the grammar manual and turns each grammatical point into a claim. Claims that can be formalized, such as 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 that the description can be taken up for implementation. It does not give the parser new behavior.

For a rule, the conditioning context belongs to the claim along with its outcome and exceptions. For a closed list, completeness matters because the list defines the available choices for the description at issue. A statistical claim needs a stated population or dataset if its scope is to be clear. A statistic about a linguistic construction and a measured UAS or LAS result are different kinds of evidence. The attachment measures require parser predictions and reference trees.

For a language without a model, the first grammatical points relevant to implementation are those needed for a tokenizer, a tagger, and a UD treebank baseline. Tokenizer work concerns how the input is divided into units for annotation. Tagger work concerns the distinctions assigned to those units. A treebank baseline requires annotated clauses whose dependency analyses can serve as training and evaluation data. The two readings of umeak illustrate how these concerns can meet at a single form. The form can be a single unit while still requiring a choice of morphological analysis in context.

How Mova handles Basque today

Mova’s multilingual parser is tools/mova-parse. Its first level, tools/langseg, assigns languages to sentences and spans. Its documented Latin-script support distinguishes English and French with a Latin table, language lexicons, and a character 4-gram model. Adding a further Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command uses open UD train splits. Language identification is limited to the scripts or lexicons that tools/langseg knows.

The second level looks up a model for each span’s assigned language. There is no level-2 model for eu. When a span is assigned eu, tools/mova-parse reports the missing model in the # parse comment and places Parse=None in MISC. The LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL fields contain _. Mova does not tokenize, tag, lemmatize, or parse Basque.

The package baseline in What every language gets calls for en xpos-fill before en train on a UD train split, followed by en parse-eval for UAS and LAS on the development split. The available models are en.bin and fr.bin. Mova holds no annotated Basque corpus, and no Basque treebank baseline has been measured. Mova’s frames, prag, and world read English trees and have no Basque parse to read.

Squid reads the manual’s grammatical points as claims. Rules, closed lists, and statistics that can be formalized wait in its queue for implementation. None of this chapter’s grammatical rules is implemented. The first points for implementation would be those needed for tokenization, tagging, and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/eu/28-mova-tools-and-coverage/