Mova0.6 pre-release

the flag of Cubathe flag of the Dominican Republicthe flag of Puerto Rico 27. Caribbean Spanish in Mova

The es-x-caribbean edition describes Caribbean Spanish. Mova has no parser model or annotated treebank for the edition, and it has no measured parsing baseline. Language identification, syntactic parsing, and interpretation are separate steps. Each has its own data requirements.

Language identification and the multilingual parser

The multilingual parser, tools/mova-parse, works at two levels. At level 1, tools/langseg assigns a language to each sentence and span. A sentence may contain spans with different language assignments. At level 2, the parser uses the model for each span’s assigned language. A language assignment determines which model the parser looks for. The model must be available under that language’s code for parsing to proceed.

For Latin script, tools/langseg distinguishes English and French using a Latin-script table, a lexicon for each language, and a character four-gram model. It also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside the supported cases are classified as other. Adding a Latin-script language requires a lexicon and a Lang code. The langseg latin-lexicon command builds a lexicon from an open Universal Dependencies (UD) training split.

Caribbean Spanish shares the Latin script with the currently supported Latin-script languages. Recognition of the script alone leaves the edition’s language assignment unresolved. The edition code identifies the grammar package. Identification of its spans depends on the language information available to the segmenter.

The current parser output for Caribbean Spanish

There is no level-2 model for es-x-caribbean. When the multilingual parser handles tokens for a language without a model, the # parse comment reports the missing model. The following output values record the absence of annotation.

FieldValue without a modelAnnotation the field would carry
LEMMA_Lemma
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneStatus of the parse in the miscellaneous field

These field values describe how the parser represents tokens when analysis is unavailable. The missing-model path supplies no Caribbean Spanish tokenization, tagging, lemmatization, or dependency analysis. In particular, HEAD and DEPREL are both unset, so the output provides no basis for choosing a root or recovering a dependency relation. The Parse=None marker records the status even when token forms are visible.

Treebank availability and the unmeasured baseline

Mova holds no annotated Caribbean Spanish corpus. A treebank for the baseline would provide token boundaries and reference annotations for sentences, with designated training and development splits. Training uses the training split. Measurement uses the development split, where predicted attachments can be compared with the reference attachments.

There are no Caribbean Spanish baseline values for unlabeled attachment score (UAS) or labeled attachment score (LAS). UAS measures the proportion of evaluated tokens assigned the reference syntactic head. LAS measures the proportion assigned both the reference head and the reference dependency relation. A token with the correct head and the wrong relation counts toward UAS alone. A missing model leaves both scores unmeasured.

The scope of the measurement depends on the corpus. The treebank documentation needs to identify the varieties and registers represented and describe how transcribed speech and edited writing are treated when both occur. Those details establish what the development split can test. A score from another Spanish treebank would characterize performance against that treebank’s annotations and sample.

Training and evaluation with the en crate

Mova’s tree parser and tagger are in the en crate. The language package described in What every language gets calls for the same train-to-development baseline for every language. The procedure has a fixed order.

StepCommandRole in the baseline
Prepare the training dataen xpos-fillFill the language-specific part-of-speech field before training.
Trainen trainTrain a tree parser and tagger on the language’s UD training split.
Evaluateen parse-evalMeasure UAS and LAS on the development split using the parser trained on the training split.

English and French have model files, en.bin and fr.bin. Level 2 looks for a model under the code assigned to the span, so a Caribbean Spanish model would need to be available under es-x-caribbean. The commands specify the training and evaluation procedure for the edition. Running it requires the corresponding annotated data.

Attachment scores cover syntactic head and relation prediction. The procedure described here supplies no separate measurement of language identification, tokenization, lemmatization, or the interpretation of sentences in discourse.

Dependencies for frames and pragmatics

Mova’s frame, pragmatic, and world components read English dependency trees. A parsed tree is the upstream input they need for another language. Caribbean Spanish currently supplies no such tree. A sentence’s language assignment and a Parse=None marker supply no subject, predicate, or complement relations for these components to read. Producing Caribbean Spanish trees would satisfy that upstream requirement. The frame and interpretation components described here operate on English trees.

(constructed)

FormGloss
¿Vienes mañana?come.PRS.IND.2SG tomorrow

‘Are you coming tomorrow?’

The verb carries second-person singular marking and has no overt subject. Mañana locates the event in the future even though the verb is in the present indicative. A syntactic analysis would identify the finite verb and its temporal modifier. A pragmatic analysis could use the dialogue context to establish whether the speaker is checking a plan or seeking a commitment. The example illustrates what those analyses would have to account for.

Squid claims and the implementation queue

Squid reads the grammar manual and records its grammatical points as claims. Formalizable claims, including rules, closed lists, and statistics, enter the implementation queue. A queued claim describes behavior that can be represented in code. Its presence in the queue does not implement that behavior. Rules in the Caribbean Spanish manual are currently unimplemented for the edition.

The first priorities are the claims needed for a tokenizer, a tagger, and a UD treebank baseline. The tokenizer needs conditions for word and punctuation boundaries. The tagger needs the forms and contexts that distinguish parts of speech and features. Treebank annotation needs explicit decisions about heads and dependency relations, applied consistently across the training and development splits. A rule needs its conditions and exceptions for these decisions. A closed list needs all its members. A statistic needs its population and counting unit so the quantity can be interpreted.

External sources awaiting library verification

Candidate materials include Spanish UD releases, regional collections of transcribed speech, and open grammatical descriptions of Caribbean varieties. Each can answer a different question about the edition’s data needs.

Candidate materialWhat library verification needs to establish
A Spanish UD releaseThe release version, provenance, regional coverage, annotation conventions, available splits, and license for reuse.
A regional speech collectionThe locations and registers sampled, the transcription conventions, the availability of syntactic annotation, and the terms for reuse of the transcripts.
An open grammatical descriptionThe varieties and registers described, the sections that support each grammatical claim, and the terms for reuse of examples.

A regional transcript may document a form while leaving its word boundaries, morphological features, and dependency relations for annotation. An annotated Spanish release may provide a precedent for those decisions. Its suitability for the edition depends on the coverage and provenance of its actual sentences. A description of regional usage can support a claim with a section or page citation. Any eligible corpus example used in the manual also needs its sentence identifier.

How Mova handles the Caribbean Spanish edition

At level 1, tools/mova-parse uses tools/langseg to assign a language to every sentence and span. Identification depends on the script and language information the segmenter knows. Its Latin-script support distinguishes English and French, and adding another Latin-script language requires a lexicon and a Lang code. The lexicon can be built from an open UD training split with langseg latin-lexicon.

At level 2, tools/mova-parse looks for a model for the language assigned to each span. There is no model for es-x-caribbean. The # parse comment reports the missing model, and the tokens receive _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. The edition has no tokenization, tagging, lemmatization, or dependency parsing in Mova.

Mova holds no annotated Caribbean Spanish treebank and has no measured treebank baseline for the edition. The baseline specified in What every language gets uses en xpos-fill before en train, then en parse-eval to measure UAS and LAS from training to development. The available models are en.bin for English and fr.bin for French. Mova’s frames, prag, and world read English trees and receive no parsed Caribbean Spanish input.

Squid turns grammatical points into claims and queues formalizable rules, closed lists, and statistics for implementation. The edition’s rules remain unimplemented. The points needed for tokenization, tagging, and a UD treebank baseline come first.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/es/es-x-caribbean/27-mova-tools/