24. North Korean in Mova
Mova separates language identification from grammatical parsing. Its North Korean edition uses the code ko-x-north. The package has no parser model or annotated treebank. Those gaps determine what Mova can report about a North Korean passage, which measurements are available, and whether downstream components have a tree to read.
Language segmentation and the treatment of Hangul
The first level of tools/mova-parse uses tools/langseg to assign a language label to every sentence and span. A sentence can contain spans with different labels. The second level uses the language of each span to select its parser model.
For Latin-script text, tools/langseg distinguishes English and French using 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. Script outside the supported coverage falls under other. Hangul therefore falls under other, and Hangul alone supplies no ko-x-north identification. A mixed-script sentence can receive a supported language label on a span while its Hangul span falls under other.
The route for adding a Latin-script language uses langseg latin-lexicon and requires a lexicon from open Universal Dependencies (UD) training data and a Lang code. That route is for Latin-script language identification. Hangul remains outside the segmenter's supported script coverage.
The North Korean package and its parser model status
At level 2, tools/mova-parse looks for a model file belonging to the language of the span. A span needs a supported language assignment and a corresponding model for automatic parsing. The existence of a North Korean package code supplies the language identifier used in the package. A model for that code is a separate resource, and ko-x-north currently has none.
Mova's own tree parser and tagger are in the en crate. The English model is en.bin and the French model is fr.bin. Each belongs to its own language. Given a language's UD training split, the training workflow uses en xpos-fill before en train. With no North Korean treebank, the package has no UD training split for this workflow.
Unannotated output and the Parse=None marker
When the model for a language is missing, tools/mova-parse reports that language in the # parse comment. In output for ko-x-north, the token rows carry Parse=None in MISC and underscores in the six annotation columns below.
| Column | Contents for unparsed output | Annotation the column would carry |
|---|---|---|
LEMMA | _ | Dictionary form |
UPOS | _ | Universal part-of-speech tag |
XPOS | _ | Language-specific part-of-speech tag |
FEATS | _ | Morphological features |
HEAD | _ | Index of the syntactic head, or the root value |
DEPREL | _ | Dependency relation to the head, or the root relation |
MISC | Parse=None | Status indicating that the row was left unparsed |
The comment reports the missing model at the language level. The marker records the absence of a parse on the individual row. The underscores in HEAD and DEPREL leave both the attachment and its relation unspecified. In particular, an underscore in HEAD supplies no evidence that the token is the root. The presence of token rows in this output establishes no North Korean tokenization analysis. Mova has no North Korean tokenizer.
Treebank data and baseline measurements
Mova has no annotated North Korean corpus. A UD treebank for the baseline would need a training split for fitting the parser and tagger and a development split with reference trees for evaluating their output. Unannotated text, including text returned with Parse=None, supplies no reference heads or dependency relations for that comparison.
The language package specification in What every language gets calls for the same baseline for every language. After en xpos-fill and training with en train, en parse-eval measures attachment on the development split.
| Measure | What 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 its dependency relation match the reference annotation. |
For ko-x-north, both scores are unmeasured. A missing baseline supplies no estimate of parsing accuracy.
Frames, pragmatics and their tree input
Mova's frame, pragmatics and world components read English trees. A parse supplies the grammatical relations that these components take as input. A span label identifies a language, while a token row marked Parse=None supplies no tree for that span.
Consider a short North Korean clause (constructed).
| Form | Romanization | Gloss |
|---|---|---|
| 나는 간다 | na-nŭn kan-da | 1SG-TOP go-DECL |
‘I go.’
The gloss identifies the first-person pronoun, the topic particle and the declarative predicate. It is a description of the example. In Mova's unannotated output, the missing head and relation fields leave the clause without a dependency tree for the downstream components to read. North Korean parsing is therefore a prerequisite for tree-based processing of the clause.
Manual claims and the Squid queue
Squid reads the grammar manual and extracts each grammatical point as a claim. Formalizable claims, including rules, closed lists and statistics, enter a queue for a place in Mova's code. The queue records claims awaiting implementation. Publication in the manual and entry in the queue leave the current language tools as they are.
For North Korean, the first points relevant to implementation are those needed for tokenization, tagging and a UD treebank baseline. A written rule can specify an analysis for these purposes. Training and evaluating a parser still require annotated data.
How Mova handles North Korean across the pipeline
At level 1, tools/mova-parse uses tools/langseg to label sentences and spans. Since Hangul falls under other, this level provides no North Korean identification from Hangul. At level 2, ko-x-north has no parser model. tools/mova-parse reports the missing model in # parse, leaves LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL unfilled, and records Parse=None in MISC. North Korean tokenization, tagging, lemmatization and parsing are unavailable.
Mova has no annotated North Korean treebank and no measured UAS or LAS baseline. Its frames, prag and world read English trees and have no parsed North Korean tree to consume. Squid turns manual statements into claims and queues those that can be formalized. These claims are awaiting implementation, beginning with the points a tokenizer, tagger and UD treebank baseline would need.
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/ko/ko-x-north/24-mova/