31. Pennsylvania German in Mova
Pennsylvania German is identified by the language code pdc in this manual and in the corpus examples below. Mova handles language identification and grammatical analysis at separate levels. Pennsylvania German has no parser model or annotated treebank in Mova, so the available text has yet to yield a measured parsing baseline.
What language segmentation can identify
Level 1 of tools/mova-parse uses tools/langseg to assign a language to each sentence and span. The span is the unit passed to the parser at level 2. A sentence can contain material in several languages, so its sentence label and the labels of its spans answer different questions. A language label supplies no lemma, part of speech or dependency relation.
For Latin script, the current segmenter distinguishes English and French using its Latin table, a lexicon for each language and a character four-gram model. It also distinguishes Hebrew-script varieties and recognizes Hebrew or Aramaic in scholarly transliteration. It reports every other script as other. Pennsylvania German is written in Latin script, and the current Latin-script support provides no dedicated pdc identification. A further Latin-script language can be added with a lexicon and a Lang code. langseg latin-lexicon builds lexicons from open UD training splits.
A corpus ID records the language of the source material independently of what level 1 can identify. An English-looking word in a Pennsylvania German passage can be a borrowing or part of a switch to English. Its spelling alone does not settle the span boundary. The following phrase has a Pennsylvania German indefinite article before an English-looking noun. Its corpus label applies to the source passage.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| en Language | INDF.ART language | ‘a language’ | wiki:pdc:Schprooch |
The missing pdc parser model and Parse=None output
At level 2, tools/mova-parse looks for a model for the language assigned to each span. The model file is specific to that language. Mova has models for English (en.bin) and French (fr.bin). It has no level-2 model for Pennsylvania German. When a span reaches level 2 as pdc, the output records the missing model in the # parse comment and gives its token rows the following values.
| CoNLL-U column | Value | Annotation absent |
|---|---|---|
| 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 zero for the root |
| DEPREL | _ | Dependency relation to the head, or the root relation |
| MISC | Parse=None | Marker for the missing parse |
The # parse comment reports the missing model for the language. The Parse=None entry records the result on individual token rows. The presence of those rows gives no evidence that Pennsylvania German word boundaries have been analyzed. In particular, a row containing an apostrophe supplies no analysis of whether it represents one syntactic word or several.
Treebank availability and the unmeasured UAS and LAS baseline
Mova holds Pennsylvania German text, including the excerpts cited here. It has no annotated Pennsylvania German treebank. The corpus IDs identify source material for examples. A treebank for parser evaluation additionally needs reference annotations, including the head and dependency relation of each scored word, and distinct training and development data.
Unlabeled attachment score (UAS) is the proportion of scored words assigned their reference head. Labeled attachment score (LAS) requires both the reference head and the reference dependency relation. A correct head with an incorrect relation counts toward UAS alone. Both scores require a reference analysis and predictions for corresponding words. An evaluation therefore depends on which words are scored and how the predicted words are aligned with the reference words.
| Measure | Pennsylvania German status in Mova |
|---|---|
| UAS | Unmeasured |
| LAS | Unmeasured |
Mova trains its tree parser and tagger with en train on a language's UD training split after en xpos-fill. en parse-eval measures UAS and LAS on the development split after training. The language package calls for this baseline for each language. For pdc, the lack of an annotated train and development split leaves both measures undefined.
The prerequisites for tokenization, tagging and a UD parsing baseline
Tokenization needs a policy for sentence boundaries, punctuation and the mapping from written tokens to syntactic words. A written token can retain its original spelling while corresponding to more than one syntactic word in UD. An apostrophe can also be internal to the spelling of a single word. The source text contains both kinds of annotation problem, alongside hyphenation.
| Form | Gloss | Translation | Corpus ID |
|---|---|---|---|
| gebt's | give.PRS.3SG=it | ‘there is’ | wiki:pdc:Deutsch-Pennsylvanischer Arbeitskreis |
| en G'sellschaft | INDF.ART association | ‘an association’ | wiki:pdc:Deutsch-Pennsylvanischer Arbeitskreis |
| vum Raad | of.DEF.ART council | ‘of the council’ | wiki:pdc:Die Dolpehock Saenger Chor |
| Bunnes-Schtaat | federation-state | ‘federal state’ | wiki:pdc:Pennsilfaani |
The gloss of gebt's shows a verb and a reduced pronoun. In G'sellschaft, the apostrophe falls inside the noun spelling. In vum, a preposition and a definite article are fused without an apostrophe. These cases require separate word-boundary decisions. A tokenization policy also needs to distinguish the hyphen inside a form such as Bunnes-Schtaat from punctuation that separates parts of a sentence.
Tagging needs annotations tied to the syntactic words established by tokenization. For instance, treating gebt's as a written token with two syntactic words makes the verb and pronoun available for separate tags and features. Lemma annotation needs a policy for spelling variants and inflected forms. The tagset and feature guidelines need to specify which distinctions the reference data record, and the annotation needs to apply the same decisions across the training and development splits.
Dependency annotation adds a head and a relation to each syntactic word. The reference data need consistent analyses for constructions that recur across sentences, such as auxiliaries with participles, adpositional phrases and clauses with reduced pronouns. This matters for evaluation because divergent annotations of the same construction can change the measured attachment scores. Once the reference splits exist, the package's training and development procedure can produce a model and establish the first UAS and LAS values for pdc.
Squid claims and the formalization queue
Squid reads the manual and records each grammatical point as a claim. Formalizable claims include rules, closed lists and statistics. They wait in the formalization queue for a place in Mova's code. A queued claim records a point from the grammar and still awaits implementation. The presence of an example in the corpus provides a text citation for that example.
The earliest points for formalization are those needed by a tokenizer, a tagger and a UD treebank baseline. A spelling rule can help distinguish word-internal punctuation from a boundary. A rule about a reduced pronoun can determine whether a written form has two syntactic words. A closed inflectional paradigm can supply forms and features for tagging. A construction rule can guide the assignment of heads and relations in the treebank. Each point needs its own conditions and exceptions before it can be applied to new text. A corpus example supplies an attested form in context, while the conditions of the grammatical claim determine its range of application.
How Mova handles Pennsylvania German today
tools/mova-parse assigns languages to sentences and spans at level 1 through tools/langseg. Its current Latin-script support distinguishes English and French. Recognition of a language depends on the segmenter's script or lexical coverage. A further Latin-script language requires a lexicon and a Lang code, with langseg latin-lexicon available to build the lexicon from an open UD training split.
At level 2, tools/mova-parse uses the model for the language assigned to each span. For pdc, the model is absent. The # parse comment reports the absence, and the token rows have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC. Mova has no Pennsylvania German tokenization, tagging, lemmatization or dependency parsing. Its frames, pragmatics and world components, including prag and world, read English trees. They have no Pennsylvania German parse to read.
Mova holds no annotated Pennsylvania German treebank and has measured neither UAS nor LAS for the language. What every language gets calls for the same baseline for each language. The procedure applies en xpos-fill before en train on the UD training split and uses en parse-eval to measure attachment on the development split.
Squid records the manual's grammatical points as claims. Its queue holds formalizable rules, closed lists and statistics awaiting implementation. The chapter's grammatical rules have yet to be implemented. The first points for formalization 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/de/pdc/31-mova-tools/