Elamur Research

An Unsupervised System for Identifying English Inclusions in German Text

Paper · 2005 · Beatrice Alex

Summary

A German newspaper article can have German grammar and still contain words that need to be read as English. A system that reads the article aloud needs to know when the pronunciation changes. A translation system needs to know which language it is translating a particular word from. Beatrice Alex studies how to identify these inclusions in German news, where an unfamiliar technical expression, an abbreviation, or a name can appear in the middle of a sentence. The task is to label individual tokens, the units into which the text is divided.

The system starts by identifying tokens whose grammatical categories make them likely candidates. It checks English and German entries in the CELEX lexical database. A match in English alone supports an English label. For a candidate absent from both lexicons, the system searches English and German Web pages for the same spelling. It adjusts the hit counts for the estimated size of each language’s Web collection before comparing them. Alex calls the procedure unsupervised because it requires no examples manually labeled for English inclusion. It still draws on tools and resources developed in advance, including a grammatical tagger trained on German newspaper text.

Alex evaluates the system on manually labeled articles about the internet and telecommunications, space travel, and the European Union. With a rule that repairs some hyphenated expressions, the lookup system reaches English-token F-scores of 77.2 on the internet articles, 73.7 on space travel, and 38.6 on the EU articles. F-score balances how frequently an English prediction is correct with how much of the annotated English material the system recovers. English tokens are especially scarce in the EU articles, where false alarms weigh heavily on that balance.

A supervised tagger trained and tested within the same topic does better than lookup alone on the internet and space travel articles. Giving that tagger the lookup result as an additional feature helps across all the topics. Training it on one topic and testing it on another is a different test. Many English forms in the new topic are absent from the training annotations, and the supervised tagger falls below the lookup system in both directions examined. The evidence concerns full word forms under the paper’s annotation policy. English material inside unhyphenated German compounds, words carrying German inflections, and parts of URLs fall outside that policy.

Deep dive: An Unsupervised System for Identifying English Inclusions in German Text

Beatrice Alex uses dictionaries and Web searches to find English words in German news and tests how well the method works across topics. · about 35 minutes to read

The problem and its context

Finding a language boundary inside a sentence

A sentence can be German overall while containing a word that follows English spelling and pronunciation. Identifying the sentence’s language leaves a finer decision open. A system must find the location of the inclusion and decide how much of the surrounding text belongs with it. Alex addresses that problem by assigning a language-related label to each token. The tokens marked English can be isolated even when the rest of the sentence is comfortably understood as German.

The paper illustrates the setting with a German technology headline about a security tool that prevents hackers from using Google to find security holes. A hyphenated term at the start of the headline is one place where the language question arises. The spelling of an unfamiliar item there cannot be assessed simply by observing that the article was published in German. Ordinary German words, technical terminology, and a name occur close together. The classifier has to make decisions at that scale.

Alex distinguishes foreign vocabulary from proper names as broad kinds of new inclusions. Either can appear with little warning to whoever maintains a dictionary or a list of names. A list can cover expressions its compilers already know about. It has finite coverage in a setting where writers keep encountering new terminology and names. Even when a spelling is familiar, its appearance in more than one language can make the individual occurrence difficult to interpret.

A borrowed form also acquires different kinds of familiarity. A word can have a recognizable English source and be common enough in German to have a German dictionary entry. It can then take German endings. Another form may have the same spelling in both languages and carry related meanings. Still another can correspond to unrelated meanings that happen to share a spelling. The detection problem depends on which of these cases an annotation policy counts and what evidence the system has about the current occurrence.

That distinction matters because identifying an inclusion is a different task from establishing a word’s history. The newspaper reader sees a form in use. The classifier sees that same form, together with the grammatical information and external evidence its pipeline makes available. A lexicographer may ask when a form entered German and how far it has spread. Alex’s system aims to provide observations that can support such investigations by marking particular occurrences in text. The occurrence labels have to be interpreted according to their operational definition. Historical linguistics & language change

Why the label matters downstream

For lexicographers, an automatic detector offers a way to locate likely borrowings in collections larger than those they could conveniently inspect by hand. The locations make it possible to examine the contexts in which the words appear. Counts can support comparisons across domains or periods, with their meaning tied to the detector’s coverage and error patterns. The paper’s motivation is especially relevant to vocabulary that enters a technical domain faster than a fixed list can be updated. Lexicography

The immediate problem for a multilingual text-to-speech system is pronunciation. Such a system needs to know where English pronunciation may be appropriate within German prose. An inclusion label supplies a point at which it can change how it reads the text. The decision can matter for a single word as well as an abbreviation or a part of a hyphenated expression. The detector studied in the paper supplies the label. The question of whether the label improves the resulting speech is a separate experiment that Alex leaves for future work. Speech & spoken language

Translation presents the corresponding problem for interpretation. A spelling that looks familiar may stand for a German word in one sentence and an English word in another. A language decision makes it possible for a translation system to bring the appropriate language knowledge to that word. A mixed expression may also carry important technical information even if surrounding words identify the general subject. That is why the paper treats a small amount of foreign material as worth identifying in its own right. Machine translation

Earlier approaches the paper draws on

One route to the problem runs through automatic language identification. Alex considers TextCat, which uses recurring sequences of characters to categorize text. These sequences are called n-grams. At the scale of a text, many such sequences can contribute evidence to the same decision. An individual token supplies a narrower sample. A short abbreviation, or a word written identically in both languages, can give the categorizer little to work with. TextCat therefore provides a direct way to ask how a text categorizer behaves when the input is reduced to an individual token.

Another route runs through named entity recognition. A name tagger faces a comparable labeling problem because it assigns categories to spans or tokens within running prose. Its evidence can include the written form of a word, its characters, grammatical information, and nearby words. Alex draws on previous success with a trained tagger for names in general text and for genes and proteins in biomedical text. Detecting an English inclusion does involve some names. It also involves ordinary vocabulary, so naming status and language membership serve different purposes in the experiment.

A third route comes from earlier uses of the Web as a large collection of language evidence. The paper describes work that draws on Web text for translation, selecting a word’s intended sense, recognizing synonyms, and resolving references. These tasks differ from identifying an English token in German text. They establish the immediate precedent for retrieving evidence about forms or patterns that an existing resource may cover only sparsely. Alex’s decision is to retrieve evidence about the same spelling from pages assigned to different languages. Using the Web in Machine Learning for Other-Anaphora Resolution

The work on frequencies for unseen word pairs is an especially close precedent for the fallback stage. A fixed resource can supply no entry for an item that occurs in a larger body of text. Search counts offer a way to bring some of that evidence into the decision. For language comparison, the size of each underlying collection also matters. Alex uses earlier research on estimating the amount of Web text in different languages to address this part of the problem. Using the Web to Obtain Frequencies for Unseen Bigrams, Estimation of English and non-English Language Use on the WWW

These strands give the paper two ways to approach a new token. A trained tagger can use patterns and forms encountered in previously labeled examples. A lookup procedure can consult external sources at the moment it encounters the token. The design question is how far lexical evidence and Web frequency can take the detector before it needs task-specific training. The experiments then ask how the answer changes when training and test articles come from the same topic or from different ones.

The method, step by step

From a news article to candidates

The lookup system works as a pipeline. It first converts a downloaded newspaper article into a form suitable for linguistic processing. It then divides the text into tokens and gives each token a grammatical tag. The grammatical tags determine which tokens qualify for language lookup. Dictionary evidence settles several cases directly, and a search of the Web supplies additional evidence for the candidates missing from both dictionaries. A final rule repairs a particular kind of hyphenated expression.

How the lookup system labels English inclusions

The steps in order.

How the lookup system labels English inclusionsStep 1: Clean article HTML and convert it to XML1. Clean article HTML and convert it to XMLStep 2: Split the text into tokens2. Split the text into tokensStep 3: Assign German grammatical tags3. Assign German grammatical tagsStep 4: Select nouns, foreign material, and names4. Select nouns, foreign material, and namesStep 5: Check the English and German lexicons5. Check the English and German lexiconsStep 6: Search both Web collections for unresolved candidates6. Search both Web collections for unresolved candidatesStep 7: Compare adjusted hits and assign labels7. Compare adjusted hits and assign labelsStep 8: Repair single characters before hyphens8. Repair single characters before hyphens

The first stage uses Tidy to clean the downloaded HTML and strip material the system does not need as article text. The pipeline represents the remaining material in XML. This gives later stages a place to store linguistic boundaries and labels as markup. A token can be located in the text, assigned a grammatical category, and subsequently given an inclusion label without changing the surface spelling the article contains.

Alex develops two rule-based grammars specifically for German to mark the token boundaries. The rule processor is lxtransduce, a program that rewrites or adds XML markup according to those grammars. The paper traces it to fsgmatch, the program at the core of LT TTT. At this stage the crucial question is what unit will receive the classification. A decision about whether a compound contains an English part becomes much easier to express when the system can inspect that part separately. Tokenization

The next stage uses TnT, a statistical tagger trained on the German newspaper corpus Negra. It assigns a part of speech or another applicable grammatical category to each token. Lexicon lookup covers items tagged NN for nouns, FM for foreign material, and NE for named entities. Alex motivates that restriction with earlier work describing other grammatical categories of anglicisms as comparatively infrequent in German. Part-of-speech tagging, TnT

At this point the grammatical label acts as a gate. An NN label says a token is worth checking under the paper’s design. It gives no decision by itself about whether the noun is English. The same distinction applies to NE, which identifies a candidate name without specifying its language. The FM category helps direct attention to material the German tagger regards as foreign. Inclusion classification comes afterwards, from the lexical or Web procedure.

The gate is already a substantive choice about what the system can recover. A token that receives a category outside the selected set cannot benefit from an excellent dictionary match or from clear Web evidence. The grammatical tagger thus influences which potential inclusions reach the lookup stage. This is one reason to distinguish the pipeline’s use of TnT from the use of grammatical features in the separate supervised experiment. Here the grammatical decision controls access to the next stage.

Checking two lexicons

The dictionary stage uses CELEX, which contains lexical information for English, German, and Dutch. The system consults its English and German entries. CELEX records word forms, including inflected forms, together with the corresponding base entries. A lemma is the base entry that brings inflected forms of a word together. The lookup starts with the form as it appears in the article. That is the unit the system ultimately needs to label.

The lookup pays attention to the grammatical tag as well as spelling. Alex introduces this restriction to reduce errors when comparing tokens with the lexical entries. The English lookup also ignores capitalization. This lets a capitalized occurrence in German text match an English entry with the same letters. The choices address different aspects of evidence. Case insensitivity widens the set of spellings that can count as the same form, while sensitivity to grammatical category narrows the kinds of entries allowed to support a match.

Hyphenated compounds receive part-by-part checks. The procedure can therefore find English material in one component of a written expression even when looking up the entire expression as a single string would be less informative. This ability is tied to an overt boundary in the spelling. An English root joined directly to a German root is a different case, and the paper leaves such unhyphenated mixtures outside the annotated target. Morphology

A candidate found in German alone is ordinarily accepted as German. The paper also notes that a German-only match can contain a recognizable English base. For instance, Computern can be looked up as a German-inflected form. Computer is sufficiently established in German to have a lexical entry. Alex describes an optional further check of whether the base form also appears in English. The example explains how the resources could support analysis at the level of the base word. The reported task concerns full forms under an annotation policy that excludes German-inflected inclusions.

For a candidate found only in English, the system assigns an English label. The paper gives Software and News as examples of forms in this branch. The operational evidence is exclusive membership under the configured lookup. The classification depends on which entries CELEX supplies, how the written form is matched, and what grammatical category the token has received.

A match in both languages calls for another decision. Some shared forms have closely related meanings, as with cognates and assimilated borrowings. Forms ending in s can also be compatible with inflection in both languages. Computers illustrates why the suffix by itself is inconclusive. It can be compatible with German case or number and with English number. Spelling and grammatical compatibility leave the language of an occurrence open.

Other shared spellings have substantially different meanings. The paper uses Rat to illustrate a German word for a council alongside the English animal name, once case is ignored in the English lookup. The two meanings give a reader a way to decide in context. The lexical membership check gives the same outcome for either interpretation. Alex assigns German by default for such shared cases and points to deeper analysis of meaning as a way to address them.

Finally, a candidate absent from both lexicons goes to the Web module. Absence leaves several possibilities open, including unfamiliar English vocabulary, a German word missing from the German resource, or a name that neither database covers. The fallback retrieves evidence about where the spelling occurs. Its place in the pipeline is important. It is used for a missing lexical entry, while ambiguous entries found in both lexicons are handled by the German default.

Comparing English and German Web evidence

For each candidate passed to the Web stage, the system makes a Google query restricted to German pages and another restricted to English pages. It obtains a hit count from each search. The guiding intuition is that a word frequently supplies evidence for its language by appearing more frequently in text written in that language. The query uses the token’s spelling as its handle on that evidence.

The counts represent different underlying collections. If one collection is larger, a word can receive more hits there partly because the search covers more material. Alex therefore adjusts the raw counts for the estimated sizes of the language collections. The size estimates follow the approach of comparing representative word frequencies in a standard corpus with evidence for those words on the Web. A standard corpus supplies a reference for the commonness of the representative items within its own language. This step uses an outside resource to set the scale on which the candidate’s results will be compared.

The size adjustment can be expressed as the following weighting rule.

Sₗ(w) = Hₗ(w) / Cₗ

Here Sₗ(w) is the adjusted lookup score for the candidate w in language l, where l is German or English. The subscript ₗ associates each quantity with that language. Hₗ(w) is the raw hit count from the query restricted to that language. Cₗ represents the estimated size of the corresponding Web collection. The slash denotes division, and the equals sign defines the score. The candidate is the same in both searches. The page restriction and the collection size used for adjustment change together.

The paper illustrates the comparison with Anbieter, a German word for a provider, and with Provider. For Anbieter, the German search gives 3.05 million raw hits and a normalized score of 0.002398. The English search gives 0.04 million raw hits and a normalized score of 0.000014. The German side wins on the adjusted evidence. For Provider, the German search gives 0.98 million raw hits and a normalized score of 0.000760. The English search gives 6.42 million raw hits and a normalized score of 0.002284, so the English side wins. These examples illustrate the comparison using spellings that occur in pages of both languages.

The larger adjusted score determines the language assigned by the fallback. When both queries return zero hits, the system assigns German. A very small count, including a zero count, is also compatible with a new expression that has seen little recorded use. The default resolves the classification the pipeline has to make. The underlying strength of the evidence remains limited in such a case.

The search settings available to Alex could restrict the page language. They could not match the queried spelling’s case or require the word to have a particular grammatical category. Counts can consequently combine different uses of the same letters. That is especially important for shared spellings with unrelated meanings, because a large count for one use can dominate the evidence even when the token in the newspaper has another meaning. Keeping dictionary matches out of the Web fallback avoids some such queries and reduces the number of searches.

Restoring initials in hyphenated expressions

The main lookup procedure skips tokens consisting of a single character. This avoids submitting a bare letter to the same lookup used for words. It also leaves a gap in expressions such as E-Mail and E-Business. Their longer components can be identified through lookup, while the initial is outside the candidate procedure.

A post-processing rule addresses that pattern. It looks for a single character followed by a hyphen and an already identified English inclusion. If the pattern matches, the character is marked English as well. The rule uses the adjacent punctuation and an existing classification to treat the initial as part of the same expression. Its operation depends on the preceding steps having represented the components in a way the rule can inspect.

The rule also depends on a positive decision for the longer component. It cannot begin with an unrecognized compound and infer the language of the whole expression from the initial and hyphen alone. Its role is to extend a decision across a particular written boundary. That makes the operation local and explains why the frequency of the construction in a domain matters to its impact.

Where labeled examples enter

The paper’s manual work produces an evaluation reference and training data for a separate experiment. Annotators label newspaper tokens using a tool based on NITE XML. Assign EN to words in English and to abbreviations whose full forms are English expressions. Tokens outside that class receive O. The lookup pipeline is evaluated against these labels, but its dictionary decisions and Google queries require no training on them. Linguistic annotation

The separate supervised system uses a conditional Markov tagger. It learns to assign labels from annotated sequences. Its features describe the word itself, character substrings, the general shape of the written form, abbreviations, grammatical tags, and name tags. A shape feature can express a writing pattern shared by different tokens. A word-identity feature can give information about an exact form the tagger has encountered. These features let the same system use general cues and recognize recurring forms.

Alex trains several variants of the tagger. The comparisons change whether it receives features based on the grammatical tags and whether it receives the lookup system’s output. When the lookup output is supplied as a gazetteer feature, it serves as the kind of clue a name or vocabulary list would provide. Here the clue comes from a procedure that can consult the Web as well as from existing lexical entries. The supervised tagger can use it together with the rest of its evidence.

The supervised experiments also change where the annotated examples come from. For within-domain testing, the tagger learns from a portion of the data for the same topic on which it is tested. For cross-domain testing, its annotated training examples come from a different topic. The lookup pipeline continues to use its external resources in either case. This difference in data requirements is what the experimental comparison is designed to expose.

Experiments and results

The newspaper corpus and its categories

The evaluation uses randomly selected online articles from the Frankfurter Allgemeine Zeitung, published between 2001 and 2004. Alex chooses internet and telecommunications, space travel, and the European Union to sample technical, scientific, and political reporting. Each domain contains approximately 16,000 tokens, and the paper describes the collection as comprising about 48,000 tokens overall. The domain samples are similar in total length and differ markedly in their amounts of annotated English.

The internet sample contains 15,919 tokens, of which 963 are tagged English. It contains 4152 distinct types overall and 283 English types. A token is an individual occurrence. A type is a distinct form counted once even when it appears repeatedly. The reported English type–token ratio is 0.29, a measure of the variety of English forms relative to their number of occurrences. Type–token ratio

Space travel contains 16,066 tokens, with 485 English tokens. Its 3938 types include 73 English types. The English type–token ratio is 0.15. The paper reads the ratio as evidence that an English form tends to recur more frequently in the space travel sample than in the internet sample. This matters because a tagger trained and evaluated within the domain can benefit from repeated sightings of the same form.

The EU sample contains 16,028 tokens, of which 49 are English. Its 4048 distinct types include 30 English types. The English type–token ratio is 0.61. That value concerns the variety within a small class of annotated occurrences. The scarcity of positive examples affects both the number available for training and the interpretation of performance on the test results.

The annotation policy gives the English class a concrete boundary. It covers English words and abbreviations whose expanded expressions are English. The annotators exclude language material inside URLs. They also exclude combinations that join English and German material without a hyphen, as in Shuttleflug, and forms that attach German inflections to an English word, as in Receivern. The reference set thus gives the system credit for the kind of unit it was designed to find. The English origin of part of an excluded token is a different annotation question.

Measuring all tokens and measuring English inclusions

Alex reports accuracy over all tokens and F-score for the English class. Accuracy counts the proportion of labels that agree with the manual reference, including all the correctly classified outside tokens. Precision asks how often a token marked English by the system actually belongs to the English class. Recall asks how much of the English class in the manual annotation the system identifies. The paper uses the equally weighted form of F-score, which combines precision and recall by their harmonic mean.

F = 2 × P × R / (P + R)

F is the English-class F-score, P is English-class precision, and R is English-class recall, all on a consistent scale. The factor 2 gives the harmonic mean of the two measures. The multiplication signs join the factors in the numerator. The slash divides by the sum of precision and recall, shown in parentheses. The plus sign adds those two quantities. A system needs both reliable positive predictions and good coverage of the positive examples for the combined score to be high.

The all-German baseline marks every token as outside the English class. That produces accuracy of 94.0% for the internet sample, 97.0% for space travel, and 99.7% for the EU. The paper leaves F-score blank for this baseline. It makes no English predictions, so the precision term does not have the same interpretation as it does for a system that actually marks tokens English. These baseline accuracies establish how much the majority label alone can achieve in each sample.

TextCat supplies another point of comparison. It categorizes tokens from their character sequences without relying on either of the lexical databases used by Alex’s pipeline. This is a test of using an existing text-level language categorizer on very short inputs. Its outcome gives context for the value of lookup evidence on this task.

How the lookup pipeline performs

On the internet articles the basic lookup pipeline achieves 97.1% accuracy and an English-class F-score of 72.4. Adding the rule for hyphenated initials produces 97.5% accuracy and an F-score of 77.2. The paper reports an accuracy improvement of 3.5% over the all-German baseline for this post-processed result. TextCat reaches 92.2% accuracy and an F-score of 31.0 on the same articles.

English-token F-score by system on the internet news sample

Lookup leads character-based categorization, and the hyphen rule improves its score.

English-token F-score by system on the internet news sampleTextCat: 31.0TextCat31.0Lookup: 72.4Lookup72.4Lookup with post-processing (this paper): 77.2Lookup with post-processing (this paper)77.2
The numbers
System or settingF-score
TextCat31.0
Lookup72.4
Lookup with post-processing (this paper)77.2

For space travel the basic version reaches 98.5% accuracy and an F-score of 73.1. With post-processing, the table still reports 98.5% accuracy, alongside an F-score of 73.7. The paper gives the accuracy improvement over the baseline as 1.5%. TextCat gets 93.8% accuracy and an English-class F-score of 26.7. The paper reports that the accuracy improvements over the baseline for the internet and space travel samples are statistically significant.

The EU results put the two metrics in a different relationship. Lookup achieves 99.4% accuracy with or without post-processing, and the English F-score is 38.6 in both settings. The paper reports an accuracy decrease of 0.3% from the all-German baseline. It describes recall as comparable to recall in the other domains and attributes the weaker F-score to poor precision from false positives. TextCat reaches 96.4% accuracy and an F-score of 4.7 in the EU sample. Both systems that attempt positive predictions thus face their lowest English-class score in the same domain.

The results show why the paper reports accuracy alongside a measure of the target class. In the space travel sample, the post-processing rule improves English-class performance even though the reported accuracy stays the same. In the EU sample, labeling some tokens English gives the system a way to find genuine inclusions, while false positives can still push its overall accuracy below a baseline that always chooses the majority label. Each metric captures a different consequence of making those predictions.

Training and testing within one topic

The within-domain experiments use 10-fold cross-validation. The data for a topic are partitioned so the tagger can train on part of that topic and be tested on a held-out fold. The procedure rotates the held-out fold within the same domain. Alex describes a training set of around 700 sentences for each within-domain experiment. The results measure performance when annotated articles on the topic of the test data are already available.

With the standard feature set, configuration ID1 achieves 98.4% accuracy and an English F-score of 84.3 on the internet sample. On space travel, the same setting achieves 99.5% accuracy and an F-score of 91.4. The EU result is 99.7% accuracy and an F-score of 13.3. The baseline for the EU has the same reported accuracy as ID1. Its blank F-score in the table and the trained tagger’s low F-score make clear that accuracy at that level can describe very different behavior on English tokens.

ID2 removes features based on the part-of-speech tags. It yields 98.3% accuracy and an F-score of 84.3 on the internet data, 99.5% accuracy and an F-score of 91.3 on space travel, and 99.7% accuracy and an F-score of 21.3 on the EU data. With the tagger’s own features, the within-domain approach produces stronger English-class results than lookup for the internet and space travel samples. Lookup reaches 38.6 in the EU, ahead of either of these supervised feature settings on that sample.

When the tagger gets the lookup output as an additional feature, ID3 attains 98.9% accuracy and an F-score of 90.6 on the internet data, 99.6% accuracy and an F-score of 93.7 on space travel, and 99.8% accuracy and an F-score of 44.4 on EU articles. ID4 adds the same lookup feature to the configuration without grammatical-tag features. Its accuracies are 98.9%, 99.6%, and 99.8% for the internet, space travel, and EU samples, respectively. The corresponding English F-scores are 90.8, 92.8, and 44.4. The highest reported F-score for the internet sample comes from ID4, the highest for space travel comes from ID3, and the two configurations tie on the EU sample.

These scores describe systems with different kinds of access to evidence. Lookup can operate without labeled inclusion examples from the test topic. The trained tagger can learn from such examples in the within-domain setting. In the combined configurations, it also receives a prediction based on external linguistic resources. The experiment makes the two sources of information available to the same decision procedure and measures their combined effect.

Training on one topic and testing on another

The cross-domain study uses the internet and space travel articles in both directions. Alex selects these samples because each supplies many more English occurrences than the EU collection. A tagger trained on the internet domain has to identify inclusions in space travel prose. A tagger trained on space travel has to identify them in internet and telecommunications prose. Each is evaluated against the manual annotations of its destination topic.

The paper reports unknown target types, abbreviated UTT, for the destination data. This percentage measures how many distinct English target forms in the test domain were unknown from the training data. A form can be unknown under this definition and still be listed in a dictionary or have Web evidence. Conversely, a percentage of unknown types describes distinct forms and gives no direct count of the test occurrences represented by them.

When training on the internet articles and testing on space travel, CD1 achieves 97.9% accuracy and an English-class F-score of 54.2. The unknown target type percentage in the space travel test data is 81.9%. The space travel lookup result with post-processing is 98.5% accuracy and an F-score of 73.7. The all-German accuracy for that target sample is 97.0%.

English-token F-score on space travel news with internet-domain training

Lookup recovers English inclusions more effectively than the tagger trained on internet news.

English-token F-score on space travel news with internet-domain trainingTagger trained on internet news: 54.2Tagger trained on internet news54.2Lookup with post-processing (this paper): 73.7Lookup with post-processing (this paper)73.7
The numbers
System or settingF-score
Tagger trained on internet news54.2
Lookup with post-processing (this paper)73.7

In the reverse direction, CD2 trains on space travel and tests on the internet articles. It achieves 94.6% accuracy and an F-score of 22.2. The internet test sample has 93.9% unknown target types in this comparison. Lookup with post-processing achieves 97.5% accuracy and an F-score of 77.2 on those articles. The all-German accuracy for the same target sample is 94.0%.

English-token F-score on internet news with space travel training

Lookup leads the tagger when training and test news cover different topics.

English-token F-score on internet news with space travel trainingTagger trained on space travel news: 22.2Tagger trained on space travel news22.2Lookup with post-processing (this paper): 77.2Lookup with post-processing (this paper)77.2
The numbers
System or settingF-score
Tagger trained on space travel news22.2
Lookup with post-processing (this paper)77.2

Lookup’s ability to work with drawings from external resources matters in both transfers. Its lexical inventory and Web searches give it routes to evidence about forms that never appeared in an annotated source topic. In each direction the trained tagger’s overall accuracy still exceeds the all-German baseline, but its English-class F-score falls substantially below the lookup result. The difference between those observations is consequential for a system whose intended use depends on finding the English words.

What the ablations show

The hyphen rule has a local effect

The comparison of lookup with and without post-processing directly tests an added rule. The rest of the lookup procedure has already made its decisions before the rule runs. The new decisions apply to single-character tokens in the specified position before a hyphen. This gives the comparison a narrow interpretation. It measures what is gained when the classifier extends an established English label to an adjacent initial of the sort found in E-Mail.

The paper reports that the rule adds 4.8 to the English F-score for the internet data and 0.6 for space travel. The EU F-score stays at 38.6. The direction is consistent with the rule handling a construction that occurs in the technical material. The data show a larger benefit in internet reporting than in space travel. The evidence supports the repair on the observed examples and does not establish how frequent the relevant construction is in other news collections.

The rule also illustrates how a small segmentation decision enters evaluation. Its target is a short token that can be counted on its own even though a reader identifies it as part of a longer written expression. An increase in recovered English tokens can therefore come from more complete coverage of an expression the system has already partly recognized. This is a different mechanism from discovering an completely new inclusion through a Web query.

Grammatical tags help differently in the two roles

Removing part-of-speech-based features from the trained tagger leaves the internet F-score at 84.3. The space travel result moves from 91.4 in ID1 to 91.3 in ID2. The notable change is in the EU data, where the F-score rises from 13.3 to 21.3. The paper reports the increase as 8 points. This is an intervention on what the supervised tagger sees, with training and testing still carried out within the same domain.

Alex suggests that grammatical tagging errors matter here because foreign material presents difficulties for the preliminary tagger. The sparse English class in the EU sample gives the learner little evidence with which to interpret a noisy feature. The relative stability of the results on internet and space travel material makes it difficult to give the feature a single value that applies across domains. The EU comparison shows that taking the feature away can help under one of the paper’s conditions.

The comparisons with the lookup feature tell a related story. The version without part-of-speech features reaches 90.8 on internet material, compared with 90.6 for the version retaining them. In space travel the version retaining them reaches 93.7, compared with 92.8 without them. Both variants reach 44.4 in the EU. The tags’ contribution therefore also varies when another source of evidence is available.

In the lookup pipeline, part-of-speech tags have the separate job of choosing candidates for dictionary checks and making the match sensitive to grammatical category. The experiments that drop grammatical features from the supervised tagger leave that pipeline intact. They give no independent measurement of what would happen if lookup examined every token or discarded the grammatical restriction on CELEX matches.

Lookup contributes evidence the trained tagger can use

ID1 and ID3 provide a comparison in which the standard tagger features are retained and the lookup prediction is added. English F-score moves from 84.3 to 90.6 on the internet sample, from 91.4 to 93.7 in space travel, and from 13.3 to 44.4 in the EU. The gain in the EU is particularly clear despite its final score remaining the weakest of the domains for that configuration.

ID2 and ID4 offer the corresponding comparison without part-of-speech-based features in the supervised tagger. The same pattern of improvement appears. This matters because the lookup contribution survives the choice about whether to give the supervised tagger the grammatical tags directly. The combined experiments support the narrower claim that the output of this external lookup procedure is informative for the supervised decision on these data.

The feature represents the output of a pipeline containing several resources and rules. The comparison does not isolate English CELEX membership, German CELEX membership, or the Web score as an individual supervised feature. A reader can attribute the difference between the paired settings to having the lookup output available as a whole. The table leaves the relative contributions of its ingredients unresolved.

Transfer tests the value of familiar forms

Changing the test domain probes a different question from dropping a feature. The within-domain experiments give the learner a chance to encounter some of the same English forms during training and testing. The English type–token ratios of 0.29 for the internet sample and 0.15 for space travel show that the set of occurrences includes repeated forms. An exact word feature can be very informative when the form repeats.

In the two cross-domain settings, many distinct English test forms are unknown from the supervised training data. The weaker F-score occurs in the direction with the higher percentage of unknown target types. Alex reads this pattern as evidence that the supervised tagger’s strong within-domain performance relies heavily on acquiring a vocabulary of the forms it has seen. The interpretation is consistent with the tagger’s access to word identities and the repetition in the within-domain samples.

The experiment changes the topic of the training material and its relationship to the test topic. This can also change the contexts, spelling patterns, and occurrence frequencies that a tagger encounters. The reported unknown-type percentages make lexical coverage a plausible explanation for the pattern, while the experiment leaves those accompanying changes in place. It measures the practical difficulty of the two transfers and does not hold all other topic differences fixed.

What the Web analysis isolates

The paper mentions a preliminary check in which lexicon lookup was already accurate enough for tokens found exclusively in either English or German. Alex uses that observation to justify reserving Google searches for items absent from both. The illustrations with Anbieter and Provider then show how the adjustment of Web counts works on concrete queries.

The paper gives no evaluation broken down by the amount of the final English score attributable to tokens recovered by Google. It also lacks matched test results for raw versus normalized hits and for dictionary-only lookup versus the full pipeline. The aggregate score measures the implemented combination. The preliminary observation and query examples explain the design, while the comparative experiments establish the gains from post-processing and from supplying lookup output to the supervised tagger.

Limitations

Limits Alex identifies

The stated scope is full English word forms under the corpus’s annotation rules. English material inside a URL and English parts of unhyphenated mixed compounds are excluded. A form with German inflection is also outside the target even when a reader can recognize the English base. Alex identifies the analysis of mixed forms as future work. The extension would require identifying the parts of a token and deciding which part supplies the language evidence.

That boundary is visible in the contrast between the examples of an overt hyphen and those of a directly joined compound. A hyphen can give the pipeline a place to separate components for lookup. In a form such as Shuttleflug, the procedure would have to locate the boundary between the components before it could assess their languages individually. With Receivern, it would need to separate the base form from the German ending. The optional lemma check discussed for dictionary entries hints at one resource for such an analysis. The evaluation does not measure an extension to these cases.

Alex also identifies problems with words that the dictionaries share. Some are established loans or cognates whose appropriate classification is difficult to determine from spelling alone. Other shared forms are interlingual homographs, where the spelling agrees and the meanings diverge. The German default resolves a branch of the pipeline without deciding the sense of the token. Contextual analysis would be needed to classify individual uses on the basis of their meanings.

The limits of the search interface compound that difficulty for Web evidence. The system can restrict the language of pages in a query. It cannot require the same case or grammatical analysis as the occurrence in the article. A hit therefore means the spelling was found within the search’s scope. It gives no direct assurance that the occurrence is the relevant sense or even the same grammatical kind of word. When both searches return zero hits, the default label reflects the rule for missing evidence.

The EU sample demonstrates the practical constraint of sparse English material. The paper describes recall there as comparable with the other domains and points to false positives as the reason for the lower precision and F-score. A domain can have very little English while still containing many tokens that superficially resemble likely candidates. A small positive class makes the quality of each positive decision important, even when nearly all tokens receive the label in the reference.

Alex makes portability conditional on the availability of lexical resources. The system uses CELEX, German tokenization rules, a tagger trained on German news, and a way to obtain search evidence for each language. The paper evaluates German articles containing English material. Extending the general lookup design to another pair of languages would depend on supplying the corresponding resources and processing decisions. The reported experiments establish performance on the language pair studied.

Finally, the paper treats improved speech synthesis as a hypothesis for future testing. The motivation for tracking foreign pronunciation is clear, and the evaluation ends with inclusion labels rather than audio judgments. The translation motivation likewise concerns a possible use of the labels. The paper measures classification, with no downstream translation result.

What the experimental setup leaves open

The evidence comes from a sample of one newspaper’s online articles over the stated publication period. The three domains let Alex examine a useful range of English prevalence within that source. Publication, genre, period, and language pair remain fixed. The results describe that setting and leave transfer to other newspapers, kinds of prose, or later periods unmeasured.

The sample is also a record of the annotation policy as well as of published usage. A study including German-inflected English bases would count different occurrences. A study that distinguished recently imported forms from established loans would need an additional reference distinction. The paper’s EN and O labels answer the operational question Alex posed. Interpreting English-token F-score as a measure of all lexical influence from English would extend it beyond that target.

The paper describes the annotation tool and the principal English and outside categories. It gives no quantitative agreement result for borderline cases. This matters most where reasonable judgments could depend on how established a borrowing is or how an abbreviation is interpreted. The gold reference supplies a consistent target for the reported comparisons. The available results leave the reproducibility of difficult individual label decisions unquantified.

The evaluation also stops short of a complete error breakdown. Grammatical candidate selection, segmentation, lexical membership, the default for shared forms, and Web lookup can all affect the label. The paper gives examples of these mechanisms and discusses false positives in the EU sample. The reported tables do not show how many errors each stage introduces. The effect of the hyphen repair is separately measured, while the cost of the broader grammatical gate remains open.

Using a changing Web collection supplies evidence for terms that can be absent from a fixed list. It also means the inputs to the fallback depend on the collection available at the time of querying and on the search restrictions that were supported. The examples describe particular observed hits. The paper gives no repeated search comparison that would quantify the stability of the word decisions as that collection changes. It describes the pipeline as inexpensive and restricts the number of search calls, with no timing results to establish how cost varies across samples.

The cross-domain study compares internet and space travel in both directions. It leaves the EU domain out because the transferred experiments are designed around source and destination samples with substantial annotated English. Its sparse-data results come from within-domain evaluation. The paper therefore leaves open how a tagger trained on either technical topic would fare on EU reporting and how useful an EU training sample would be elsewhere.

The strongest conclusion about transfer is bounded by the tested directions. Lookup has a higher English F-score than the supervised tagger on each of those transfers. Within the same topic, the trained tagger has much higher scores on the two domains with more English, and adding lookup helps it. Taken together, these outcomes show that the availability and relevance of annotated data matter to the comparison. A larger or more varied labeled training collection would constitute a different experimental condition.

The unknown-type analysis points to word familiarity as an explanation for the transfer gap, but it does not report separate English precision and recall for known and unknown forms. Such a breakdown would distinguish a problem of finding unfamiliar candidates from a problem of confidently rejecting misleading ones. It would also show whether a small number of frequent known forms account for much of the remaining performance. The type statistic and F-score describe related aspects of the test without identifying the fate of individual forms.

TextCat provides evidence about a particular way to apply a character-based text categorizer to tokens. The paper takes its low scores as evidence against using that tool for this purpose. The comparison does not cover every way to use character sequences for word-level identification. The supervised tagger itself includes character substring features alongside other cues. The experimental distinction is between TextCat used to classify tokens and the lookup or trained systems actually evaluated.

What came after

Changing the source of lookup evidence

Alex’s later study returns directly to automatic English inclusion detection. Its stated comparison is between corpus-based and Web-based lookup. This puts the source of the lookup evidence at the center of the study. In the earlier system the Web supplies evidence after both lexical searches miss, and the experiment reports the score of that pipeline as a whole. The later study’s topic is the choice between obtaining lookup evidence from a corpus and obtaining it from the Web. Its title establishes the comparison, with the relative performance of the two approaches unspecified. Comparing Corpus-based to Web-based Lookup Techniques for Automatic English Inclusion Detection

That comparison follows naturally from the problem the Google stage addresses. For an unknown spelling, the detector needs evidence about where the form occurs. The earlier study asks whether a broad source of text can supply such evidence when dictionaries are silent. A comparison of corpus and Web lookup makes the evidence source itself a question for evaluation. It is the most direct continuation among the later works because it keeps both automatic English inclusion detection and lookup in view.

Placing the task in wider research

Computational Sociolinguistics: A Survey cites the inclusion study in a broader computational sociolinguistics context. The connection is to the earlier paper’s motivation for locating and counting English forms in German use. Alex chose distinguishable domains because the forms and frequencies of English inclusions could differ across kinds of writing. An automatic annotation procedure is one way to produce data for examining such variation. The later work is a survey, and the documented connection establishes that it cites the paper within that wider field. Computational Sociolinguistics: A Survey

Automatic Language Identification in Texts: A Survey cites the paper from the perspective of language identification. Alex’s task exemplifies what changes when the unit to classify is a token within a text of known dominant language. Evidence available from the surrounding German article settles the article’s language while leaving the status of the individual word open. Comparing TextCat with the lookup pipeline makes that difference in scale concrete. The citation places the work in the history of automatic language identification, with no separate replication or extension specified. Automatic Language Identification in Texts: A Survey

The two survey citations reflect the two problems joined in the original study. One concerns variation in the use of foreign vocabulary across writing domains. The other concerns assigning language labels at a scale where a single word may provide limited evidence. Alex’s later lookup comparison continues the experimental side of the work by asking where evidence about such a word should come from. The earlier newspaper experiments give that question a concrete setting in which dictionaries, Web counts, labeled examples, and repeated forms can contribute in different ways.

Cite

Cite as Beatrice Alex. 2005. An Unsupervised System for Identifying English Inclusions in German Text. Proceedings of the ACL Student Research Workshop.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{beatrice2005unsupervised,
  title = {{An Unsupervised System for Identifying English Inclusions in German Text}},
  author = {Beatrice Alex},
  booktitle = {Proceedings of the ACL Student Research Workshop},
  year = {2005},
  doi = {10.3115/1628960.1628985},
  url = {https://doi.org/10.3115/1628960.1628985}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alex-2005-unsupervised-system-identifying-english-inclusions/