27. Pampanga in Mova
Mova uses pam as the language code for Pampanga. Its corpora contain Pampanga text, including passages that mix Pampanga and English. The package has neither an annotated Pampanga treebank nor a trained parser model. These gaps affect different stages of processing, from identifying a stretch of text to finding its syntactic structure and interpreting it in context.
Language identification and the model lookup
The multilingual parser tools/mova-parse works at two levels. At level 1, tools/langseg assigns a language to each sentence and span. A sentence can contain spans assigned to different languages. At level 2, the parser uses the language code assigned to each span to look up that language’s model. Under $MOVA_DATA, the lookup uses the language-code directory, its models subdirectory and a filename formed from the same code plus .bin. For pam the filename is pam.bin, which is absent.
Level 1 can distinguish English and French in Latin script using a Latin table, a lexicon for each language and a character 4-gram model. It also distinguishes varieties written in Hebrew script and recognizes Hebrew or Aramaic in scholarly transliteration. It classifies other scripts as other. The Latin-script route for adding a language requires a lexicon and a Lang code. The langseg latin-lexicon command builds a lexicon from an open Universal Dependencies (UD) training split. The code pam used in corpus identifiers and package documentation does not by itself give the segmenter evidence for recognizing Pampanga.
An English expression can occur inside a Pampanga phrase. The following excerpt places an English noun phrase after the Pampanga oblique marker. The corpus identifier records where the excerpt occurs. It gives no level-1 boundary for this phrase.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| king the media conglomerate | OBL DEF media conglomerate | ‘about the media conglomerate’ | wiki:pam:Sandbox |
Here OBL marks the oblique phrase and DEF glosses the English definite article. The translation ‘about’ reflects the surrounding predicate. The words in the excerpt are already in Latin script.
Output for Pampanga spans without a parser model
When a span is assigned pam, the level-2 model lookup fails. tools/mova-parse reports the missing model in the # parse comment and emits the following values on that span’s token rows.
| Field | Value | What the row supplies |
|---|---|---|
LEMMA | _ | No dictionary form |
UPOS | _ | No universal part-of-speech tag |
XPOS | _ | No language-specific part-of-speech tag |
FEATS | _ | No morphological feature bundle |
HEAD | _ | No syntactic head |
DEPREL | _ | No dependency relation |
MISC | Parse=None | An explicit record that parsing did not take place |
This is a description of output for a span already assigned pam. The language assignment remains available even though the rows carry no analysis. In particular, _ in HEAD supplies no head index. It cannot be read as the root index 0. The rows also do not establish that Mova has applied Pampanga-specific word boundaries. Mova has no Pampanga tokenizer, tagger, lemmatizer or dependency parser.
The missing-model report describes level 2. If level 1 assigns another language to a stretch of Pampanga text, level 2 uses that assigned code for its lookup. The absence of a missing-model report for pam therefore cannot establish that a text contains no Pampanga.
Treebank availability, parser training and baseline measurements
Mova holds no annotated Pampanga corpus or UD treebank. Its Pampanga Wikipedia material provides attested text and corpus identifiers. A UD treebank would also supply the word segmentation, tags and dependency analyses used as training and evaluation data. The current package has no Pampanga treebank baseline.
Mova’s parser is in the en crate. The baseline specified in What every language gets applies to each language. The workflow runs en xpos-fill as preparation, then uses en train to train a tree parser and tagger on the language’s UD training split. The command en parse-eval evaluates the trained parser against the development split.
| Measure | What must match the reference tree for an evaluated word | Pampanga baseline |
|---|---|---|
| Unlabeled attachment score (UAS) | The syntactic head | Unmeasured |
| Labeled attachment score (LAS) | Both the syntactic head and the dependency relation | Unmeasured |
A missing score records the absence of a baseline measurement. It gives no estimate of how accurately a trained model would parse Pampanga. The available Mova models are en.bin for English and fr.bin for French. Neither supplies a Pampanga baseline, including for a sentence with an English or French span.
Frames and pragmatics coverage
Mova’s frame, pragmatic and world components, including prag and world, read English trees. A language label gives these components a language assignment, and the missing-model output gives them unannotated rows. Neither supplies the predicates, dependents and relations represented in a tree. Without a Pampanga parse, these components have no Pampanga tree to read. A Pampanga parser would supply the syntactic input, while the stated coverage of the downstream components is English.
A corpus excerpt can illustrate the difference between a reading available to a person and the information present in a parser record. The following phrase uses a demonstrative to refer to the page at hand. Its form supports that reading in context. An unparsed record for the phrase supplies no dependency analysis connecting the demonstrative to the noun and no pragmatic resolution of its reference.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| ing bulung a ini | PIV page LNK PROX.DEM | ‘this page’ | wiki:pam:Nung makananung gawang bayung Wikipedia |
Here PIV glosses the marker of the pivot noun phrase, LNK the nominal linker and PROX.DEM the proximal demonstrative.
Squid claims and priorities for annotation
Squid reads each grammatical point in the manual as a claim. Formalizable claims, including rules, closed lists and statistics, enter a queue for a place in Mova’s code. A queued claim records material for implementation. It gives no evidence that a tool already applies the rule or recognizes the listed forms.
The first annotation priorities follow from the data a tokenizer, a tagger and a UD baseline need. For tokenization, Pampanga samples can show how to handle diacritics, punctuation next to words, abbreviations and passages containing material in another language. The transcribed forms provide evidence for the spelling and immediate context of each occurrence. Language-span boundaries and word boundaries are distinct decisions, especially when a Pampanga case marker introduces an expression from another language.
For tagging, the early cases include case markers, linkers, pronouns and demonstratives, along with the verb forms that express aspect and voice. Annotation of these forms needs context. A form’s spelling alone may give too little evidence to choose its syntactic function. Dependency annotation also needs decisions about predicate heads, including predicates without a lexical verb, and about the relation between verbal voice and the marking of noun phrases. A training and development split can then support the prescribed attachment measurements.
The following corpus excerpts illustrate two local annotation decisions. One has a genitive marker before a place name. The other contains a pronoun with a linker between a numeral and a noun in a nominal predicate. Their glosses describe the forms in context. They do not assign UD tags, word boundaries inside the written forms or dependency heads.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| ning Pilipinas | GEN Philippines | ‘of the Philippines’ | wiki:pam:Pampanga |
| metung yang relihion | one 3SG.LNK religion | ‘is a religion’ | wiki:pam:Kristianismu |
Here GEN glosses the genitive marker and 3SG the third-person singular pronoun. The English translation of the second excerpt gives its predicative reading in the source sentence.
How Mova handles Pampanga today
At level 1, tools/langseg labels sentences and spans using the scripts and lexicons it recognizes. Its Latin-script distinctions cover English and French. It also distinguishes Hebrew-script varieties and recognizes scholarly transliterations of Hebrew or Aramaic. Other scripts receive other. Adding a Latin-script language uses a lexicon and a Lang code. The langseg latin-lexicon command uses an open UD training split.
At level 2, tools/mova-parse looks up each span’s model under its assigned language code. No model exists for pam. When a span has that code, the parser reports the missing model in # parse, writes _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, and puts Parse=None in MISC. The token rows carry no Pampanga tokenization, tagging, lemmatization or dependency analysis.
Mova holds no Pampanga treebank and has measured no baseline for it. The baseline in What every language gets uses en xpos-fill and en train on a UD training split, with UAS and LAS measured on the development split by en parse-eval. Models exist for English and French. The frame, pragmatics and world components read English trees and have no Pampanga trees to read.
Squid reads the manual’s grammatical points as claims and queues the formalizable ones. The chapter’s rules remain unimplemented. The first priorities are the points needed for a tokenizer, a tagger 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/pam/27-mova-tools-and-coverage/