29. Old Spanish in Mova
osp is the Old Spanish edition covered by this manual. Mova provides a grammar for this edition and a multilingual pipeline in which it can report the absence of a parser model. Old Spanish has no level-two model, no treebank held by Mova and no measured parsing baseline. These limits determine what can be read from the output and what remains to be implemented.
Language segmentation and the Old Spanish edition
An edition code identifies the language of the manual. In the parsing pipeline, language identification is a separate operation. At level one, tools/langseg assigns a language to each sentence and span. At level two, tools/mova-parse uses each span’s assigned language to select its parser model. A passage with more than one language may therefore require more than one model, even within a single sentence. Coverage has to be considered span by span.
For Latin-script text, tools/langseg distinguishes English and French using its Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its supported set are classified as other. The stated way to add a Latin-script language is to add a lexicon and a Lang code. langseg latin-lexicon can produce the lexicon from an open Universal Dependencies (UD) training split.
Old Spanish shares the Latin script with the two Latin-script languages currently distinguished. Script recognition therefore supplies only part of the information needed to identify an Old Spanish span. The existence of the osp edition establishes which language the manual describes. An osp assignment to a span depends on language-segmentation coverage. A level-two output description for a span assigned osp is consequently conditional on that assignment. It gives no basis for assuming that arbitrary Old Spanish input will be identified as osp.
The missing level-two model and Parse=None output
Level two looks for a model file corresponding to the language assigned to the span. No such model exists for osp. When tools/mova-parse encounters a span assigned to a language with a missing model, it reports the absence in the # parse comment. For token rows associated with that span, it gives the following values.
| Column | Value for the span | Information normally carried by the column |
|---|---|---|
LEMMA | _ | Dictionary form |
UPOS | _ | Universal part-of-speech tag |
XPOS | _ | Language-specific part-of-speech tag |
FEATS | _ | Morphological features |
HEAD | _ | Syntactic head |
DEPREL | _ | Dependency relation |
MISC | Parse=None | Additional token information, including the missing-parse status |
Read the run of underscores together with Parse=None. In this case the fields are unfilled because the span has no model. An individual FEATS underscore in such a row gives no evidence about the morphology of the form. Likewise, HEAD and DEPREL give no evidence about where the form attaches, including whether it is the root. The comment identifies the missing model, while the MISC value makes the status visible on the affected rows.
The reference to token rows describes how the tool represents missing annotation. Mova supplies no Old Spanish tokenization, tagging, lemmatization or parsing for a span without a model. The absence of a model applies by span language. In mixed input, a missing model for osp leaves those rows unannotated even if a span assigned another language can be parsed with that language’s model.
Treebank availability and the unmeasured baseline
Mova holds no annotated Old Spanish corpus. A treebank supplies tokenized sentences with labels and dependency structures, so a training split can provide examples for a parser and a development split can supply reference annotations for evaluation. Unannotated Old Spanish texts can illustrate spelling and usage. They supply no reference heads or dependency relations against which a parser’s predictions can be scored. The treebank statement here concerns what Mova holds.
The common baseline in What every language gets uses a language’s UD training split to train a tagger and tree parser and its development split to evaluate parsing. Mova’s parser is in the en crate. The workflow runs en xpos-fill before en train, then uses en parse-eval to measure the parser on the development split. The two measures answer different questions about attachment.
| Measure | What must match the reference annotation |
|---|---|
| Unlabeled attachment score (UAS) | The syntactic head |
| Labeled attachment score (LAS) | Both the syntactic head and the dependency relation |
The Old Spanish baseline is unmeasured. There is no Old Spanish UAS or LAS to report. Parse=None records that no parse was produced for the span, so it supplies no observations of attachment accuracy. English and French have models, but a result for either language would concern its own model and evaluation data.
Dependencies for tagging, parsing, frames and pragmatics
Language assignment establishes which model a span would use. The lexical and grammatical annotation then concerns the words within the span. A tokenizer needs rules for word boundaries. A tagger needs word classes and morphological distinctions. A UD parser needs examples of how words attach and which relations the attachments express. A historically spelled form can therefore raise several distinct annotation questions, even in a short clause.
| Form | Gloss | Translation |
|---|---|---|
| El rey fabló. (constructed) | DEF.M.SG king speak.PRET.3SG | ‘The king spoke.’ |
| Los reyes fablaron. (constructed) | DEF.M.PL king.PL speak.PRET.3PL | ‘The kings spoke.’ |
DEF marks the definite article, M masculine, SG singular, PL plural and PRET preterite. 3SG and 3PL identify third-person singular and plural. The forms use Latin script. The glosses describe the examples by hand. A tagger would need to recover distinctions such as the number of the nominal forms and the person and number of the finite verb. A dependency analysis would also connect the article to the noun and the subject to the verb. The gloss by itself supplies no token-level UD annotation.
A model trained on a UD treebank belongs at the parsing stage. Frame and pragmatic interpretation are downstream. Mova’s frames, pragmatics and world components read English trees. With Old Spanish unparsed, these components have no Old Spanish tree to read. Producing a tree would meet that input prerequisite. The current description establishes English-tree support for the downstream components.
Grammar claims and the Squid implementation queue
Squid reads the manual and makes a claim from each grammatical point. Formalizable claims enter its implementation queue. They include rules, closed lists and statistics. A rule needs its conditions and exceptions because they determine where the rule applies. A closed list needs all the members of the set it describes. A statistic needs the quantity and the data it describes. The queue records claims awaiting a place in Mova’s code.
A descriptive example can motivate a claim without defining its full scope. The clauses above illustrate singular and plural agreement with a noun as subject. A formal rule based on that observation would need to specify the constructions to which it applies and account for the cases that require separate treatment. The two clauses alone establish no inventory of all Old Spanish subject constructions, and they provide no frequencies. They also supply no evidence that a tokenizer, tagger or parser implements the analysis.
For a language at this stage, the first relevant claims are the ones a tokenizer, a tagger and a UD treebank baseline would need. Claims about boundaries can inform tokenization. Claims about categories and inflection can inform tagging. Claims about clause structure can inform dependency annotation. A measured baseline still requires training and development data. The manual describes the language, the queue records formalizable claims, and a baseline evaluates a trained parser against annotated sentences. Each answers a different question about coverage.
How Mova handles Old Spanish today
tools/langseg supplies sentence and span languages at level one, within the coverage of its script and lexical resources. Latin-script identification currently distinguishes English and French. An additional Latin-script language requires a lexicon and a Lang code. The osp edition has no level-two model.
At level two, tools/mova-parse selects the model for each span’s assigned language. For an osp span it reports the missing model in # parse, leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL as _, and records Parse=None in MISC. Mova supplies no Old Spanish tokenization, tagging, lemmatization or parsing.
The en crate has models for English and French, in en.bin and fr.bin. The baseline specified in What every language gets uses en xpos-fill and en train for training on a UD training split and en parse-eval for UAS and LAS on the development split. Mova holds no Old Spanish treebank, so no Old Spanish baseline has been measured.
Mova’s frames, prag and world read English trees. They have no Old Spanish parse to read. Squid turns the manual’s grammatical points into claims and queues the formalizable ones. The Old Spanish rules described here have yet to be implemented. The first points for implementation are those needed by 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/es/osp/29-mova-tools/