Mova0.6 pre-release

Esperanto: the green star, a green five-pointed star in a white canton on green 29. Esperanto in Mova

Mova has Esperanto text samples. Esperanto language identification in Latin-script text, a parser model, and an annotated treebank baseline are still missing. These gaps affect different stages of processing, from assigning a language to a span through supplying the trees that frames and pragmatics use.

Language segmentation and Esperanto coverage

Mova’s multilingual pipeline starts by assigning a language to each sentence and span. The span matters because a sentence can contain material in several languages. Esperanto articles can include original names, quoted words, and labels that introduce text in another language. The language assigned to the surrounding prose and the language assigned to an embedded span are separate decisions.

The current Latin-script segmenter distinguishes English and French using its Latin table, a lexicon for each language, and a character four-gram model. Esperanto uses the Latin script, and eo identifies Esperanto in the package and corpus. The segmenter needs a Lang code and a lexicon to cover another Latin-script language. Its langseg latin-lexicon command builds such lexicons from open Universal Dependencies training splits.

The corpus excerpt below illustrates a boundary that Esperanto segmentation needs to handle. The Esperanto adverb introduces a name in its German form. All the excerpts in this chapter use Latin script, so their glosses follow the original forms directly.

FormGlossTranslationSentence ID
germane Teutoburger WaldGerman-ADV Teutoburg forest‘in German, Teutoburg Forest’wiki:eo:Teutoburger Wald

Document and sentence metadata can establish where an excerpt came from. Evaluating the segmenter would require reference labels for the relevant spans, including the treatment of embedded names and quoted material.

Model availability and unannotated parse output

At level 2, tools/mova-parse looks up a model by the language assigned to the span and uses that language’s model to parse it. The available models are en.bin for English and fr.bin for French. Esperanto has no level-2 model. For Esperanto tokens shown in the output, the # parse comment reports the missing model and the annotation columns have the following values.

ColumnInformation representedValue for Esperanto
LEMMADictionary form_
UPOSUniversal part of speech_
XPOSLanguage-specific part-of-speech tag_
FEATSMorphological features_
HEADSyntactic head_
DEPRELDependency relation_
MISCMiscellaneous informationParse=None

The underscores indicate that the fields were left unannotated. Parse=None records the missing parse even when the output displays surface forms in token rows. Esperanto-specific tokenization, tagging, lemmatization, and dependency parsing are unavailable. A language label from the segmentation stage and a dependency analysis from the model stage therefore have to be checked separately.

Treebank availability and baseline measurements

Mova holds no annotated Esperanto treebank, so it has no measured Esperanto baseline. The corpus excerpts in this chapter document attested usage. A treebank suitable for the package baseline needs UD annotations and separate training and development splits. Its reference annotations supply the heads and dependency relations against which parser predictions are scored.

The common baseline specified in What every language gets uses Mova’s own parser, the en crate. en xpos-fill precedes en train, which trains a tree parser and tagger on the language’s UD training split. en parse-eval then measures attachment on the development split.

MeasureWhat a scored token must receive for credit
UAS, unlabeled attachment scoreThe reference syntactic head
LAS, labeled attachment scoreBoth the reference syntactic head and the reference dependency relation

The train-to-development setup tests predictions on a split held apart from training. UAS measures head choice, while LAS also tests whether the parser identified the relation to that head. Both measures require a reference tree for comparison. For Esperanto, the current measurement status is unmeasured.

Dependencies of frames and pragmatics

Mova’s frame processing, pragmatics, and world components currently read English trees. Their input is a syntactic analysis, with words related by labeled dependencies. An Esperanto span with Parse=None supplies no Esperanto tree for these components. Parsing is a prerequisite for extending tree-based processing to Esperanto. The current readers are English readers.

A passive construction illustrates the input that a tree would supply. In the corpus example, estis carries past tense, while the passive participle presents the construction as ongoing at the relevant time. The date phrase gives the interval. A downstream interpretation would need the syntactic relations among the passive predicate, its subject, and the date phrase to determine what the interval modifies. Esperanto forms passive periphrases with esti and a passive participle. (Zamenhof 1905, Grammar §6)

FormGlossTranslationSentence ID
estis konstruata de 1838 ĝis 1875be-PST build-PASS.PTCP.SIMUL-ADJ from 1838 until 1875‘was being built from 1838 to 1875’wiki:eo:Hermannsdenkmal

Squid claims and priorities for a first parser baseline

Squid reads each grammatical point in the manual as a claim. Rules, closed lists, and statistics that can be formalized wait in its queue for a place in Mova’s code. A queued claim remains pending until it has an implementation. The first priorities for Esperanto are the claims needed to establish token boundaries, assign tags and features, and annotate dependencies consistently enough to train and evaluate a baseline.

Token boundaries

The tokenizer needs to preserve Esperanto letters within words and handle the punctuation that occurs in running text. The Esperanto alphabet includes ĉ, ĝ, ĥ, ĵ, ŝ, and ŭ, with corresponding capitals. Standard spelling permits apostrophe in place of the final o of a noun or the a of the article. A tokenization convention needs to cover those forms as well as periods in abbreviations, hyphens in names and technical terms, and punctuation around parenthetical material. The treebank and tokenizer need the same boundary decisions. (Zamenhof 1905, Alphabet and Grammar §16)

FormGlossTranslationSentence ID
GnLH-analogaĵoGnLH-analog‘GnLH analog’wiki:eo:Analogaĵo de gonadotropin-liberiga hormono
k.a.and other‘and others’wiki:eo:Penseo

Tags and morphological features

Regular word endings give the tagger evidence about word class and inflection. Common nouns in their full forms end in -o, and adjectives end in -a. For either class, plural -j follows the class ending, and accusative -n follows -j when both occur. An attributive adjective agrees with its noun in number and case. These patterns support joint decisions about the forms in a noun phrase. A tagger also needs lexical and contextual evidence for forms such as the invariant definite article la and for names embedded in Esperanto text. (Zamenhof 1905, Grammar §§1–3, 16)

FormGlossTranslationSentence ID
originalajn verkojnoriginal-ADJ-PL-ACC work-N-PL-ACC‘original works’wiki:eo:Penseo
la plej alta pintoDEF most high-ADJ peak-N‘the highest peak’wiki:eo:Teutoburger Wald

Dependency annotation

A first treebank needs consistent decisions for clause subjects and objects, noun modifiers, prepositional phrases, coordination, and verbal constructions. Morphological features help resolve attachments, but the relation depends on the construction. For example, accusative -n can mark a direct object or express direction toward a destination. The annotation needs to distinguish those uses in their clause contexts. Repeated constructions across the training and development splits make it possible to measure whether the parser has learned the intended head choices and relation labels. (Zamenhof 1905, Grammar §§2, 13)

How Mova handles Esperanto at its current level of coverage

tools/mova-parse first uses tools/langseg to assign languages to sentences and spans. Its Latin-script coverage distinguishes English and French using a Latin table, language lexicons, and a character four-gram model. Adding Esperanto identification calls for a Lang code and a lexicon, with langseg latin-lexicon using an open UD training split.

Level 2 parses each span with the model for its assigned language. No Esperanto model is available. For Esperanto, the # parse comment reports the missing model, and the output has _ in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL, with Parse=None in MISC. Esperanto tokenization, tagging, lemmatization, and parsing remain unavailable. Mova’s frames, pragmatics, and world components (prag, world) read English trees and have no Esperanto trees to read.

Mova holds no annotated Esperanto treebank and has measured no Esperanto baseline. What every language gets specifies the common baseline using en xpos-fill before en train on the UD training split, then en parse-eval to measure UAS and LAS on the development split. Squid collects the manual’s formalizable claims in its queue. The Esperanto rules described here remain unimplemented, with tokenization, tagging, and the UD treebank baseline taking priority.

Sources for this chapter

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