Mova0.6 pre-release

the flag of Colombia 29. Colombian Spanish in Mova

es-x-co identifies the Colombian Spanish edition of this grammar. The edition describes the language, and its grammatical points enter Squid as claims. The availability of that description and the availability of a parser model are separate parts of the package.

Language identification and Colombian Spanish coverage

Language identification assigns a language to a sentence or span. It precedes the analysis of words and their grammatical relations. A span is the unit passed to a language-specific parser, so a multilingual sentence does not need to be treated as a single input to one model.

Colombian Spanish uses the Latin script. The current Latin-script coverage of tools/langseg distinguishes English and French, using a Latin table, a lexicon for each language and a character four-gram model. The Colombian edition code does not itself give the identifier the resources to recognize Colombian Spanish. The addition route for a further Latin-script language is a lexicon and a Lang code, with the lexicon built from open Universal Dependencies (UD) training splits through langseg latin-lexicon.

The edition describes a set of regional and social usages. Forms such as tú, vos and usted can all occur in Colombian Spanish. Each also occurs outside Colombia, so the occurrence of any one form is insufficient to establish the national variety of a span. Spanish language identification, assignment to a Colombian edition and local analysis of a form therefore answer different questions.

Parser model availability and unannotated output

tools/mova-parse operates in two levels. Level 1 assigns languages to sentences and spans through tools/langseg. Level 2 selects a model by the language code of each span. When the selected code has no model, the parser reports the missing model in the # parse comment. There is no level-2 model for es-x-co.

The following table gives the field values on token rows for a language with no model. These values mark unavailable analysis. Their presence does not establish that the pipeline recognized a span as Colombian Spanish or applied Spanish word segmentation.

FieldInformation carried by an analysisValue without a model
LEMMALexical base form_
UPOSUniversal part of speech_
XPOSLanguage-specific part of speech_
FEATSMorphological features_
HEADHead of the word in the dependency tree_
DEPRELDependency relation to the head_
MISCMiscellaneous annotations, including parse statusParse=None

An underscore in HEAD leaves the head unspecified. In particular, it supplies no evidence that the token is a root. An underscore in FEATS likewise supplies no evidence about whether the word is inflected. Counts of tags, features or relations need annotated rows as their evidence.

Treebank availability and the unmeasured baseline

Mova holds no annotated treebank of Colombian Spanish, and it has no measured baseline for the edition. A treebank supplies sentences with reference analyses. The training split provides examples for fitting the tagger and parser, while the development split provides reference analyses against which their predictions can be compared.

Mova’s baseline uses the en crate. en xpos-fill precedes en train, which trains the tagger and tree parser on a language’s UD training split. en parse-eval measures unlabeled attachment score (UAS) and labeled attachment score (LAS) on the development split. UAS tests whether a word has the reference head. LAS requires the reference head and the reference dependency relation. These scores concern syntactic attachment. They do not measure language identification, the quality of frame assignments or the interpretation of an utterance in context.

What every language gets asks for this baseline for every language. The existing English and French models, en.bin and fr.bin, do not supply measurements for es-x-co. A measurement reported elsewhere for a Spanish corpus would have its own training data, evaluation set and annotation conventions. The status of the Colombian package is an unmeasured baseline.

Tokenization, tagging and dependency parsing priorities

A tokenizer needs to distinguish the written form from the syntactic words it represents. In UD, one surface token can correspond to several syntactic words. Spanish al and del represent the prepositions a and de followed by the article el. A verb with enclitics also has one written form, while the verb and the clitic pronouns have separate roles in the tree. Proclitics already have their own written forms. Segmentation needs to retain the original spelling, including any written accent on the surface token.

Written formSyntactic wordsGlossTranslation
al barrioa + el barrioto + the.M.SG neighborhood‘to the neighborhood’ (constructed)
del barriode + el barriofrom + the.M.SG neighborhood‘from the neighborhood’ (constructed)
a éla élto 3SG.M.STRESSED‘to him’ (constructed)
dámeloda + me + logive.IMP.2SG + 1SG.DAT + 3SG.M.ACC‘give it to me’ (constructed)
me lo diome lo dio1SG.DAT 3SG.M.ACC give.PRET.3SG‘he or she gave it to me’ (constructed)

The contraction rule applies to the article el. The stressed pronoun él remains separate after a or de. A tokenizer also needs lexical context where El belongs to a name and the text preserves it as part of that name. For clitics, segmentation and tagging are separate decisions. Recognizing a boundary identifies a candidate pronoun. Its grammatical role depends on the construction.

Tagging needs to distinguish person of address from inflectional person. Usted addresses the interlocutor and selects third-person verb agreement. Tú and vos select second-person singular agreement. Voseo may be expressed by a subject pronoun, a verbal form or both, and the subject can be unexpressed. A tagger therefore needs evidence from the verb form even when there is no overt pronoun. The following present indicative forms illustrate the distinctions for one verb.

FormGlossTranslation
tú hablas2SG speak.PRS.IND.2SG‘you speak’ (constructed)
vos hablás2SG speak.PRS.IND.2SG‘you speak’ (constructed)
usted habla2SG.FORMAL speak.PRS.IND.3SG‘you speak’ (constructed)

The label FORMAL identifies the conventional address form in the gloss. In Colombian usage, usted is also possible in familiar relations, so the pronoun alone leaves social distance unresolved.

Dependency parsing builds on these decisions. In me lo dio, ‘he or she gave it to me’, lo is the direct object and me is the recipient (constructed, glossed above). The subject has no overt word in that example. A basic UD tree represents the overt dependencies without inserting a subject token. Elsewhere, a clitic can have a different function, and its spelling alone is insufficient to determine its relation. The treebank needs concrete analyses of clitic clusters, omitted subjects and the various constructions with se so that a parser can learn their distributions.

Tree inputs for frames and pragmatics

A dependency tree provides lemmas, word classes, features and relations among overt words. A frame analysis can use this information to identify a predicate and look for its participants. In the example with dio, the verb supplies the giving predicate and the two clitics supply evidence for the thing given and the recipient. Establishing the giver’s identity requires context. A tree can register that a dependency is present even when identifying the referent remains a discourse problem.

Address forms illustrate the distinction between grammatical evidence and pragmatic interpretation. In usted habla, ‘you speak’, the overt subject and the third-person agreement are evidence available to the grammatical analysis (constructed, glossed above). The relationship between the speakers is a separate inference. Intonation, local address conventions and the preceding interaction can affect that inference. An interrogative structure likewise supplies evidence about clause type while leaving open what the speaker is trying to accomplish with the question.

Mova’s frames, pragmatics and world components currently read English trees. Colombian Spanish supplies no parsed trees to those components. The examples identify information a tree could make available and information that would require further interpretation.

Grammar claims awaiting implementation

Squid reads each grammatical point in the manual as a claim. Formalizable rules, closed lists and statistics enter its queue for a place in Mova’s code. A queued claim has yet to be implemented. For Colombian Spanish, the first claims relevant to the parsing baseline concern token boundaries, lexical and morphological analysis, and the annotation of syntactic relations.

A tokenization claim should state the conditions for a split and the forms to preserve. For al and del, the conditions identify the preposition and the definite article. For an enclitic construction, the split identifies the verb and each attached pronoun, leaving the original surface form available. This makes a segmentation decision checkable independently of later choices about the pronouns’ syntactic functions.

An inflection claim needs to specify the verb class or lexical item, the applicable tense and mood, and any person or number distinctions. A dependency claim needs enough context to choose between competing analyses. For se, possible environments include a reflexive construction, a pronominal verb, a passive construction and an impersonal construction. In the passive construction, the verb agrees with the patient subject. In the impersonal construction, the verb is third-person singular and the clause has no grammatical subject. A singular verb can therefore occur in either construction. Agreement is informative where the forms distinguish the analyses, and other evidence is needed where they coincide.

Claims about the social meaning of an address form or the force of a question need their discourse conditions stated as well. The grammatical forms and relations can be annotated in a treebank. Speaker relationships and intended acts require evidence beyond those annotations. A dependency baseline would measure the former through its reference attachments.

How Mova handles Colombian Spanish today

tools/mova-parse uses tools/langseg at level 1 to assign a language to each sentence and span, then uses the span’s own language model at level 2. The Latin-script identifier currently distinguishes English and French. A further Latin-script language can be added with a lexicon and a Lang code, using langseg latin-lexicon with open UD training splits.

es-x-co has no level-2 model. The missing model is reported in the # parse comment. Token rows for the language have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Mova does not provide Colombian Spanish tokenization, tagging, lemmatization or dependency parsing.

Mova holds no Colombian Spanish treebank and has measured no baseline for the edition. What every language gets calls for the same baseline across languages. The en crate runs en train after en xpos-fill on a UD training split, and en parse-eval measures UAS and LAS on the development split. The existing model files are en.bin and fr.bin.

The frames, pragmatics and world components, including prag and world, read English trees. Colombian Spanish currently supplies no trees for them to read. Squid takes grammatical points from the manual as claims and queues the formalizable ones. The chapter’s rules are still awaiting implementation, starting with the points needed by a tokenizer, a tagger and a UD treebank baseline.

Sources for this chapter

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