30. Ilocano in Mova
Mova identifies languages in text before it assigns grammatical analyses. For Ilocano (ilo), the current package has corpus excerpts for illustration and a grammar that Squid reads as claims. It has no annotated treebank, parser model or measured parsing baseline. The sections below describe the output available for Ilocano and the data needed to measure a first baseline.
Language segmentation and its coverage
Language segmentation is the first level of tools/mova-parse. It uses tools/langseg to assign a language to each sentence and span. The span labels matter in multilingual text because the second level selects a parser model separately for each span.
In Latin script, the current segmenter distinguishes English and French using a Latin-script 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 the supported sets are labeled other. To add another Latin-script language, the segmenter needs a lexicon and a Lang code. The langseg latin-lexicon command derives lexicons from open Universal Dependencies (UD) training splits.
The Latin-script coverage described here is for English and French. Ilocano shares the script, so its spelling in Latin letters gives the segmenter no dedicated Ilocano classification. The Ilocano corpus labels identify the language of the supplied excerpts. They do not establish which labels the segmenter would assign when it receives the same text as input.
- Form Senso ti populasion ti Sapian
- Gloss census NP.MARKER population NP.MARKER Sapian
- Translation “Population census of Sapian”
- Corpus
wiki:ilo:Sapian(Ilocano Wikipedia, CC BY-SA 4.0)
Here NP.MARKER glosses a noun phrase marker. The heading contains the place name Sapian and vocabulary shared with other languages. It illustrates why a reference label applies to the span as a whole, including names and shared words.
Multilingual parser output for ilo
The second level of tools/mova-parse uses the language assigned to a span to look up that language’s model file. The lookup is language-specific. There is no level-2 model for ilo. When a span is labeled ilo, the missing model is reported in the # parse comment, and the token rows carry the following values.
| Column | Information the column represents | Value for a token in an ilo span |
|---|---|---|
LEMMA | Dictionary form | _ |
UPOS | Universal part of speech | _ |
XPOS | Language-specific part of speech | _ |
FEATS | Morphological features | _ |
HEAD | Index of the syntactic head | _ |
DEPREL | Dependency relation to the head | _ |
MISC | Miscellaneous token information | Parse=None |
The underscores mark absent annotations. For example, HEAD with _ supplies no head index, and DEPREL with _ supplies no relation, so those rows cannot be read as a dependency tree. Parse=None records why an ilo span has no parse at this stage. It gives no measure of the accuracy of the preceding language assignment.
In a multilingual passage, this missing-model behavior follows the span label. A span assigned to a language with an available model can receive its own parse even when another span in the passage is labeled ilo. If the segmenter assigns a different language to Ilocano text, the second level follows that assignment.
Treebank and model status
Mova holds no annotated Ilocano treebank. The supplied excerpts are reading examples with corpus identifiers. They provide attested forms and contexts, but no reference tokenization, tags, features or dependency relations for training or evaluation. Mova also has no trained Ilocano model and no measured Ilocano treebank baseline.
| Item | Current Ilocano status |
|---|---|
| Text examples with corpus identifiers | Available |
| Annotated UD treebank in Mova | Absent |
| Level-2 parser model | Absent |
| Unlabeled attachment score (UAS) | Unmeasured |
| Labeled attachment score (LAS) | Unmeasured |
For example, the Sapian entry includes this description of the municipality.
- Form maysa a maika-4 a klase nga ili
- Gloss one LNK ORD-4 LNK class LNK municipality
- Translation “a fourth-class municipality”
- Corpus
wiki:ilo:Sapian(Ilocano Wikipedia, CC BY-SA 4.0)
LNK glosses a linker and ORD marks an ordinal. The form gives an annotator something concrete to work from, including the spelling maika-4 and the linkers a and nga. A reference analysis would also need to specify the token boundaries and the syntactic relations within the phrase. The gloss explains the expression for a reader and leaves those UD annotation decisions open.
Training and evaluation requirements
The common baseline requested in What every language gets uses a UD training split and a development split for the language. Mova’s tree parser and tagger are in the en crate. The training workflow runs en xpos-fill before en train. Training uses the train split, and en parse-eval measures attachment on the dev split. Models exist for English (en.bin) and French (fr.bin).
The two scores compare predicted dependencies with the reference annotations. UAS counts a dependency as correct when its head matches the reference head. LAS requires the correct head and the correct dependency relation. A parser output with missing heads and relations provides no Ilocano baseline. The train-to-dev evaluation requires both a model trained on Ilocano annotations and development annotations to compare its output against.
For Ilocano annotation, token boundaries affect what the tagger and parser can learn. The annotations then have to specify which units receive part-of-speech tags and features and how those units attach to one another. The ordinal spelling in the Sapian example is a tokenization question. The two linker forms raise tagging and attachment questions. Consistent decisions in the train and dev splits give the evaluation a common reference for such cases.
Segmentation, treebank preparation and parser evaluation serve different purposes. A Latin lexicon gives the segmenter evidence for a language label. A UD treebank records a reference grammatical analysis. The trained model predicts such analyses, and the development split supplies the reference for attachment scores. The current Ilocano excerpts can illustrate annotation decisions, while the package’s baseline requires those decisions to be recorded in annotated data.
Frames, pragmatics and world processing
Mova’s frames, pragmatics and world processing read English dependency trees. A dependency tree supplies syntactic relations that downstream processing can use. An ilo label identifies a language span, while the missing-model output supplies no Ilocano tree for those consumers. The unannotated corpus forms likewise supply no dependency input.
As a result, the current Ilocano package produces no frame, pragmatic or world analysis through this pipeline. Parsed Ilocano input would address the missing tree. The behavior established for these downstream components is that they read English trees, so an Ilocano parsing baseline alone would leave their Ilocano coverage unestablished.
Squid claims and implementation status
Squid reads the grammar manual and turns each grammatical point into a claim. Formalizable claims, including rules, closed lists and statistics, enter its queue for a place in Mova’s code. A corpus example can show the forms a claim describes. Implementation requires the corresponding behavior in code, and a queued claim establishes only that the point is recorded for that work.
The distinction is visible in the description of maysa a maika-4 a klase nga ili. The gloss identifies linkers and an ordinal, but it supplies no automatic tokenization, tagging or attachment for the expression. A grammatical analysis in the manual and a parser annotation have separate uses. The manual records the pattern and its conditions. Parser behavior requires a model and the data and analysis conventions on which it is trained.
The first implementation priorities for a language without a model are the points needed for a tokenizer, a tagger and a UD treebank baseline. These cover which forms count as tokens, which grammatical labels they take and which dependency relations the treebank records. The queue itself supplies neither an annotation layer for the corpus excerpts nor attachment measurements.
How Mova handles the current Ilocano package
tools/mova-parse uses tools/langseg at level 1 to assign languages to sentences and spans. For Latin script, the current segmenter distinguishes English and French with a Latin table, lexicons and a character 4-gram model. It also handles Hebrew-script varieties and scholarly transliteration of Hebrew or Aramaic. Other scripts receive other. A further Latin-script language needs a lexicon and a Lang code, with langseg latin-lexicon available to derive a lexicon from an open UD training split. Mova can identify spans of a language only where the segmenter knows its script or lexicon.
At level 2, tools/mova-parse looks up the model for each span’s assigned language. For ilo that model is absent. The # parse comment reports the missing model, and the token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. The rows therefore carry no Ilocano tokenization analysis, tags, lemmas or parse.
Mova has no annotated Ilocano corpus and no measured Ilocano treebank baseline. The baseline specified in What every language gets uses en xpos-fill and en train on the language’s UD training split, followed by en parse-eval for UAS and LAS on the development split. The available models are English (en.bin) and French (fr.bin). Mova’s frames, pragmatics and world processing, including prag and world, read English trees. They have no parsed Ilocano input to read.
Squid records the manual’s grammatical points as claims and queues the formalizable ones. The chapter’s grammatical points have no implementation for Ilocano through that queue. The first points needed are those that support tokenization, tagging and a UD 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).
This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/ilo/30-mova-tools/