Mova0.6 pre-release

Semitic languages: the date palm 33. Classical Syriac in Mova

Classical Syriac has the language code syc in Mova. Syriac script falls in the segmenter's other category, and Mova has neither a Classical Syriac parser model nor an annotated Classical Syriac corpus. These gaps affect different stages of processing, from identifying a span to measuring the accuracy of its dependency tree.

Language segmentation and the treatment of Syriac script

Language segmentation is the first level of multilingual processing. tools/langseg assigns a language category to each sentence and span. For Latin script, it can distinguish English from French using a Latin table, lexicons and a character 4-gram model. It also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. Scripts outside its recognized inventory receive the category other.

Syriac script falls under that last rule. A span written in Syriac script receives other, so the segmenter's result supplies no syc identification for that span. In a mixed-script text, a neighboring span may receive a more specific language category under the rules for its own script. The result for the Syriac span still follows the rule for unrecognized scripts.

FormRomanizationGlossTranslation
ܡܠܟܐmalkāking.M.SG.EMPH“the king” (constructed)

In the gloss, M means masculine, SG singular and EMPH emphatic state. The form in the first column illustrates the script covered by other. The Romanization is a reading aid. The segmenter's recognition of some scholarly transliterations of Hebrew or Aramaic does not establish a procedure for identifying Romanized Classical Syriac as syc.

The procedure for adding another language written in Latin script calls for a lexicon and a Lang code. The lexicon can be made from an open UD training split with langseg latin-lexicon. For Classical Syriac in its native script, the segmentation gap concerns the script inventory and the category assigned to spans in that script.

Missing parser model and unannotated output

At the second level, tools/mova-parse uses the model for the language assigned to each span. There is no level-2 model for syc. The segmenter's other result for Syriac script and the absence of a syc model are separate limitations. A language code supplied for the material would still leave Mova without a Classical Syriac model to apply.

For a language missing its model, the parser reports that language in a # parse comment. When the output contains token rows for the material, the fields below have the following values.

FieldOutputAnnotation left unset
LEMMA_Lexical citation form
UPOS_Universal part of speech
XPOS_Language-specific part of speech
FEATS_Morphological features
HEAD_Syntactic head
DEPREL_Dependency relation to the head
MISCParse=NoneThe marker records the absence of a parse

Read the underscores together with Parse=None. An underscore in FEATS leaves the feature annotation open, for example, and an underscore in HEAD supplies no syntactic head or root assignment. The presence of rows with these values gives no evidence that Mova has determined Syriac word boundaries. Mova provides no Classical Syriac tokenization, tagging, lemmatization or dependency parsing.

Treebank availability and the unmeasured UAS and LAS baseline

Mova holds no Classical Syriac treebank. It therefore has no measured Classical Syriac baseline for unlabeled attachment score (UAS) or labeled attachment score (LAS). Both measures compare parser output with reference trees. For the tokens included in the evaluation, UAS counts a match when the predicted head agrees with the reference head. LAS requires agreement on both the head and the dependency relation. The missing baseline leaves parser accuracy unmeasured under both criteria.

The baseline requested by What every language gets uses a language's UD training and development splits. In the en crate, en xpos-fill precedes training with en train. Training fits the tree parser and tagger from the training split. en parse-eval measures UAS and LAS on the development split. Models exist for English (en.bin) and French (fr.bin). Those models are for their respective languages. Classical Syriac has no corresponding model, splits or scores in Mova.

A Classical Syriac baseline would require reference choices about which forms count as syntactic words, how to represent morphology and how to attach dependents. Those choices have to be applied consistently across the annotated splits for the scores to be interpretable. For example, a difference in the treatment of an attached form can change the set of words for which a head must be predicted. A difference in dependency labeling can affect LAS even where the head assignments agree. These are properties of the proposed evaluation setup. The current Parse=None output supplies neither a reference tree nor a predicted tree for comparison.

The English-tree dependency of frames and pragmatics

Mova's frames, pragmatics and world components (prag, world) read English trees. They have no parsed Classical Syriac input. Script recognition, span labels and unannotated token rows supply none of the syntactic relations that a tree would provide.

A Classical Syriac dependency parse would address the missing tree at the parser level. The downstream components would still have their English-tree input requirement. The availability of a Syriac model and the ability of those components to use the resulting trees are distinct implementation questions. The current pipeline provides no frames or pragmatic analysis from Classical Syriac trees.

Squid claims, implementation status and candidate baseline work

Squid reads the reference grammar and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter a queue for possible implementation in Mova. A paradigm in the grammar can specify the forms and conditions that an implementation would need to represent. A queued claim still awaits that implementation. The Classical Syriac rules in the manual have yet to be implemented.

The earliest candidate claims are those needed to define a tokenizer's output, a tagger's annotations and the conventions of a UD training corpus. The table lists decisions that would make these claims testable in the baseline.

AreaCandidate baseline work
Written formsSpecify how Syriac reading marks and punctuation are represented so that training and evaluation use the same conventions.
Word boundariesSpecify which attached elements receive separate syntactic word entries and which remain part of a word. Apply the conventions consistently to the reference texts.
Tagging and lemmasDefine the mapping from Classical Syriac word classes to UD tags and decide how to record distinctions such as nominal state, gender and number. Use a consistent citation form when annotating lemmas.
Dependency treesSpecify head and relation choices for constructions the corpus contains, including possession, nominal predication and relative clauses with resumption.
EvaluationPrepare separate UD training and development splits, fit the model on the training split and compare its predicted attachments with the reference attachments on the development split.

These tasks connect specific grammar claims to measurable outputs. A rule about attached forms can inform the representation of syntactic words. A distinction among nominal states can inform morphological annotation. A rule about resumption can inform how the relevant constituents appear in a reference tree. UAS and LAS would test head assignment and dependency labeling. They would leave the accuracy of segmentation, lemmatization and pragmatic interpretation to separate checks.

How Mova handles Classical Syriac today

At level 1, tools/mova-parse uses tools/langseg to assign a language category to every sentence and span. The segmenter distinguishes English and French in Latin script, varieties in Hebrew script, and Hebrew or Aramaic in scholarly transliteration. It assigns other to other scripts, including Syriac script. Its procedure for adding a Latin-script language uses a lexicon and a Lang code, with langseg latin-lexicon building the lexicon from an open UD training split.

At level 2, tools/mova-parse looks for a model for each span's language. It reports a missing model in the # parse comment. There is no syc model. For Classical Syriac token rows, LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL receive _, and MISC contains Parse=None. Mova has no Classical Syriac tokenizer, tagger, lemmatizer or dependency parser.

Mova holds no annotated Classical Syriac corpus, and it has measured neither UAS nor LAS for the language. What every language gets calls for the same baseline for each language. The en crate runs en xpos-fill before en train trains a parser and tagger on the UD training split. en parse-eval measures UAS and LAS on the development split. The existing models are en.bin for English and fr.bin for French.

Mova's frames, pragmatics and world components (prag, world) read English trees and have no parsed Classical Syriac input. Squid turns grammatical points from the manual into claims and queues the formalizable ones. The Classical Syriac rules still await implementation. The first candidates 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/arc/syc/33-mova-tools/