Mova0.6 pre-release

the flag of India 23. Old Gujarati in Mova

Old Gujarati has the edition code gu-x-old. Mova has neither a parser model nor an annotated treebank for this edition. Language identification, grammatical annotation and interpretation are separate stages. A language label identifies a span, a dependency tree records its grammatical structure, and the downstream components use trees as input. Each stage has its own coverage.

Language segmentation and script coverage

At level 1, tools/langseg assigns a language label to each sentence and span. A sentence can contain spans with different labels. The span label matters at the next level because tools/mova-parse uses it to select the parser model for that span.

The segmenter distinguishes English and French in Latin script using a Latin 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 its supported set receive the label other. Gujarati script falls into this group, so a passage in Gujarati script cannot be identified as gu-x-old on the basis of its script by the current segmenter.

FormRomanizationGlossTranslation
ઘરgharahouse‘house’ (constructed)

The Gujarati-script form illustrates input covered by other. Writing the same form as ghara places it in Latin script. Script recognition alone gives the segmenter no basis for assigning that spelling to Old Gujarati. The supported route for adding a Latin-script language is to add a Lang code and a lexicon, which langseg latin-lexicon can build from an open Universal Dependencies (UD) training split. The choice of how to cover Old Gujarati script and how to cover romanized Old Gujarati belongs to language identification. Both are separate from training an Old Gujarati dependency parser.

Parser model availability and Parse=None output

At level 2, tools/mova-parse looks for the model file associated with the language of each span. Parsing is span-specific. A span with an available model can be parsed even when another span in the same sentence lacks one. No level-2 model exists for gu-x-old.

When a span's language has no model file, the # parse comment reports that language. In the output rows for the span, all six fields in the following table receive _, and MISC carries Parse=None.

FieldValue in an unparsed rowAnnotation unavailable
LEMMA_Lemma
UPOS_Universal part-of-speech tag
XPOS_Language-specific part-of-speech tag
FEATS_Morphological features
HEAD_Index of the syntactic head
DEPREL_Dependency relation to the head

Parse=None records the absence of a parse. It supplies no judgment about the grammaticality of the passage. The blank HEAD and DEPREL fields leave both the choice of head and the type of relation unspecified. A row in this output also supplies no evidence that Mova applied Old Gujarati rules to establish the token boundary. Mova currently has no Old Gujarati tokenization, tagging, lemmatization or dependency analysis. The missing-model behavior applies to spans routed to gu-x-old. A span labelled other at level 1 has no Old Gujarati language assignment to pass to level 2.

Treebank status and the unmeasured parsing baseline

Mova holds no annotated Old Gujarati corpus. Its language package, described in What every language gets, asks for the same parsing baseline for each language. The en crate supplies the training and evaluation workflow. After en xpos-fill, en train trains a tree parser and tagger on the language's UD training split. en parse-eval measures parsing on the development split. Mova has trained models for English (en.bin) and French (fr.bin). Old Gujarati has no measured baseline.

MeasureWhat counts as a correct attachmentOld Gujarati result
UAS, unlabeled attachment scoreThe predicted head matches the annotated head.Unmeasured
LAS, labeled attachment scoreBoth the predicted head and the dependency relation match the annotation.Unmeasured

These measures require reference trees in a development split. Text transcriptions can supply material for such a split, but they need token boundaries and dependency annotations before they can serve as the reference. Training likewise needs a UD training split with examples of the annotation the model is to predict. The development split provides a separate basis for measuring predictions against that annotation. The missing model and the missing measurement describe different gaps. The model gap determines the current output for an Old Gujarati span. The measurement gap leaves the accuracy of an Old Gujarati parser unknown.

Dependencies of frames and pragmatics on parsed input

Mova's components for frames, pragmatics and world representation read English trees. This includes prag and world. An Old Gujarati span with Parse=None supplies no dependency tree to those components. Even if the span has a language label and appears in output rows, neither the head of a token nor its relation to another token is available in those rows.

A tree would provide structural input for identifying predicates, their dependents and the relations among them. The same distinction matters for discourse analysis. A language label supplies no clause structure for interpreting a question or tracing a referring expression through a passage. An Old Gujarati parser would supply the tree required at this boundary. The current downstream components read English trees, so an Old Gujarati parsing baseline by itself would establish only the availability and measured accuracy of the syntactic input.

Grammar claims in Squid and priorities for a baseline

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable rules, closed lists and statistics enter its queue for a place in Mova's code. A queued claim specifies something that could be implemented. Its presence in the queue leaves the current parser output unchanged. The manual's accounts of morphology, syntax and discourse therefore describe the language independently of which analyses Mova can produce.

For an initial Old Gujarati baseline, the grammar points with the most direct application are those needed to establish token boundaries, assign tags and annotate dependency trees. Those decisions have to work together on the same passages.

WorkDecisions needed for a baseline
TokenizationDetermine how the edition's word division and punctuation map to token boundaries. Specify when a written unit containing a particle or clitic corresponds to one token or several.
Tagging and morphological annotationAssociate forms in context with UD word classes and features. Specify the conditions for assigning a tag when a form has more than one grammatical use.
LemmatizationSpecify how variant spellings and inflected forms are associated with the chosen lemma.
Dependency annotationSpecify heads and relation labels for nominal groups, case-marked dependents, predicates with auxiliaries and linked clauses. Apply the same conventions to the training and development material.

Token boundaries determine the units that receive tags and enter the dependency tree. Consistent head and relation choices determine what the evaluation measures. For example, a decision about the boundary of a written particle affects whether it receives its own tag and dependency relation. A decision about the head of an auxiliary construction affects every attachment to that head. These are priorities for building an annotation baseline, and no Old Gujarati rules from the manual are implemented in Mova yet.

How Mova handles Old Gujarati across the pipeline

tools/langseg assigns a language to sentences and spans at level 1. It distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Gujarati script receives other under the rule for scripts outside that coverage. Recognition of another Latin-script language requires a lexicon and a Lang code. langseg latin-lexicon can build the lexicon from an open UD training split.

At level 2, tools/mova-parse selects a model for each span by its language. There is no model for gu-x-old. The # parse comment reports a language with no model, and the span's rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova does not tokenize, tag, lemmatize or parse Old Gujarati.

Mova holds no Old Gujarati treebank and has measured no parsing baseline for the edition. What every language gets calls for a common baseline. In that workflow, en train trains on a UD training split after en xpos-fill, and en parse-eval measures UAS and LAS on the development split.

The frames, pragmatics and world components read English trees. prag and world have no Old Gujarati tree to read. Squid records the manual's grammatical points as claims and queues those that can be formalized. The Old Gujarati claims still await implementation. The first priorities are the points needed for 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/gu/gu-x-old/23-mova-tools/