Compilation of a Swiss German Dialect Corpus and its Application to PoS Tagging
Paper · 2014 · Nora Hollenstein and Noëmi Aepli
Summary
A Swiss German writer can use different spellings for the same word and can write several grammatical words together. Both practices matter when a computer has to decide which words are verbs, pronouns, articles, or other grammatical categories. The authors address this problem by building NOAH’s Corpus of Swiss German Dialects, a collection of written dialect texts with manually checked grammatical labels. They use it to test whether part-of-speech tagging can be learned directly from Swiss German writing.
The corpus contains 73,616 annotated tokens from the Alemannic Wikipedia, a company annual report, novels, newspaper articles, and blogs. It preserves the spellings used in those sources and includes several regional varieties. The authors start with a tagset developed for Standard German, the Stuttgart–Tübingen TagSet, and adapt it for dialect writing. They add a category for a particle used with infinitives and mark joined forms with a plus sign after the grammatical tag of their first component. A joined form can therefore stay intact on the page and still carry information about its internal structure.
In 10-fold cross-validation on the mixed corpus, BTagger reaches 90.62% overall token accuracy and TnT reaches 90.14%. Their results on spellings represented in training are close. The larger separation appears on unfamiliar spellings, where BTagger scores 77.99% and TnT scores 72.39%. A TreeTagger trained for Standard German scores 50.8% when applied directly to the Swiss German test set. In a separate cross-validation experiment, adding a much larger Standard German treebank yields 87.6%, below the result reported for dialect training alone.
The work establishes a practical starting point for grammatical annotation of written Swiss German. Its results apply to held-out sentences drawn from the collection, and its source-by-source analysis shows how strongly the conditions vary even within that collection. The authors make the annotated corpus available for research in XML. They also identify a route for extending it: use automatic tagging to draft the labels on new dialect text, correct the draft by hand, and use the corrected material in subsequent training.
Deep dive: Compilation of a Swiss German Dialect Corpus and its Application to PoS Tagging
How NOAH’s Swiss German corpus handles variable spelling and joined words, and how accurately taggers trained on it label written dialect. · about 36 minutes to read
The problem and its context
Written dialect creates its own requirements
The paper starts from a change in where Swiss German appears. In the account the authors give, Standard German has traditionally occupied most written settings in German-speaking Switzerland, while Swiss German is used extensively in conversation. They describe this distribution as diglossia, a situation in which a community usually uses different varieties in different circumstances. The distribution has room for exceptions. Dialect is common in broadcasting and in formal speech in Switzerland, while spoken Standard German is expected in some settings, including schools.
Emails, messages, blogs, and chats brought dialect into more everyday writing. The authors also point to books, newspaper issues, and a corporate annual report as examples of published material in Swiss German. This range matters for the practical problem they identify. A computer needs a way to process dialect text as it is written across several kinds of material. Texts produced for private conversation, literary narration, and public reporting can all belong to the same broad language variety while giving a tagger quite different input.
Swiss German is a dialect continuum. In this context, a continuum means that linguistic features vary across places and that regional boundaries fail to divide all features into the same tidy groups. The paper places Swiss German within Alemannic and distinguishes Low, High, and Highest Alemannic. These broad divisions give a way to describe geographical variation without implying that each text fits a sharply bounded class. The authors also distinguish variation within Swiss German from the separation between Swiss German and Standard German. A difference heard or written across regions within Switzerland and a systematic feature of Swiss German grammar pose related but distinct questions for a tagger.
The absence of a shared official spelling adds variation even within a locality. Two writers can represent a similar pronunciation with different letter sequences. The paper notes that a single writer can vary the spelling of a word within a text or even within a sentence. A tagger trained on the literal spellings sees two strings in such a case. Evidence attached to one string may provide little direct help on the other, even when a reader recognizes them as forms of the same word. To a computer, the task therefore involves both grammar and deciding which parts of a written form can carry useful evidence about grammar.
The differences extend to words and sentence structure
A Standard German spelling dictionary would address only part of the problem. The authors give the example of butter, which can appear as Butter in some places and Anke in others. A region that uses Butter can also assign it a different grammatical gender from its Standard German counterpart. Knowing that two forms name the same thing supplies useful information about their meaning, but a tagger has to learn the constructions they appear in. A familiar-looking word is only one piece of that evidence.
Verb constructions give another example. The paper describes the perfect as the ordinary way to express past events in Swiss German where Standard German can use a simple past form. It also discusses the use of a doubled perfect in contexts where Standard German has a pluperfect. The point for tagging is that an equivalent sentence can distribute its grammatical information over a different set of words. Even a system that could recognize the corresponding vocabulary would still face different patterns of auxiliaries and other verbs.
The authors illustrate the difference in auxiliary choice with the ordinary expression for feeling cold. Their Swiss German example uses the verb meaning have, while the Standard German expression uses the verb meaning be. They also give a question in which the Swiss German verb ending carries the information about the addressee and the corresponding Standard German question has an explicit pronoun. In each case the intended meaning is recognizable across varieties. The written cues that identify the grammatical structure are different. An automatic tagger that relies on the presence of a nearby pronoun or a familiar auxiliary construction has to learn how those cues work in the dialect.
Differences in morphology also change the visible distribution of forms. The paper describes the genitive as generally absent from Swiss German usage, with exceptions that include varieties in Valais. It gives a possessive dative and a construction with a preposition as ways of expressing possession where Standard German can use a genitive. It also notes that the distinction in form between nominative and accusative is restricted to personal pronouns, while a dative can have its own determiner and endings. Such facts explain why surface resemblance to Standard German provides an uneven guide to a word’s grammatical role.
The paper’s comparison of passages from around Bern and Zurich makes the variation more concrete. Equivalent clauses can order the verbs differently. An expression of purpose can use zum in an eastern variety, while a form built around für and z is common nearer French-speaking Switzerland. A tagger that pays attention to adjacent words consequently encounters more than one pattern for similar meanings. This is a reason to collect actual dialect sentences. A list of vocabulary equivalents would say little about which sequences are common or how they vary across writers.
The unit of tagging can itself be ambiguous
Tokenization is the decision about which pieces of the text receive individual labels. In ordinary written text, spaces supply useful clues, but the authors show why those clues require interpretation in Swiss German. A writer can put a verb and a pronoun together, or combine a verb with forms that express its subject and object. The result occupies one written position. It can nonetheless do the grammatical work of several words.
The authors distinguish these cases from a compound such as Skilift. In that compound, the combined expression as a whole can be treated as a noun. In a dialect form such as gömmer, the unit still expresses a verb and its subject. Additionally, cutting the letters at a plausible boundary would yield fragments unlike the separately used verb and pronoun. The paper relates such forms to clitics, grammatical elements bound in pronunciation to a neighboring word. Phonological changes at the join make a clean separation on the written surface difficult.
This is why the paper treats the grammatical label and the unit to which it is attached as connected design decisions. The written shape belongs in the corpus because it is part of the evidence that a system will meet in use. The labeling scheme also has to say what happens when the written shape alone cannot tell a reader how many roles are present. This issue remains even if every writer spells each individual form consistently. A corpus of literal strings needs an explicit convention for representing grammatical structure inside them.
The resources available at the time
The paper places its work in a field that concentrated mainly on standardized writing. The authors identify transcribed speech as one source of Swiss German material and cite Archimob’s interviews as an example. Transcripts give access to dialect utterances recorded in another medium. The sms4science collection gives a different kind of evidence: messages written by their senders in Switzerland’s official languages and in Swiss German varieties. The authors describe written dialect resources as rare and identify a gap in annotated material suitable for their intended tagging task.
They also describe earlier Swiss German work on dialect identification, machine translation, and morphological generation. These efforts show that dialect differences were already being studied computationally. The missing piece for this paper was a varied set of written Swiss German texts carrying grammatical labels that could serve both as examples for training and as a reference for testing. The authors aim to make future processing of the dialects possible on their own terms by keeping dialect wording and structure available throughout that workflow.
The precedents outside Swiss German include grammatical tagging of historical German and historical English and studies of Arabic dialects. In particular, the authors describe an Egyptian Arabic tagger that used minimal supervision without dialect-specific tools, in a setting where spelling was also unstandardized. The relevant parallel is the resource and spelling problem. The Swiss German study takes a route that depends on constructing a manually annotated dialect corpus for its own experiments. POS Tagging of Dialectal Arabic
The authors draw on Manning’s discussion of the difficulty of assigning every word to a discrete category and the value of improving annotation and tag definitions. That argument matters here because a tagging score presupposes decisions about what counts as a word and which distinctions deserve labels. A disagreement over the grammatical class of a joined form can reflect an underspecified convention just as readily as a poor prediction. The corpus has to make that convention explicit before its accuracy figures can be interpreted. Part-of-Speech Tagging from 97% to 100%
The method, step by step
Gather writing from several sources
The authors assemble a collection intended to cover several regional varieties and kinds of writing. The Alemannic Wikipedia material includes articles from Aarau, Basel, Bern, Zurich, and eastern Switzerland. The literary material comes from Viktor Schobinger and is written in Zurich dialect. The collection also contains excerpts from the Swiss German version of Swatch’s annual report, articles from a dialect issue of Blick am Abend, and posts from blogs written in different dialects.
These selections make each source contribute a different kind of coverage. The Wikipedia material supplies multiple dialects within one publication setting. The novels contribute prose that is more consistent in authorship and dialect. The report and newspaper give the collection published writing from other settings, while the blogs add a web source. This is a corpus built to expose the tagger to variation. Its sources remain identifiable, which also allows the authors to inspect results by source after the pooled evaluation.
The collection preserves the dialect forms the authors find. A word that appears in several spellings can consequently contribute several distinct strings. Preserving the spellings lets researchers observe what writers do and lets the experiment address a practical condition of written dialect. It also means that the corpus has to support label decisions on forms that may not resemble a familiar written Standard German equivalent.
From dialect texts to an evaluated tagger
The steps in order.
Keep a shared grammatical vocabulary
The authors use the Stuttgart–Tübingen TagSet, or STTS, as the basis for their linguistic annotation. A tagset is an inventory of the labels an annotator can assign. It lets different people record grammatical judgments in a common form and gives the tagger a fixed set of possible predictions. In STTS, the label inventory distinguishes several sorts of verbs, pronouns, and other words. Two forms can belong to the same broad part of speech and still have different labels under these more detailed distinctions.
Using an existing tagset gives the Swiss German corpus a recognizable way to describe categories shared with Standard German. It also makes the points requiring a different convention easier to see. The paper identifies two such areas: a dialect particle associated with an infinitive and the treatment of a written token that joins several grammatical words. These require different solutions. The particle receives a category of its own. The joined form receives a modified label based on the category of its first component.
The decisions operate on different levels of grammatical description. A new category says that a construction contains a kind of element the existing inventory does not capture adequately. A plus sign says that an ordinary category applies to the beginning of the token and that some material follows within the same written unit. A corpus user can therefore tell which decision the annotator made. This distinction also determines what a tagger must learn: when to predict an added class and when to add a marker to one of the pre-existing classes.
Give the infinitive particle a label
The new particle tag is PTKINF. The authors illustrate its need with a Swiss German sentence about going shopping that contains two occurrences of go. One does the work of the finite verb, meaning a verb inflected for the sentence. The other belongs to the dialect construction involving an infinitive, the form of the verb used for the activity of shopping. The repetition of the spelling gives a useful illustration of why a tag should describe grammatical function. The two occurrences can look identical and still call for different labels.
The paper relates the particle to verbs from which its forms probably developed. Examples include go, associated with going, cho, associated with coming, and afa, which the authors tentatively connect with beginning. In its particle use, the form can be identified by its place in the construction. The annotator needs a label that distinguishes this use from an occurrence functioning as a verb. NOAH contains 37 instances carrying the new tag.
The count puts the design choice in perspective. A tagset can record a feature because it matters to the grammar, even when the feature accounts for a small share of the training examples. An overall accuracy score gives such a category little influence, whereas a researcher looking for instances of this construction can benefit directly from the distinction. The paper thus gives the corpus a way to preserve a linguistic fact without claiming that the tag alone explains any measurable gain in total tagging accuracy.
Mark the beginning and the presence of a join
For a joined form, the authors assign the STTS tag of the initial grammatical component and append +. The sign marks the presence of further grammatical material in the same written unit. It does not enumerate the later components or say where to divide the letters. This makes the output vocabulary depend on the existing tag inventory and a marker. The number of conceivable sequences of grammatical words inside one token has no need to become a corresponding inventory of independent labels.
The example hets illustrates the difference between the grammatical analysis and the saved tag. It has an auxiliary followed by a personal pronoun. In the paper’s notation, the expanded account is VAFIN+PPER, where VAFIN identifies a finite auxiliary and PPER identifies a personal pronoun. The corpus convention retains the initial category and records the token as VAFIN+. A search for that label can retrieve candidates whose beginning is an auxiliary and whose spelling incorporates more than that beginning.
A longer joined form, bruchtmese, makes the tradeoff clearer. The paper analyzes it as a finite lexical verb, an indefinite pronoun, and a personal pronoun. In a label that kept the entire sequence, VVFIN would describe the verb, PIS the indefinite pronoun, and PPER the personal pronoun. Under the corpus convention, the stored label is VVFIN+. It tells a reader that the form begins with a finite lexical verb and contains more material. The identities of the pronouns have to be supplied by a closer analysis of the form or its context.
The convention works with beginnings other than verbs. The paper illustrates joins beginning with a subordinating conjunction, a finite modal verb, an infinitival particle, and an adverb. Grammatical knowledge can narrow the possibilities for what follows. With PTKZU+, for instance, the tag identifies the beginning as the particle corresponding to zu, and the authors explain that its continuation in this construction is an infinitive. Other plus-marked forms allow more possibilities. The tag preserves enough information to locate them for further work while making the same basic annotation procedure available across forms.
STTS already includes a special category, APPRART, for forms combining a preposition and an article. The authors illustrate it with Standard German beim, made up of bei and dem. That established tag describes a particular kind of contraction. The Swiss German plus convention responds to joins that can cross several kinds of grammatical boundary, with combinations depending in part on how a writer chooses to write. Treating every combination as its own label would make rare arrangements harder to handle consistently and give the tagger more fine-grained categories to learn from a limited sample.
The corpus has 1008 occurrences of joined words, corresponding to 1.37% of its tokens. The number counts occurrences rather than distinct spellings. A repeatedly occurring join can thus contribute several times, and a token joining several grammatical elements still contributes a single occurrence. This is the same unit that enters the overall evaluation. A correct prediction on a plus-marked token is a correct prediction of the saved label, including the marker, for that written unit.
Alternate annotation, training, and correction
Native speakers annotate the texts. The paper describes an iterative process in which automatic tagging and manual correction alternate. An automatic pass supplies suggested labels, and human review brings those suggestions into line with the annotation scheme. The corrections give the next training pass more examples. The resulting corpus is a collection of reviewed labels, and its XML release preserves the text and its grammatical annotation for research.
The process addresses two kinds of effort. An annotator needs to work through ordinary cases consistently, and some tokens warrant closer judgment because competing labels are plausible. The authors describe consistency checks that examine forms receiving low probabilities from the tagger, along with random checks on difficult labels. Low confidence provides a way to find material that deserves inspection. The manual decision remains necessary because a rarely seen form can receive a tentative prediction even when the existing label is right, and familiar forms can have different correct labels in different sentences.
The authors’ use of both kinds of checks is pertinent to a collection with differences in spelling, source, and grammar. A rare spelling can draw attention because little previous evidence exists. A frequent spelling with competing grammatical uses can draw attention because contextual evidence matters. Checking an instance means examining the label in its sentence. Treating all instances of a spelling alike would miss precisely the ambiguity illustrated by the particle and by common forms shared between articles and pronouns.
The annotation procedure also establishes what the evaluation measures. A prediction is compared to the label assigned under the corpus rules. Agreement can require choosing a subtype of verb or recognizing the plus marker in addition to selecting a broad class. An annotated sentence supplies the reference sequence of tags in the order of its written tokens. The authors can then hold that sentence out from training and assess how closely an automatic labeling pass matches its annotation.
Train existing taggers on the annotated sentences
The paper reports trying several open-source taggers, including TreeTagger, HunPos, RFTagger, and Wapiti. For the detailed comparisons, the authors select the two that perform best on their material, BTagger and TnT. Wapiti supplies the conditional-random-field approach among the systems they try, and the cited work on RFTagger describes an approach to fine-grained tagging using decision trees. The main contribution here is the dialect data and their use in a controlled tagging experiment. Practical Very Large Scale CRFs · Estimation of Conditional Probabilities With Decision Trees
BTagger and TnT both use information from sequences, with a difference in emphasis in the authors’ account. A transition describes how a grammatical tag relates to the tags around it. For instance, evidence about likely tag sequences can help interpret an unfamiliar string in a position where a verb is expected. An emission describes the association between a tag and the observed written form. When the form has appeared frequently with a certain tag in training, that association supplies evidence even before the rest of the sentence is considered.
The authors associate BTagger’s behavior with its use of contextual information and its learning of tag sequences. They characterize TnT as giving greater emphasis to the association between a tag and the observed word. These descriptions explain the comparison the authors make when there is little training data or an unfamiliar spelling. The paper presents the distinction in words and evaluates the systems as packages. Its results therefore concern the behavior of the taggers as configured for the task. TnT
Hold out sentences and track spelling coverage
For the mixed corpus, the authors use 10-fold cross-validation. A fold is a reserved portion of the dataset. The tagger is trained on the sentences outside that portion and evaluated on the reserved sentences. The role of the reserved portion rotates, so the experiment can use the available data for several training and testing runs. The reported corpus-wide scores refer to this procedure over the collection.
The allocation unit is the sentence. The folds contain randomly selected sentences rather than contiguous passages. The paper calls the folds non-stratified and explains the allocation as a way to avoid testing on a contiguous stretch consisting mostly of one text source. Random allocation allows sources to be represented across the runs. It supplies a test of labeling new sentences under the conditions of the mixed collection, where material from the same genre and source can also be available in training.
The evaluation tracks known and unknown tokens relative to the training portion. A known spelling has been observed in that portion. An unknown one presents a written form for which the tagger lacks that direct training example. A dialect word can therefore be familiar to a speaker and unknown for this experiment. Its meaning may also be familiar to a system through some other spelling without making the specific string known under the evaluation convention. This distinction is central to reading the two kinds of accuracy the authors report.
Experiments and results
What goes into the evaluation
Of the 73,616 tokens in NOAH, the Alemannic Wikipedia supplies 20,135. The blogs supply 17,671 and the Swatch annual report supplies 13,386. Newspaper material contributes 11,259, and the extracts from Schobinger’s novels contribute 11,165. These are corpus composition counts. They describe the pool of labeled text from which evaluation material is drawn. The regional span of Wikipedia and the single-dialect literary sample indicate that these amounts come with different kinds of diversity.
The basic metric is token accuracy. Each evaluated written token receives a predicted tag, which is checked against the manual annotation for that position. The overall percentage records the share of matching labels. The accuracy for known tokens considers the positions whose spellings occurred in the corresponding training material. The accuracy for unknown tokens considers the positions whose spellings were absent from it. A complete tag is the target in each case, including a distinction between subtypes or the presence of a plus marker where the annotation requires it.
Across the held-out sets, the authors report an average unknown-token share of 26.36%. That figure measures how frequently the test spelling lacks a training occurrence. The unknown-token accuracy measures how often the tagger assigns the right label in that situation. Reading both quantities matters because a high score on unfamiliar forms can have a different effect on the overall score depending on how often they occur. The same reasoning applies to genre scores, where both spelling coverage and success within each coverage group can vary.
The mixed-corpus comparison
In 10-fold cross-validation on the full Swiss German collection, BTagger obtains 90.62% overall token accuracy and TnT obtains 90.14%. These are the strongest systems selected for detailed analysis. The values summarize the procedure in which each reserved subset is predicted using the rest of the corpus. They give an estimate of how well a tagger trained on this kind of mixed dialect material can recover the labels of additional sentences from the collection.
Overall tagging accuracy on NOAH in 10-fold cross-validation
BTagger leads TnT on held-out sentences from the mixed corpus.
The numbers
| System or setting | accuracy % |
|---|---|
| TnT | 90.14 |
| BTagger (this paper) | 90.62 |
For tokens known to the corresponding training portion, BTagger reaches 93.34% and TnT reaches 93.26%. On unknown tokens, BTagger reaches 77.99% and TnT reaches 72.39%. The comparison gives a more precise description of the headline advantage. Both taggers are similarly successful when the spelling has already been observed, and predicting the category of an unfamiliar spelling is the condition that distinguishes them more strongly.
Accuracy on unknown NOAH tokens in mixed-corpus cross-validation
BTagger handles unfamiliar spellings more accurately than TnT.
The numbers
| System or setting | accuracy % |
|---|---|
| TnT | 72.39 |
| BTagger (this paper) | 77.99 |
Someone using the corpus to enlarge the supply of annotated text would encounter both cases. A new passage can reuse words and spellings already represented in training, while also containing previously unseen writing habits or vocabulary. The known-token result gives a view of tagging where form-specific evidence is available. The unknown-token result gives a view of tagging where the systems must rely on whatever other evidence they can use. Their separation helps explain why the authors inspect the amount of unknown material in each experiment.
The paper names the other taggers it tried and identifies BTagger and TnT as the strongest on the corpus. Its detailed scores concern these two systems. For TreeTagger, it also gives a measurement from a particular transfer test using a Standard German tagger. That number answers a different experimental question from a comparison between taggers trained on NOAH.
Direct use of a Standard German tagger
The authors apply TreeTagger’s Standard German configuration to their Swiss German test set and report 50.8% accuracy. This experiment represents the option of taking a readily available tagger for Standard German and running it on the dialect writing as supplied. In this setup, the tagger has learned its word and context associations from another variety, and the target texts use the written forms and grammatical conventions that motivate NOAH.
The score establishes how that direct application performs on the test used in the paper. It has practical force because the resource question is whether someone can simply take a Standard German tool and expect labels useful for dialect text. At the same time, the comparison involves a change in training variety and a change in the system used for the strongest dialect result. The 50.8% measurement answers for the Standard German TreeTagger as applied. The cross-validation scores answer for BTagger and TnT when trained on the dialect corpus.
There is also an annotation issue underlying the comparison. The authors devised a dialect-specific particle category and forms of tags marked for joining. A system trained for Standard German faces a dialect target whose labels can make distinctions motivated by Swiss German writing. The score records the result of applying the available tagger in that setting. The paper does not report a decomposition that would assign portions of its errors to unfamiliar spelling, different use of context, or the adapted tag inventory.
The results by source
The BTagger evaluation by genre puts the Wikipedia articles first in overall accuracy at 90.92%. The literary texts reach 89.37%, the annual report 88.82%, the blogs 88.10%, and the newspaper articles 87.17%. These are scores for the different source subsets in the genre evaluation. They show how the tagger fares when the evidence comes from each kind of material considered individually.
Overall BTagger accuracy by text source in NOAH
Wikipedia has the highest overall score among the separately evaluated sources.
The numbers
| System or setting | accuracy % |
|---|---|
| Newspaper articles | 87.17 |
| Blogs | 88.10 |
| Annual report | 88.82 |
| Literary texts | 89.37 |
| Wikipedia articles (this paper) | 90.92 |
The Wikipedia subset has 22.7% unknown tokens in this evaluation. BTagger achieves 94.60% accuracy on known tokens there and 75.64% on unknown ones. The authors point to the amount of Wikipedia material and the tendency of an article to stay on a topic as reasons for its favorable position. The articles give the experiment more training material within that source than any other source subset has, and a topic can encourage the reuse of some vocabulary.
The novel extracts have the lowest unknown share, 16.0%, in the genre results. On these texts the tagger attains 92.89% on known tokens and 70.41% on unknown ones. Their overall score can thus be read alongside their coverage advantage. The authors connect the comparatively low proportion of unknown words with the material coming from a single author using a single dialect. That gives the system fewer writing habits to contend with, though an unfamiliar spelling in the novels can still be difficult to label.
The annual report has an unknown share of 24.7%. Its known-token accuracy is 92.72%, and its unknown-token accuracy is 76.95%, the strongest result for this subset of tokens among the genre evaluations. This example makes clear why a ranking by unknown-token accuracy and a ranking by overall accuracy can diverge. The first considers how successfully the tagger handles unfamiliar spellings, while the second also reflects how frequently such spellings arise and how the system performs on everything else.
For the blogs, 18.2% of evaluated tokens are unknown. BTagger reaches 91.73% on known tokens and 71.69% on unknown tokens. The newspaper subset has the highest unknown share, 27.4%. Its corresponding scores are 93.15% and 71.19%. The newspaper results make the importance of coverage especially visible. Its known-token success is comparatively high within this genre comparison, while unknown items occur often and receive correct labels less often.
The by-source results describe several conditions at once. Each source has its own sample size, vocabulary, style, and combination of authors or dialects. Its overall score combines coverage of the specific training spellings with the tagger’s success when that coverage is available and when it is absent. The paper’s decision to give all these columns is what makes it possible to distinguish the relatively uniform novel sample, the larger Wikipedia sample, and the high rate of unfamiliar newspaper spellings.
Training size and extra Standard German data
The learning-curve experiment varies the amount of Swiss German training text. The authors report substantial improvement up to roughly 40,000 tokens. They also describe a visible difference between the taggers at a training size of 10,000 tokens, where BTagger performs better. At larger sizes the systems are closer. The paper links the early advantage to BTagger’s use of context and its ability to learn useful tag sequences from a smaller set of examples.
The authors distinguish the role of additional training material at the larger sizes. More text can give the tagger examples of spellings it would otherwise encounter for the first time during testing. The authors see little corresponding gain in the accuracy of forms already known to the training data beyond roughly 40,000 tokens. Their account therefore gives corpus expansion a concrete purpose even when a score has begun to level off: widening the range of written forms represented in the examples.
The paper tries another route to increasing data volume by combining NOAH with the Standard German TüBa-D/Z treebank, which contains more than 1,300,000 tokens. A treebank is a corpus enriched with grammatical structure. Its role here is to contribute Standard German training material to a tagging experiment. The combined-data experiment reaches 87.6% accuracy in 10-fold cross-validation. The authors report that this is below their result with the Swiss German corpus alone, and they judge this particular addition unhelpful for the dialect tagging task.
The addition tests a more specific proposition than direct use of the Standard German tagger. In the direct transfer test, the system is already trained for Standard German when it sees dialect input. In the combined-data experiment, annotated Swiss German is part of the setup and the question is whether Standard German examples can supplement it. These are two ways of using Standard German resources, with different reported scores and different implications for the role of annotated dialect examples.
What the ablations show
The paper gives controlled comparisons and diagnostic analyses. It varies training size, compares results with and without added Standard German material, separates tokens by training coverage, and inspects errors. The effects of individual annotation choices, such as the plus convention and the particle label, are outside its experimental comparisons. Those choices define the targets to be predicted, while the analyses below examine what happens when the available data or the conditions of prediction change.
When seeing a spelling makes a difference
The known-versus-unknown comparison shows that availability of the spelling in training is associated with substantially higher accuracy for both taggers. It also shows which condition separates them more clearly. Both make highly similar use of the mixed corpus on known tokens as measured by accuracy, while BTagger is more successful on unknown ones. This relationship matters because repeated spelling can give two otherwise different systems a strong clue to the same label. The unknown subset presents a task in which such a clue is unavailable for the particular token.
The authors explain BTagger’s behavior in terms of its emphasis on nearby context and tag transitions. An unfamiliar spelling can occur next to forms whose labels are easier to infer, and a plausible sequence of grammatical roles can guide the prediction at the missing position. Conversely, TnT’s greater emphasis on word-to-tag associations gives the availability of a useful spelling example particular importance in the authors’ interpretation. This account fits the observed difference on the unknown subset. It is an explanation based on how the systems work and how their scores move, since the experiment changes the tagger as a whole.
The known and unknown subsets also differ in what kinds of cases they can contain. Names, unusual spellings, and dialect vocabulary can all occur among unfamiliar strings. Among familiar strings, forms with more than one grammatical use can remain difficult. The split shows what the tagger achieves under different conditions of form coverage. Its numbers summarize the mixture of cases in each subset and do not give separate measures of how well the systems recognize every source of novelty.
What more examples buy at different sizes
The learning curve reveals a distinction between getting better evidence for predictions within familiar material and exposing the tagger to new spellings. At smaller training sizes, the authors see accuracy improve markedly as more Swiss German text becomes available. They draw attention to BTagger’s stronger result at 10,000 training tokens as evidence that contextual patterns are useful even with a fairly small annotated collection. How well such patterns generalize is particularly important when the training sample has encountered fewer of the spellings that will show up later.
Beyond roughly 40,000 training tokens, the authors describe little change in success on already known tokens and a continuing benefit in coverage. An example makes the interpretation concrete. A spelling previously absent from training can become known after it occurs in newly added text. That change in available evidence can help on subsequent occurrences even if the tagger’s success on the full group of known forms stays around the same level. A plateau in conditional accuracy therefore leaves room for the practical benefit the authors emphasize.
The interpretation has limits even within the corpus. Growing the training sample can change the kinds of forms counted as known, since newly represented items enter that group. The learning curve describes what happens as a training condition changes. It is not a demonstration that the same individual tokens all become easier at the same rate. Its strongest result is about the observed relation between data size, accuracy, and coverage for the corpus and systems studied.
Why the type of additional data matters
The treebank experiment tests whether adding a large body of Standard German material helps when annotated dialect material is already available. The reported combined-data score is lower. In the context of the paper, the striking feature is that the additional resource is far larger than NOAH. Its quantity alone is insufficient to make the experiment more successful. The grammatical environments and spellings that have to be predicted are still those of the dialect task the authors set out to solve.
The linguistic examples give plausible reasons to expect differences in the evidence each resource supplies. A nominal phrase can mark possession differently, a verb can have a different neighboring auxiliary, and a written form can join items that appear separately in Standard German. Training material added without addressing such differences can bring in frequent patterns from the standard variety that are relatively unhelpful for dialect. The experiment reports the behavior of the addition as a whole. It leaves open how much of the result comes from the choice of data, the way the resources are combined, or the labels used for their shared and distinct categories.
The genre results tell a related story within Swiss German. Wikipedia’s sample is larger, with a subject matter that the authors say encourages repetition within articles. The novels have the lowest unknown share even with fewer tokens, which the authors associate with consistent authorship and dialect. The annual report gives the highest unknown-token accuracy of the genre slices, though unfamiliar forms occur relatively frequently there. These observations show why the number of examples, the resemblance between training and test spellings, and the grammatical information available around a form are different quantities to keep in view.
Which errors remain frequent
Confusion between common nouns and proper names is the largest named error type, accounting for about 15% of all errors. The tags are NN for a noun and NE for a proper name. The authors note that both kinds of words can be capitalized, a difficulty also familiar in Standard German tagging. A capital letter is therefore compatible with either label. The decision can require evidence from the particular word or from the context where it appears.
The analysis also mentions mistakes among adjective labels, between adjective and adverb uses, and among types of verbs. The detailed inventory makes distinctions that remain relevant even when an automatic label is near the reference in broad grammatical terms. A tag assigned to the wrong subtype still counts as wrong in the reported metric. The error categories help explain what has gone wrong in some cases where the general grammatical role has been approximately recognized.
Articles and certain pronouns are another source of confusion because the written forms can coincide. The paper illustrates this with es and s. An occurrence before a noun can be an article. A similar form can also be the pronoun that corresponds to English it, as when a sentence comments on a color or describes the weather. Remembering a spelling from training helps only to the extent that its previous uses are informative. The context must resolve the ambiguity when a familiar spelling has already occurred with several labels.
This error analysis complements the unknown-token comparison. Both conditions can lead to mistakes, but they present different problems. With an unfamiliar form, the tagger lacks a direct example of that spelling. With a familiar ambiguous form, the tagger may have evidence for several labels. The paper’s examples show why expanding the inventory of known words can improve coverage while leaving some grammatical decisions difficult.
Limitations
Limits the authors identify
The authors emphasize the amount of spelling variation in a relatively small corpus. They include several genres and dialects and leave spelling as they find it. The result contains many forms that occur only once, which the paper calls hapax legomena. A form present only once in the collection cannot be learned from another occurrence of that exact spelling in the same collection when its sentence is held out. The authors relate the abundance of such forms to the difficulty of labeling unknown tokens.
They suggest that focusing on a particular dialect might improve accuracy. The suggestion follows from the diversity of the current collection and from observations such as the lower unknown share in the novels, whose writing comes from one person in Zurich dialect. In the genre comparison, writer, dialect, vocabulary, and size vary together. The proposed expansion is to add more texts per dialect so the corpus gives better coverage of the variation within each one.
The authors also describe prospective work on grouping orthographic variants. Their proposal would use lexical distance, a measure of how much written forms differ, together with patterns in sentence structure. This approach would allow spellings linked by those cues to share some of their evidence. They connect it to lemmatization, the task of assigning forms to a common headword. The proposal concerns relationships among dialect forms and differs in scope from mapping Swiss German sentences into Standard German. The reported scores are for the corpus as annotated, before an evaluation of the proposed procedure.
The plus notation carries an acknowledged information cost. It omits the explicit part-of-speech sequence after the first component of a join. The authors argue that the likely continuation can frequently be inferred and that marking the forms makes them easy to retrieve for specialized treatment. That is sufficient for investigating where such joins occur. A task that needs the complete sequence of grammatical elements inside each joined token will require a subsequent analysis, even when the corpus tag has been predicted correctly.
The paper frames further uses, including dependency parsing, opinion mining, and more detailed dialect research, as goals that a stronger corpus and tagger could support. Grammatical tagging gives those tasks structured input. Their performance depends on their own target decisions and data conditions, and the paper measures tagging accuracy. It also presents manual correction as a way to extend the corpus, with the amount of work described qualitatively.
Limits that follow from the design
The random sentence folds are suited to the authors’ question about new sentences from a mixed corpus. Because the allocation operates within the collection, training and test sentences can come from the same author, publication, or dialect. A stronger claim about performance on a new author or an unseen dialect would need a split that holds out that group. The paper’s figures describe the mixed setting and the individual genre settings it reports, with the amount of familiarity determined by those data.
The source subsets give informative contrasts without isolating the independent effect of genre. For instance, the novel sample comes from one author writing in Zurich dialect, while Wikipedia contains material from several regions and has more tokens. The author, the region, the topic, and the size of the sample can all affect which written forms recur. The scores by source show the combined consequences under the conditions of the collected texts. Attributing a difference to fictional prose or encyclopedic style alone would require comparisons that control those other factors.
The corpus was assembled for broad coverage, using texts that could be obtained from a variety of sources. Its composition gives no estimate of the proportions in which the dialects or genres occur outside the collection. A user encountering informal messages, a new publisher, or a regional variety with little representation in NOAH may see a different distribution of spelling and grammatical patterns. The premise that written Swiss German is diverse motivates using this corpus as a starting point and also limits how broadly a single accuracy figure can be generalized.
The experiment measures agreement with the manual labels. The paper describes native-speaker annotation and checks for consistency, with no numerical measurement of agreement between annotators. The available evidence therefore supports a claim about agreement with the released convention. The degree to which separate annotators would reach the same decision on every ambiguous adjective, pronoun, or join remains open. It is also relevant that the headline metric gives rare tags little influence. The count of PTKINF labels establishes that the corpus represents the construction, while its tagging accuracy would require a breakdown for that category.
Direct application of a Standard German TreeTagger supplies a specific baseline. The experiment cannot apportion its low accuracy among the tagger’s architecture, the training variety, unfamiliar strings, and the dialect annotation decisions. The combined-data experiment bears on the usefulness of the treebank as incorporated by the paper. The account gives the corpus size and the cross-validation result but does not detail the composition of the evaluated sentences in that combined setup or compare different ways of selecting and weighting Standard German material. A claim about all possible cross-variety training methods would go beyond these tests.
The learning curve concerns the amount of text and the authors’ reported interpretation of the changes at larger sizes. It does not establish a general threshold for written dialect tagging. The point at which known-form accuracy levels off can depend on the corpus, its variety, the type of annotations, and the tagger. Similarly, the numerical advantage of BTagger over TnT is a reported comparison of their scores. The paper gives no fold-level uncertainty for that comparison, so the evidence for the size and stability of the advantage comes from the reported aggregate results and their accompanying diagnostics.
What came after
From labeling grammar to identifying varieties
Later citing work takes up written and spoken German varieties under several different tasks. The titles establish what those tasks are and how they relate to the earlier resource problem. Their citation of the corpus paper establishes a connection to that work. Details of whether they reused its annotated texts, its tagset, or an implementation of its conventions remain unspecified.
The 2018 study on German dialect identification moves the prediction target from the grammatical category of a token to the variety represented in the input. Its title presents data mining optimization as part of that task. NOAH’s paper supplies relevant linguistic context for the shift in target. It describes regional variation in vocabulary and constructions as well as variation in how individuals write. These phenomena can matter for identification because a feature in a text can reflect a dialect, a writer’s habits, or both. The later paper addresses the recognition of varieties themselves, a task that the corpus paper had already identified as a strand of Swiss German research. Twist Bytes — German Dialect Identification with Data Mining Optimization
Dialect as a source for speech translation
The SwissText 2021 submission concerns recognition of Swiss German speech and translation into Standard German text. Its task brings together the dialect input and the standard output in a setting where they have distinct roles. The earlier corpus paper asks how to preserve dialect surface forms while assigning grammatical labels to them. The later work asks how to process speech in the dialect when the desired written product is in Standard German. Recognizing a dialect utterance and expressing its content in the standard variety are separate predictions within the problem described by its title.
This relationship clarifies the scope of the earlier authors’ objections to mapping dialect into Standard German. For their grammatical annotation task, the dialect’s original words and constructions supply the evidence of interest. In speech translation, generating a Standard German output is part of the task itself. Both settings require attention to the dialect at the input, and the task determines whether the final result should preserve its written forms or produce text in another variety. Dialectal Speech Recognition and Translation of Swiss German Speech to Standard German Text
Robustness to colloquial writing and unfamiliar spellings
The 2024 work on colloquial German varieties examines dialogue systems designed around tasks. Its question is how such a system holds up when people use different colloquial varieties. The connection with NOAH is at the level of the conditions under which performance is assessed. The tagging paper illustrates how the text a person writes can vary in spelling, vocabulary, and construction, and how strongly coverage in the training material can affect a prediction. The dialogue study brings the question of variation into the setting of a system responding to a person pursuing a task. Exploring the Robustness of Task-oriented Dialogue Systems for Colloquial German Varieties
The 2025 paper evaluates a pixel-based approach on non-standardized languages. Its subject brings the representation of text into focus. The NOAH study preserves dialect spellings, assigns grammatical labels to written units, and reports how the taggers fare on unfamiliar forms. Pixel-based evaluation asks about processing written material from its visual representation in a setting where spelling varies. The point of contact is the behavior of a system when there is no single conventional written form that can be assumed in advance. The later title establishes that evaluation question, with the connection to NOAH resting on the common problem of non-standardized writing. Evaluating Pixel-based Approaches on Non-Standardized Languages
Evaluating tools for a particular population
The 2026 benchmark concerns computational support for language sample analysis in Swiss children’s speech. A language sample is the material taken from speech for analysis. The benchmark named in the title moves the evaluation question to speech from a specific population and to the analytical tasks associated with those samples. The relevance of NOAH is that it ties any accuracy claim to the people, sources, and linguistic forms represented by the material under study. Its annotation and testing concern a varied collection of written texts. The later benchmark centers on a different kind of evidence and a different use for automatic analysis. Benchmarking NLP-supported Language Sample Analysis for Swiss Children’s Speech
Across these studies, the predicted output ranges from a dialect identity to Standard German text or an analysis of a speaker’s language sample. The original paper addresses a narrower decision that can be inspected at each token. Its contribution to that line of work is a concrete account of how evidence about dialect processing depends on what forms the data preserve, what judgments the annotation records, and which examples the evaluation holds out.
Cite
Cite as Nora Hollenstein and Noëmi Aepli. 2014. Compilation of a Swiss German Dialect Corpus and its Application to PoS Tagging. Proceedings of the First Workshop on Applying NLP Tools to Similar Languages, Varieties and Dialects.
@inproceedings{hollenstein2014compilation,
title = {{Compilation of a Swiss German Dialect Corpus and its Application to PoS Tagging}},
author = {Nora Hollenstein and Noëmi Aepli},
booktitle = {Proceedings of the First Workshop on Applying NLP Tools to Similar Languages, Varieties and Dialects},
year = {2014},
doi = {10.3115/v1/w14-5310},
url = {https://doi.org/10.3115/v1/w14-5310}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hollenstein-2014-compilation-swiss-german-dialect-corpus/