Mova0.6 pre-release

the flag of Greece 23. Pontic in Mova

Mova uses pnt as the language code for Pontic. The grammar manual and the Pontic text excerpts document the language. Automatic analysis requires script or language recognition, a parser model, and annotated data for measuring the parser. This chapter describes the coverage of those components and the output available for Pontic.

The Pontic package and its current status

The Pontic package has a grammar manual and corpus excerpts. The excerpts show Pontic in use and provide examples that can be cited by sentence ID. Mova holds no annotated Pontic treebank and has no level-2 parser model for pnt. The package specification in What every language gets calls for the same train-to-development parsing baseline for each language. For Pontic, that baseline remains unmeasured.

ComponentPontic status
Language code and manual editionpnt
Text examplesPontic corpus excerpts with sentence IDs
Annotated Universal Dependencies (UD) treebankAbsent from Mova
Level-2 parser modelAbsent
Parsing baselineUnmeasured
Input to frames, pragmatics and world analysisNo parsed Pontic input

A citation identifies the source of a form. For example, the following phrase names the language in which the site is written. Its gloss is part of the manual’s description and supplies no automatic analysis for the parser.

FormRomanizationGlossTranslation
«Η Βικιπαίδεια σα Ποντιακά»I Vikipaídeia sa Pontiakáthe Wikipedia in.the Pontic“Wikipedia in Pontic”

Corpus example wiki:pnt:Αρχικόν σελίδα.

Language segmentation and script coverage

At level 1, tools/langseg assigns each sentence and span a language label or the fallback label other. Span labels determine which language models level 2 can select within a sentence. The label therefore matters even when the language of the document as a whole is already known to the reader.

Input covered by level 1Recognition supported
English and French in Latin scriptDistinguishes the two using a Latin-script table, language lexicons and a character 4-gram model
Hebrew scriptDistinguishes supported Hebrew-script varieties
Hebrew or Aramaic in scholarly transliterationRecognizes the supported transliterations
Scripts outside the supported coverage, including GreekAssigns other

The unattested capability for Pontic is at the language-label stage as well as at the parsing stage. In the excerpt below, the Greek-script forms fall under other even though the corpus identifies the phrase as Pontic. The corpus identification and the runtime label answer different questions. One records the language of the source. The other gives the result of automatic segmentation.

FormRomanizationGlossTranslation
«τα Ρωμαίικα τη Πόντονος»ta Romaíika ti Póntonosthe Romaic the.GEN Pontus.GEN“the Romaic of Pontus”

Corpus example wiki:pnt:Αρχικόν σελίδα.

The supported route for adding a Latin-script language calls for a lexicon and a Lang code. langseg latin-lexicon uses open UD training splits for the lexicon. That route concerns Latin-script recognition. The corpus examples here use Greek script, while the romanizations in the example tables serve as reading aids.

The multilingual parser and missing-model output

tools/mova-parse uses the result of level 1 to select a language model at level 2. Level 1 locates and labels spans. Level 2 uses the model for the language of each span to supply the linguistic analysis. This permits model selection by span in a text that contains more than one language.

When a span has a language label but that language has no model, the parser reports the missing model in the # parse comment. The token rows in this case carry the following values.

FieldRoleValue for a missing model
LEMMADictionary form_
UPOSUniversal part of speech_
XPOSLanguage-specific part of speech_
FEATSMorphological features_
HEADSyntactic head_
DEPRELDependency relation_
MISCMiscellaneous token informationIncludes Parse=None

Parse=None records the absence of a parse. In particular, _ in HEAD supplies no head assignment, and _ in FEATS supplies no analysis of which features a form has. These fields cannot be used to count root nodes or to infer that a Pontic word lacks a particular feature.

The missing-model convention applies to pnt because there is no Pontic model. For ordinary Greek-script Pontic input, the script coverage at level 1 is an additional limit. The missing-model fields describe what the output carries for tokens in an unparsed span. They provide no Pontic-specific token boundaries or other Pontic linguistic analysis.

Treebank requirements and the unmeasured parsing baseline

A UD baseline requires annotated training and development splits. The training split provides examples of the token boundaries, tags and trees that the system must learn to reproduce. The development split supplies reference trees for evaluation. The Pontic excerpts furnish actual forms and contexts, but Mova has no Pontic treebank with reference annotations for this procedure.

Mova’s parser and tagger are in the en crate. The procedure in What every language gets uses en xpos-fill before en train, which trains on the language’s UD training split. en parse-eval measures the resulting parser on the development split. Mova has models for English (en.bin) and French (fr.bin).

MeasureWhat counts as a correct attachment
Unlabeled attachment score (UAS)The predicted head matches the reference head
Labeled attachment score (LAS)Both the predicted head and the predicted dependency relation match the reference

For Pontic, UAS and LAS are both unmeasured. Corpus citations count as evidence for individual examples. Attachment scores require predicted trees and reference trees on a development split. The underscores and Parse=None in missing-model output are status information and carry no attachment measurements.

A Pontic baseline first needs annotation decisions about the units to be tagged and the analyses assigned to them. Word boundaries determine which units receive tags and which can take part in dependencies. Tagging decisions determine the categories and features recorded for those units. Treebank annotation applies those decisions in running text and records the head and relation for each dependency. These are the requirements that connect grammar descriptions of individual forms to a repeatable train-to-development evaluation.

Frames, pragmatics and their dependence on parsed input

Mova’s frame, pragmatic and world components, including prag and world, read English trees. A corpus excerpt provides text that a reader can interpret. The input these components consume is a syntactic analysis, with relations linking words to their heads.

For example, the excerpt below gives a quantity and the kind of entity being counted. Its gloss makes that reading available to the reader of the manual. A runtime analysis that draws on syntactic relations would first need an annotated parse of the expression in its clause.

FormRomanizationGlossTranslation
«άλλα 111 ημέρας»álla 111 imérasother 111 day.PL“another 111 days”

Corpus example wiki:pnt:11 Σταυρί.

With Pontic input, the current pipeline supplies no Pontic tree to the downstream components. A model would address that missing input. The stated coverage of the downstream components is English trees, so Pontic parsing and downstream Pontic interpretation are distinct capabilities.

Squid claims and the implementation queue

Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims go into its implementation queue. These include rules, closed lists and statistics. For a rule, the specification includes the conditions under which it applies and any exceptions. For a closed list, it includes the complete inventory within the stated scope. For a statistic, it identifies what was counted. A claim’s presence in the queue means that implementation is pending.

For Pontic, the first priorities are the points needed by a tokenizer, a tagger and a UD treebank baseline. Tokenization claims specify boundaries in the written text. Tagging claims give the categories and features available for the resulting units and the conditions for assigning them. Treebank claims specify how analysis choices are represented in UD and applied consistently across the data used for training and development.

A corpus example can document the occurrence of a form, and a claim can state the generalization that the manual makes about it. Runtime support requires the generalization to be implemented. The Pontic rules in the manual currently have no implementation in Mova.

How Mova handles Pontic from input to output

  1. Language labels. Level 1 of tools/mova-parse uses tools/langseg to label each sentence and span. It handles English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Greek script falls under other, so Greek-script Pontic receives that fallback label.
  2. Model selection and output. Level 2 selects a model by the language of each span. There is no model for pnt. The missing-model case is reported in the # parse comment. Its token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and Parse=None in MISC. Mova has no Pontic tokenization, tagging, lemmatization or parsing.
  3. Training and measurement. The baseline in What every language gets uses en xpos-fill, then en train on a UD training split, and en parse-eval for UAS and LAS on the development split. Mova has no annotated Pontic treebank, so neither score has been measured for Pontic.
  4. Downstream analysis. The frame, pragmatic and world components, including prag and world, read English trees. Pontic supplies no parsed input for those components.
  5. Grammar claims. Squid turns the manual’s grammatical points into claims and queues the formalizable ones. The Pontic rules remain unimplemented. The first priorities are the claims needed for tokenization, tagging and a UD treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/el/pnt/23-mova-tools/