28. Adyghe in Mova
Mova assigns languages to sentences and spans before it looks for a model to parse each span. For Adyghe (ady), the current package contains source text, while Cyrillic language identification, dependency parsing and treebank evaluation are still unavailable. These limits determine what the parser can report and what the later stages can use.
Language segmentation and Cyrillic coverage
Level 1 of tools/mova-parse uses tools/langseg to assign a language to every sentence and span. A sentence can contain spans with different language assignments. The span assignment is what the next level uses to select a parser model, so identifying the language of a span and analyzing its grammar are two successive operations.
For Latin script, tools/langseg distinguishes English and French with a 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. Other scripts receive the label other. Adyghe Cyrillic falls under this last condition, so an Adyghe passage in Cyrillic receives the script fallback wherever its language would have to be identified from that script. The language code ady identifies the package, while other is the segmentation result for the Cyrillic text.
For an additional Latin-script language, the extension uses a lexicon from an open UD training split, generated with langseg latin-lexicon, and an added Lang code. That procedure applies to Latin-script language identification. The current Adyghe material illustrates the separate issue of coverage for Cyrillic.
| Form | Romanization | Gloss | Translation | Mova corpus sentence ID |
|---|---|---|---|---|
| “Адыгэ джэгу” | Adyge dzhegu | Adyghe dance | ‘Adyghe dance’ | wiki:ady:Адыгэ джэгу |
| “абадзэбзэкIэ” | abadzebzekʼe | Abaza.language-INS | ‘in Abaza’ | wiki:ady:Абадзэбзэ |
| “джэгуакӀо” | dzheguakʼo | dance.performer | ‘dance performer’ | wiki:ady:Абазэ Къамбот |
The forms retain the source characters. The second uses Latin I within a Cyrillic word, and the third uses Cyrillic Ӏ. The romanizations and glosses in the table are editorial aids for reading the examples.
Model lookup and Parse=None output
At level 2, tools/mova-parse looks up a model for each span using the language assigned at level 1. The lookup pattern is <code>.bin, with the same language code in the directory and filename. When the model exists, level 2 uses it to parse that span. In a multilingual sentence, the lookup takes place for each span according to its own language assignment.
A missing model is reported in the # parse comment. On the affected token rows, the six linguistic analysis fields have the following values, and MISC carries the status of the parse.
| Field | Output for a span without a model | Information unavailable from the parser |
|---|---|---|
| LEMMA | _ | Lemma |
| UPOS | _ | Universal part of speech |
| XPOS | _ | Language-specific part of speech |
| FEATS | _ | Morphological features |
| HEAD | _ | Syntactic head |
| DEPREL | _ | Dependency relation |
| MISC | Parse=None | Parser status showing that the span has no parse |
A row with these values can display the source form, but supplies no Adyghe tokenization analysis. For example, an unannotated row containing “абадзэбзэкIэ” leaves open how the form should be tokenized, what lemma should be assigned, how its instrumental marking should be recorded and what it depends on in the sentence. The gloss in the table above comes from the example's grammatical analysis. The MISC value records the absence of a model for the span and applies across its token rows.
Treebank availability and baseline measurements
Mova holds no annotated Adyghe corpus. The Wikipedia examples provide attested forms and sentence identifiers. A UD treebank would provide annotated sentences with token boundaries, grammatical tags and dependency trees. Those annotations would supply the training data and the reference analyses for a development evaluation.
The package specification in What every language gets calls for the same parser baseline for every language. The existing model files en.bin and fr.bin belong to English and French. For Adyghe, both attachment measures are unmeasured because the package lacks a treebank for the train-to-development evaluation.
| Measure | What counts as a correct attachment | Adyghe baseline |
|---|---|---|
| UAS, unlabeled attachment score | The predicted head matches the reference head | Unmeasured |
| LAS, labeled attachment score | Both the predicted head and the predicted dependency label match the reference analysis | Unmeasured |
These measures use reference dependency annotations. Counting rows with Parse=None counts how often parser output is unavailable. It supplies neither of the attachment measurements in the table.
The training command and evaluation protocol
The en crate provides the training and evaluation commands for Mova's own parser. The crate name stays the same when the training data are for a language other than English. A run uses the language's UD training split to fit a tagger and tree parser, then uses its development split to measure the resulting parser's attachments.
| Order | Command | Role in the baseline |
|---|---|---|
| 1 | en xpos-fill | Prepare the language-specific part-of-speech field before training |
| 2 | en train | Train the tree parser and tagger on the language's UD training split |
| 3 | en parse-eval | Evaluate the trained parser on the development split and measure UAS and LAS |
The split roles determine how to read the evaluation. The training sentences supply the analyses from which the model learns. The development sentences supply the reference heads and labels for comparison with the model's predictions. An attachment with the correct head and a different label counts as correct for UAS only. An attachment with the wrong head fails both checks.
For Adyghe the protocol is specified, but there are no splits in the package on which to run it. Model lookup during multilingual parsing and the development evaluation also have different inputs. The former needs a model file for the assigned span language. The latter needs the trained parser and annotated development sentences from which to compute the scores.
Dependencies of frame and pragmatic processing
Mova's frame, pragmatic and world processing currently reads English trees. A dependency tree gives downstream processing access to the syntactic connections among the words in a sentence. For instance, a source form and its translation can suggest a participant in an event to a human reader, but the form alone supplies no head or dependency relation for the software to read.
For an Adyghe span, Parse=None marks the point at which the analysis stops. The blank HEAD and DEPREL fields leave the downstream stages without a tree for the span. Adyghe parsing is therefore a prerequisite for passing that span to tree-based processing. The existing tree input for prag and world is English, so the availability of an Adyghe dependency tree would establish the parsing prerequisite only. The current package supplies no Adyghe frame or pragmatic analysis from its source text.
Squid claim extraction and the implementation queue
Squid reads the grammar manual and turns each grammatical point into a claim. A formalizable claim, such as a rule, a closed list or a statistic, waits in Squid's queue for a place in Mova's code. A claim's presence in the queue means its implementation is pending. A paradigm in the manual can thus supply grammatical information to Squid while the multilingual parser still lacks a model for the language.
The first implementation needs come from tokenization, tagging and the UD baseline. These needs involve different decisions about the same text.
| Area | Grammatical information needed |
|---|---|
| Tokenization | Which parts of the written sequence form tokens, including boundaries involving punctuation |
| Tagging | Which word classes and morphological features the token forms realize, including the conditions on their use |
| UD annotation and evaluation | How to assign heads and dependency relations so that training and development reference analyses can be prepared |
For example, the manual can identify instrumental marking in a written form and describe when it occurs. Encoding a corresponding morphological analysis in a treebank requires deciding which token carries the feature. Training and evaluating a parser also requires heads and relations for the sentences in the respective splits. The claim records the grammatical point that can inform this work. Implementation and measurement require the corresponding code and annotated data.
How Mova handles Adyghe in the current package
tools/mova-parse first assigns sentence and span languages through tools/langseg. Its Latin-script coverage distinguishes English and French, and it also handles Hebrew-script varieties and scholarly transliterations of Hebrew or Aramaic. Adyghe Cyrillic falls under other. For an additional Latin-script language, the extension uses a Lang code and a lexicon built from open UD training material with langseg latin-lexicon.
The second level uses the model for the assigned span language. The ady model is absent. The missing-model output reports the language in # parse, gives _ for LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and puts Parse=None in MISC. The package provides no Adyghe tokenization, tagging, lemmatization or dependency parsing.
The package baseline specified in What every language gets uses en xpos-fill before en train on a UD training split, and en parse-eval measures UAS and LAS on the development split. The available models are en.bin and fr.bin. Mova has no Adyghe treebank, so an Adyghe baseline has yet to be measured.
Mova's frames, pragmatics and world processing read English trees. Without an Adyghe tree, these components have no parsed Adyghe input. Squid extracts grammatical claims from the manual and queues those that can be formalized. Implementation of the chapter's grammatical points is pending, with tokenizer, tagger and UD baseline requirements first.
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/ady/28-mova-tools/