Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/languages/ko/okm/34-mova-tools/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [languages](https://md.mova.elamur.ai/free/en/docs/languages/) / [Korean](https://md.mova.elamur.ai/free/en/docs/languages/ko/) / [okm](https://md.mova.elamur.ai/free/en/docs/languages/ko/okm/) / 34. Middle Korean in Mova

# 34. Middle Korean in Mova

The Middle Korean edition uses the language code `okm`. Mova has a multilingual parser, but the Middle Korean package has neither a parser model nor an annotated treebank. This chapter describes how Mova selects models, what its output shows when a model is missing, and which parts of the grammar remain to be implemented.

## Language segmentation and model selection

Mova separates language identification from grammatical analysis. At level 1, `tools/langseg` assigns a language label to each sentence and span. At level 2, `tools/mova-parse` uses the language of each span to select its parser model. A mixed-language sentence can therefore contain spans that take different model files. The model lookup uses the language code in both the directory and the filename, following the pattern <code>.bin.

The language labels available at level 1 depend on script and lexical evidence. In Latin script, the segmenter 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. Scripts outside its supported inventory fall under `other`. Hangul receives that label, so there is no dedicated Middle Korean identification based on Hangul spelling. The presence of `okm` as an edition code does not by itself give the segmenter an `okm` label for a span.

Romanization puts Middle Korean material into Latin script without adding Middle Korean lexical evidence to the segmenter. The Latin-script extension mechanism uses a lexicon and a `Lang` code. The `langseg latin-lexicon` command builds a lexicon from an open Universal Dependencies training split. That mechanism concerns recognition of a Latin-script language at level 1. A level-2 model is a separate requirement.

These two stages delimit what a parse can cover. The segmentation result records the language decision used for model selection. A span can receive a language label without a model being available for that label. In a mixed document, the availability of a model for one span applies to that span. It provides no grammatical analysis of the adjacent Middle Korean material.

## Missing okm model and the unannotated output

There is no level-2 parser model for `okm`. When `tools/mova-parse` encounters a language without a model file, it reports the missing model in the `# parse` comment. The affected output rows carry `Parse=None` in MISC. The fields that would contain the lexical, morphological, and dependency analyses all contain `_`.

| Field | Value without a model | Analysis the field would carry |
| --- | --- | --- |
| 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` | Explicit indication that the row received no parse |

Read the blank fields together with the status marker. For example, a blank FEATS field in a `Parse=None` row leaves the token’s morphology unspecified. It does not establish that the form lacks grammatical features. An underscore in HEAD leaves the head unassigned, and an underscore in DEPREL leaves the relation unassigned. These rows supply no dependency arcs for a tree. The `# parse` comment reports model availability, while the MISC marker makes the absence of analysis visible on the affected rows.

Consider this Middle Korean surface form as a sample input (constructed).

| Form | Romanization | Gloss | Translation |
| --- | --- | --- | --- |
| 사ᄅᆞᆷ | sarʌm | person | ‘person’ |

The gloss in the example is supplied by the manual. If the form appears in an unannotated row, that row supplies neither its lemma nor its part of speech. The example also illustrates the distinction between a surface form and a tokenization decision. An output row can carry text and an unparsed status without establishing that Mova applied any Middle Korean rules for locating word boundaries or separating attached grammatical forms.

## Corpus status and the unmeasured parsing baseline

Mova holds no annotated Middle Korean corpus. A treebank baseline requires reference analyses against which the parser’s predictions can be scored. A text used as a source for the grammar and a glossed example used to explain a construction can both document the language. A Universal Dependencies treebank supplies the additional token-level annotations and dependency trees needed for parser training and evaluation.

Mova’s own tree parser and tagger are in the `en` crate. The shared package procedure uses `en xpos-fill` before `en train`, which trains on a language’s Universal Dependencies training split. `en parse-eval` measures attachment on the development split after training. [What every language gets](https://md.mova.elamur.ai/free/en/docs/languages/PACKAGE/) asks for that same baseline for each language. English and French have models, `en.bin` and `fr.bin`, respectively.

| Measure | What counts as a correct attachment |
| --- | --- |
| UAS, unlabeled attachment score | The parser assigns the reference syntactic head. |
| LAS, labeled attachment score | The parser assigns both the reference head and the reference dependency relation. |

For Middle Korean, there is no measured treebank baseline. The status `Parse=None` records that the parser supplied no analysis. It is therefore outside the comparison that either attachment score measures. In particular, an unparsed row supplies no predicted head that could be compared with a reference head. A numerical baseline would describe performance on annotated development data after training, so the missing baseline carries no estimate of how accurately a Middle Korean model would handle any construction.

The corpus gap and the model gap concern different deliverables. The treebank supplies the reference analyses for training and scoring. The model file is what the multilingual parser looks for when analyzing input. The treebank baseline measures the parser’s performance against annotated data, whereas the missing-model report describes whether a parse was available on a particular run.

## Frames and pragmatics outside the English pipeline

Mova’s frames, pragmatics, and world components use English dependency trees. The components include `prag` and `world`. Their input is at a later stage than language segmentation. A span label gives the parser its model choice, while a dependency tree supplies the grammatical relations that later analysis can read.

For Middle Korean, the missing model cuts off that input. An unannotated span provides no dependency relation between a predicate and a nominal, for example. A later component therefore has no parser-supplied relation from which to derive a frame for that span. Likewise, a Middle Korean string preserved in an output row supplies no tree on which to run the pragmatics pipeline. The English input requirement remains relevant even for a language that has its own dependency model.

The manual’s descriptions of speech acts, reference, ellipsis, and figurative language concern the interpretation of Middle Korean texts. Their presence in the manual does not give those interpretations a representation in parser output. An omitted argument discussed in the grammar, for example, is a fact about a construction in context. A blank HEAD or DEPREL field in unparsed output reflects the absence of a tree, regardless of whether the text expresses or omits an argument.

## Grammar claims in Squid and their implementation status

Squid reads the manual and records each grammatical point as a claim. Rules, closed lists, and statistics that can be formalized wait in Squid’s queue for a place in Mova’s code. A queue entry records a claim awaiting implementation. Middle Korean currently has no implemented chapter rules.

The scope of a claim comes from the grammatical description. A rule with a conditioning environment applies in that environment, and its stated exceptions are part of the claim. A closed list states which forms belong to a category. For instance, a statement about the forms in an ending paradigm and a rule governing where one of those forms occurs make distinct claims. Recording either one leaves open how its evidence would be represented in tokenization, tagging, or dependency annotation.

For Middle Korean, the first implementation needs concern tokenization, tagging, and the Universal Dependencies treebank baseline. A tokenizer needs decisions about where units begin and end, particularly where a written form contains both lexical and grammatical material. A tagger needs categories and features that can be assigned to those units. A dependency baseline needs annotated heads and relations so that parser predictions can be evaluated against the same analysis conventions. These are the points at which the manual’s descriptions of spelling, morphology, and syntax can inform the initial tools and reference data.

Implementation and measurement answer separate questions about a claim. Its treatment in code determines whether a tool can apply it. Reference analyses and evaluation determine how the parser performs on the annotated material. Neither the manual’s coverage of a construction nor the presence of a corresponding queue entry supplies an attachment score for Middle Korean.

## How Mova handles Middle Korean today

`tools/langseg` labels sentences and spans within its script and lexical coverage. It distinguishes English and French in Latin script, Hebrew-script varieties, and Hebrew or Aramaic in scholarly transliteration. Other scripts receive `other`. This leaves Hangul outside dedicated language identification.

`tools/mova-parse` selects a model for each span by language code. No `okm` model exists, so Middle Korean receives no language-specific tokenization, tagging, lemmatization, or parsing. The missing model is reported in the `# parse` comment. Affected token rows have `Parse=None` in MISC and `_` in LEMMA, UPOS, XPOS, FEATS, HEAD, and DEPREL.

Mova has no annotated Middle Korean treebank and no measured Middle Korean parsing baseline. The package asks for the baseline used by the `en` crate, with `en xpos-fill` before `en train` on the training split and `en parse-eval` measuring UAS and LAS on the development split. Mova’s frames, pragmatics, and world components read English trees. The Middle Korean output supplies no trees for them to read.

Squid records the manual’s grammatical claims and queues those that can be formalized. No Middle Korean chapter rule is implemented yet. The first points for implementation are those needed by a tokenizer, a tagger, and a Universal Dependencies treebank baseline.

## 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](https://md.mova.elamur.ai/free/en/docs/languages/ko/okm/sources/)).
- [← previous 33. Register and genre](https://md.mova.elamur.ai/free/en/docs/languages/ko/okm/33-register-and-genre/)
- [next → Sources](https://md.mova.elamur.ai/free/en/docs/languages/ko/okm/sources/)
- [↑ back to Middle Korean (okm) — a reference manual for Mova](https://md.mova.elamur.ai/free/en/docs/languages/ko/okm/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
