Learner Corpus Anonymization in the Age of GDPR: Insights from the Creation of a Learner Corpus of Swedish
Paper · 2018 · Beáta Megyesi, Lena Granstedt, Sofia Johansson et al.
Summary
An essay written for a language class can reveal who wrote it through a town, a workplace or a combination of details scattered across several assignments. The Swedish Learner Language project, known as SweLL, had to address that risk before sharing its collection of essays by people learning Swedish as a second language. The paper describes the project’s response as the European Union’s General Data Protection Regulation, or GDPR, took effect on May 25 2018. The authors distinguish anonymization, in which the person can no longer be identified, from pseudonymization, in which identification depends on additional information kept separately. SweLL retains a protected link to each participant so it can remove that person’s contributions on request.
SweLL was designed to collect and annotate at least 600 texts and exercise answers from consenting learners from the age of 16. Its sources include Swedish for Immigrants courses, other Swedish as a second language classes, and proficiency testing settings associated with the Common European Framework of Reference and the Test in Swedish for University Studies. The project explains participation in Swedish and a range of other languages. It limits the information kept about learners to details useful for research, including gender, an age range, time in Sweden, education, and languages used in different settings. Staff also inspect the essays themselves. Even a limited learner profile can become identifying when read alongside an account of where the writer lives or works.
Research assistants use SVALA, an annotation tool run in the encrypted SweLL-kiosk environment, to mark passages that could identify someone or disclose sensitive information. They classify each passage and, where appropriate, replace it with a plausible alternative. In a worked example, Borlänge becomes Guntorp at both mentions, and the stated age changes from 18 to 19. Assistants review all the essays by each learner together, since details that seem unremarkable in isolation can identify someone when combined. The paper treats automated detection as a possible aid. Misspellings and unusual sentence structures in learner writing motivate manual review, including manual identification of the names and places that an automatic tool might flag through named entity recognition.
The paper reports a workflow under development and uses worked examples to show where it succeeds and where it can distort the writing. A replacement can preserve who or what a sentence refers to while changing how the learner spelled or inflected a word. It can also create a grammatical error or make two statements inconsistent. The authors suggest testing whether automated detection can assist, making replacements more consistent, and investigating whether grammatical labels can help retain the forms learners used. They envisaged access for registered users through Lärka, with Korp and Strix supporting exploration, and expected the corpus and tools to be released by the end of 2020. The paper’s evidence is qualitative. Its contribution is an account of how privacy, readable text and reliable evidence about learner language affect the same editorial decisions.
Deep dive: Learner Corpus Anonymization in the Age of GDPR: Insights from the Creation of a Learner Corpus of Swedish
How SweLL protects the identities of Swedish learners while preserving the essay features that researchers need to study their writing. · about 34 minutes to read
The problem and its context
Why removing a name is only one part of the job
A learner corpus brings together writing by people acquiring a language so that researchers can study their choices across texts and groups of writers. A researcher might look at how learners express possession, how forms differ across proficiency levels, or how patterns in Swedish relate to the other languages a writer uses. Those questions require more than a set of corrected sentences. Researchers need access to the learners’ own forms, a way to tell which material belongs to which task, and enough information about the writers to interpret a comparison. SweLL was conceived as an infrastructure for collecting, annotating, finding and analysing this material, alongside the development of exercises and automatic processing tools. The study of language through such collections is part of corpus linguistics.
The source of much of the research value is also the source of the privacy problem. An essay can mention a relative, describe a journey, or explain how the author came to live in Sweden. The assignment may elicit precisely the kinds of personal accounts that provide useful examples of everyday language. A name is a conspicuous identifier, but a reader might recognize a person from a workplace, a family situation or an unusual combination of circumstances. A passage can also disclose sensitive information, such as a political view or a disability. The annotator has to consider what the passage says about a person as well as whether it makes that person recognizable.
There are several places to look for revealing details. Some appear in the essay, others in the profile collected about the writer, and still others in a different essay by the same person. Information about a task also has a role, since it situates an essay in circumstances that may narrow the group of possible writers. The paper presents these as connected parts of the collection. Reducing the detail available in a profile can help, but the essay may independently supply an exact age, place or occupation. Rewriting the essay can likewise leave an unusual combination of profile attributes intact. The relevant question is what a reader could learn from the records together.
The authors make that issue concrete with an invented learner. The example gives the reader a multilingual background, an education level, time in Sweden and details of a writing task. The short essay adds a town and a profession, along with personal information that overlaps the profile. The occupation matters because it connects the character in the essay to a narrower set of possible people than the broad educational categories do. The example uses fictitious material to show how identification could arise. Its point depends on the interaction between records and prose, and would survive a change to the illustrative name.
The intended audience for the corpus made these choices pressing. Within a collection project, original materials can be handled under agreed procedures by people with defined responsibilities. A corpus designed for use by outside researchers must support access beyond that group. The SweLL authors wanted researchers to search and download material, compare portions of the corpus, and examine the data with tools developed for the project. They also wanted the linguistic judgements in the corpus to be reproducible and comparable. An undocumented substitution could undermine that goal if a later reader counts a word chosen by an annotator as a word chosen by the learner.
Anonymization, pseudonymization and access
The paper situates SweLL’s work in the context of the GDPR and Swedish legislation on access to public data. In the authors’ account, personal data includes information that identifies a person indirectly as well as obvious identifiers such as a name or identification number. Anonymization is the condition in which the person can no longer be identified, including by the party that did the anonymizing. Pseudonymization is a way of processing personal information so that linking it to a person requires separate additional information. A protected mapping from project identifiers to people is the paper’s example of such additional information.
That distinction gives SweLL a practical design requirement. A learner who chooses to withdraw must be able to ask the project to find the contributions associated with their identity. The researchers therefore need a means of making the connection, while analysts working with the corpus can use project identifiers. The mapping that supports withdrawal and the substitute text that supports research serve different purposes. Calling an essay de-identified describes the treatment of the research copy. The retained mapping explains why the authors describe the project’s handling of participant data as pseudonymization.
Keeping a key separate deals with one route to identification. The authors also consider whether the facts still visible could be combined with information from public sources, including the internet and public registers. Their account of pseudonymization sets a demanding condition here. The protected information should be what makes re-identification possible. If a public source already lets someone match a distinctive combination of age, workplace and location to a person, the separation of the key has addressed a different route. This is why the workflow includes decisions about which information to collect, where to keep it, what to edit and who can reach the edited material.
The proposed access arrangement reflects those distinct decisions. The authors describe an open-access research objective alongside a restricted license and a portal requiring a login and password. They also describe separate handling of the originals, the key, and the copies ready for further annotation. Access to the processed corpus and access to information that links a learner to the corpus are therefore different parts of the design. The paper’s subject is how the project intended those parts to fit together while it was still constructing the resource.
How other learner corpora approached the same issue
The paper presents several earlier ways to handle personal references in learner writing. The Czech learner corpus CzeSL uses a small set of substitute names, Adam, Eva and Sin. The substitutions carry the relevant inflections, and spelling mistakes in endings can be retained. That makes it possible to keep some evidence about how the learner formed the word. The authors also point out a cost of reusing a small stock of names. A passage about several relatives can give different people identical names, weakening the distinctions the learner made in the original. This is a problem of reference even when the replacement reads smoothly at the level of an individual word.
The Norwegian ASK corpus replaces original words with codes such as @name and @place. A reader can see the kind of information that occupied a position in the sentence. The code also makes the intervention visible without requiring a comparison with the original. When a passage contains several such items, the reader has to follow references through labels instead of ordinary names and locations. There is a further question for linguistic analysis. A code standing in for a misspelled place name can show that a place was mentioned while carrying very little evidence about what the learner did with its spelling.
In the Croatian learner corpus CroLTec, replacement of names took place during error annotation without dedicated common guidelines for that operation. Essays with sensitive personal material, including some expressing political views, were left out. This illustrates an option that operates on the whole document. Excluding an essay avoids the need to decide how to rewrite each sensitive passage, at the cost of losing the rest of the writing in that document as well. The paper uses these corpus descriptions to establish the range of practice. They concern projects making different editorial choices under different conditions.
SweLL’s design draws attention to two questions that can be answered separately. The first is which part of the original needs intervention and what sort of information it contains. The second is what should appear in the processed copy. A staff member can decide that a passage contains a city name, record the decision, and give the city a stable referent before choosing anything to display. That separation makes the resulting edits easier to inspect and creates room for more than one treatment of sensitive material. It also puts the treatment of the text itself on the same footing as the project’s decisions about profiles, consent and access.
The method, step by step
From consent to a linked record
The workflow starts at the point of collection. Teachers tell learners what the project is for and how their writing and personal information will be handled. The participation agreement covers a stated period, allowing the project to receive more than one essay from a learner during that period. A learner may withdraw without giving a reason. The agreement explains that the project will withhold the person’s name and remove identifying details from the essay. The paper describes a process that makes those commitments concrete in the handling of the consent form, the learner’s profile and the submitted writing.
The explanation is available in Swedish and in several other languages commonly used as first languages by learners of Swedish. Arabic, Dari, Somali and Tigrinya are among those named. The translations are there to help participants understand what they are agreeing to. The paper adds a detail about the completed forms that matters for the implementation. Learners generally fill out the Swedish form and consult a translation as needed, so that project assistants can read and interpret the information entered. The translation supports the consent decision, while the common form supports subsequent data handling.
The collection brings together materials from different people. Learners supply a signed agreement, information about themselves and the writing they donate. Teachers supply information about the assignment and, when applicable, the grade for the particular work. A school keeps the relevant papers in a safe until project staff collect them. Electronic essays are copied to a USB memory stick and kept in the safe as well. Once the material has reached the project, the agreements and other records that can identify participants are handled under the project’s storage procedure.
Each participant receives a SweLL-ID. An assistant enters the personal metadata into a learner record on the portal and uses the identifier to associate the relevant essays with it. The paper calls the separately kept mapping between the identifiers and names the key. It is kept in a safe with items including the agreements and handwritten originals. That mapping lets the project locate the essays belonging to a participant who asks to withdraw. The shared SweLL-ID also allows assistants to bring that learner’s essays together during review.
Assignments have identifiers of their own. Staff create a task record from the information supplied by a teacher, link the appropriate essays to it, and attach a scan when there is a handout. This keeps the relationship between prompt and response available for research. A researcher interpreting an essay can ask what the learner was asked to do, and a grade can be attached to the relevant response where one exists. Names of participants and teachers are handled separately from these research records, and the project retains its contact lists securely during the project period.
Handwritten essays are transcribed by assistants using the encrypted environment. Staff likewise handle computer-written originals securely before processing. For the purpose of the paper, the important fact about transcription is where the resulting text enters the workflow. It becomes material that an assistant can inspect and annotate, but at that stage it remains an original containing whatever personal information the learner wrote. The workflow therefore provides distinct routes for the source and for the edited copy that later staff can use.
From collected writing to a research copy in SweLL
The steps in order.
Decide what the research records need to say
Before an assistant edits an essay, the project has already made a series of choices about the information collected alongside it. The purpose of the profile is to let researchers ask questions about groups of writers and give language exercises or analyses a meaningful context. The profile therefore includes information such as gender, educational background, language use and time spent in Sweden. SweLL limits the precision of some fields and omits others. The paper treats those decisions as part of protecting identity, since a profile can become distinctive through the combined values of its fields.
Birth information gives a concrete example. The authors describe 5-year spans such as 1950–1954 for the learner profile. A span is useful for broad groupings and avoids recording exact birth information in that profile. The time spent in Sweden is entered as a duration in years and months, so an arrival date is unnecessary. These choices differ from the way an assistant handles a particular age or date mentioned inside an essay. A profile field follows a common representation across the corpus. The essay edit starts with a particular expression and must also account for the way it appears in the sentence.
The paper describes retaining levels of education and information about education in and outside Sweden, while leaving the name of the educational establishment out of the metadata. It also describes recording mother tongue information in place of country of origin or nationality. Information about how someone learned Swedish, including study through courses or independently, serves another research purpose. Together, these choices give a researcher some context for differences in writing. They also illustrate why the workflow considers a field’s value for analysis and its potential to identify someone before deciding how to represent it.
The task information has its own purpose. An assignment can explain why several essays contain similar words or structures, or why certain topics recur. A grade or exercise result can add context when a teacher supplied one. Associating the essay with its task and learner records makes those relationships available without putting the learner’s name in them. At the same time, the privacy review still has to consider what becomes apparent when details about the writer and the assignment are viewed together with the prose.
Identify and label what needs attention
An assistant reads the essays to find the parts that reveal personal information. The review is manual and proceeds sentence by sentence. The authors wanted to preserve as much usable writing as possible, which puts the decision at the level of the relevant passage. An annotator has to locate what carries the information, determine what kind of information it is, and record the treatment. This is one form of linguistic annotation.
The authors derived their initial categories by manually inspecting a subset of the SweLL material. Some categories are what a reader would expect from a list of conventional identifiers. There are personal names, geographic names, addresses, phone numbers and identifiers for accounts or official documents. The list also covers names of institutions, forms of transport and lines on a transport network, dates, ages, and occupations or education. An institution can be classified further according to whether it is a school, a workplace or another kind of organization. A first name can carry descriptors that affect the form of the substitute.
Other categories call for a decision about the substance of a passage. A political statement, a health detail, or a family relationship can warrant attention even if it contains no conventional name or number. The paper includes a general category for sensitive material and an extra category for items that fit poorly into the current scheme. The latter distinguishes material considered necessary to replace from material that might receive further attention. The inventory was meant to be revised as annotators encountered more writing. It provided a basis for a decision without resolving every case in advance.
Once the assistant identifies a passage, the annotation records which text units it covers. The paper describes marking the relevant words at token level, where a token is a unit into which the software divides the text for processing. This precision matters when one expression contains several words or when an edit changes the shape of an expression. The annotation can identify the extent of the edit and show that a substitute word is associated with a particular part of the source. The division of text into those units is tokenization.
The placeholder gives the marked passage a type. When the same name or place occurs again in an essay, a running number distinguishes that referent and connects its mentions. The paper describes numbering starting with 1. If two mentions refer to the same city, they receive the same reference number within the scope of the procedure described. That tells the replacement process to preserve the connection between the mentions. If a passage discusses different people, the type alone would be too coarse to distinguish them. The numbering lets the annotation express both that the items belong to the same category and that they refer to different individuals.
The label can also record features of the form the learner wrote. SweLL includes descriptors for genitive case, definiteness and plural number. The genitive, for instance, can express possession. If a place name appears first by itself and later in a phrase about its streets, the pseudonym must be able to appear in the corresponding possessive form. Recording such features helps carry over part of the word’s grammatical behaviour, a concern in morphology.
Turn labels into a readable version
The paper distinguishes resource-based rendering, direct replacement and marking for later consideration. In resource-based rendering, the placeholder specifies the kind of item to supply, and a suitable value can be drawn from a list. The paper discusses resources for personal names, streets, places and institutions, among other categories. In its name example, the assistant marks Ali as a masculine first name and the replacement Peter is selected from a list of masculine names registered in Sweden. The placeholder carries the classification and reference needed to connect the original and its substitute.
A rendering step that can draw on a resource gives the same annotation a use beyond a single fixed substitution. The authors suggest that choices of names and places could in principle situate an essay in a different cultural setting. This is a possibility opened by keeping the type separate from the displayed name. Whether such a rendering reads coherently depends on how the choices relate to one another. A plausible city name and a plausible country name can still form an implausible pair in a sentence, a problem the authors set aside for further development.
Direct replacements are used for items that need a treatment tied more closely to the original format. The paper describes replacing each token of a middle name or set of initials with an A. For numerical expressions such as phone numbers and dates, the replacement can keep the punctuation and layout of the source. The example date 2018/01/01 becomes 1111/11/11. The numbers and separators still look like a date written in that format, while the value supplied by the learner has been changed. The source format and the source value are distinct features, and this treatment preserves the former.
Age is handled differently from a telephone number. The paper describes selecting a nearby value within an interval around the original age. Its worked range for an original age of 18 runs from 16 to 20. The adjacent age preserves an approximate stage of life in the story, which can matter for how a passage reads. There is also a difference between a digit and a written number word. An assistant looking at a malformed number word has to interpret the intended value before supplying the interval that the tool will use. In the paper’s example of a younger sister’s age, the form invites readings as different as eighteen and eight. The choice of range therefore depends on a linguistic judgement made before random selection takes place.
The third treatment is to mark an item while deferring a decision about what to display. The assistant may recognize that a phrase says something about the writer without being able to decide immediately whether it creates a privacy problem. The paper gives examples involving an occupation, a field of study, political participation and an unusual family structure. The value of the annotation in such a case is that it makes the item visible for further judgement. The marked version at this stage can still contain the source wording. Its status in the workflow differs from that of a passage whose identifying value has already been replaced.
These treatments explain why SweLL tracks the site of the intervention even where a replacement reads naturally. A later analyst interested in the learner’s lexical choices or errors needs to know whether a word came from the writer or from the processing step. Sometimes the placeholder preserves a feature that matters to the analysis, such as the category of the item or its relation to another mention. Sometimes the intervention means the visible form can answer a question about how the passage is being displayed, but gives limited evidence about the learner’s original choice. The record of the change makes that distinction inspectable.
Keep the original and the processed text aligned
SVALA presents the original and processed versions as parallel texts. It connects the text units across those versions and attaches placeholder annotations to the connections. In the paper’s illustration, one panel offers available tags and another tracks the individually numbered placeholders. The stored JSON representation includes the source, the target, the modified segments and the links between the segments. A link is an explicit record of which part of the source corresponds to which part of the processed version.
The alignment helps when a referent occurs in different grammatical forms. In the Borlänge example, the first mention identifies where the writer lives, and a later mention refers to the city’s streets. The editor can see which source form gave rise to each processed form. The numbering makes the city the same referent throughout the essay, while the representation of the link and its features provides a place to record how a particular occurrence was treated. An illustration in the paper shows the connection for the possessive occurrence. The link therefore serves a more specific purpose than a list saying that the essay contains a substituted city.
The software is also part of a restricted working environment. SweLL-kiosk uses a special encrypted drive for transcription and pseudonymization. The paper describes internet access limited to a single project address, serving purposes that include reporting problems and questions, sending originals to secure storage, and sending the processed essays to the database where authorized users can work with them. The environment includes facilities for managing the database and annotation work, and changes are versioned during pseudonymization. These features support the operational distinction between processing the original and making the edited writing available for subsequent work.
Before an essay moves onward, the authors describe reviewing all the essays linked to that learner. Suppose that one text contains a profession and another a detailed account of a move. Each contribution gives the reviewer only part of the picture. The shared learner identifier makes it possible to assess them as a group while keeping the person’s name out of ordinary essay work. The review is meant to catch combinations of clues whose significance would be easy to miss when reading documents separately. Within an essay, the numbering supports coherent wording. Across essays, the grouping supports a privacy decision.
Once processing is complete, a de-identified essay may be transferred out of the encrypted environment and into the online SweLL portal. The project then intends to normalize, correct and annotate the writing for language research. In this context, normalization and correction supply information about how particular forms are interpreted and how they relate to a target form. Their position after pseudonymization makes the record of changed spans important. The linguistic analysis concerns a text that still reflects much of what the learner wrote but also contains deliberate editorial substitutions. The detailed paper describes how to keep track of those interventions, rather than expressing the process as a mathematical formula or a learned procedure.
Experiments and results
The material used to develop the workflow
SweLL’s collection target was at least 600 texts and exercise answers. The authors discuss voluntary contributions from learners from the age of 16, gathered in educational and testing settings. The intended resource includes writing responses, learner information, task descriptions and grades when applicable. The paper reports that staff manually inspected a subset of the corpus to identify categories for pseudonymization. It gives the size of the intended collection, while the size and composition of the inspected subset are unspecified. The target is useful for understanding the project’s intended scale, and the subset is the basis the authors give for the initial category inventory.
The paper provides examples of metadata and text, the annotation procedure and the resulting representation. The example combining a learner profile and an essay is explicitly fictitious. It demonstrates a potential interaction between sources of information. The examples from SVALA show what an edit looks like in the interface, how it is represented and what the reader sees in a processed passage. They serve a different purpose from the invented profile. They make it possible to inspect what the workflow does to particular words and references.
In evaluation terms, the paper’s comparisons are descriptive. CzeSL, ASK and CroLTec provide precedents for handling sensitive material, each with its own practices. The authors do not apply those practices and SweLL’s workflow to a shared test set. Nor do they report an evaluation split, benchmark scores, error counts or comparisons between people and an automatic recognizer on the SweLL essays. An assessment of such methods would need quantities such as identifying passages missed and harmless passages altered. The paper instead supplies examples that show why either kind of error would matter.
What changed in the worked essay
The most detailed before-and-after example gives the writer a substitute name and a substitute town. Ali becomes Peter. Borlänge becomes Guntorp both when the writer names the place of residence and when the writer talks about its streets. Keeping the same substitute for both references preserves a relationship between sentences that would disappear if the occurrences were edited independently. This is an observable property of the illustrated passage. The example also changes a personal age and a duration. The learner’s stated age goes from 18 to 19, and the time since moving to Sweden goes from 3 years to 2 years.
Age stated in the original and pseudonymized SVALA example
The pseudonymized essay changes the stated age while keeping it in the same part of the narrative.
The numbers
| System or setting | stated age in years |
|---|---|
| Original essay | 18 |
| SweLL pseudonymized essay (this paper) | 19 |
The chart compares the literal values shown in the two versions of one passage. The ordering is numerical, and the star identifies the processed version. Neither the age nor the direction of its change is a measure of privacy or textual quality. The age example illustrates what selecting a nearby value looks like on the page. The repeated city illustrates a different property, namely that the processing can preserve the identity of a referent as it recurs in the same text. Treating these as distinct choices helps explain what a review of the edited essay has to check.
The interface and data illustrations add information that a reader of the final passage alone would have less reason to notice. In the aligned representation, a modified item can be traced to the place that it occupies in the source. Its type and reference are kept as annotations. This is how the paper shows that a realistic replacement can coexist with an internal record of the modification. A researcher looking at the processed words sees a plausible sentence. A person working with the alignment can also see which words were replaced, which is essential to interpreting the processed sentence as learner data.
The examples describe outcomes at different levels of the design. At the document level, an original and an edited copy can be represented in parallel. At the level of reference, repeated mentions can point to the same substitute. At the level of form, the design can record certain features, such as possession, that help an editor choose what to display. At the level of access, the paper describes how the processed version enters the environment where later annotation takes place. Actual gains in reading fluency, the frequency of undetected identifiers, and the labour required per document remain unmeasured in the paper.
The road from an illustration to corpus-wide evidence
A worked passage makes a design decision easy to see because the reader can examine the source and target together. The same format provides a natural way to show failure cases. For example, if a replacement uses a singular nationality word where the sentence calls for a plural, the reader can see precisely which part of the target differs from the source. If a replacement changes a workplace from a hospital to a company, the surrounding preposition becomes another thing to check. The authors use cases like these to describe what a dependable system would have to preserve.
The distinction between the intended corpus and the examples is especially important for this paper. The project’s collection target describes the resource the authors were building. The edited examples display behaviour visible in individual passages. The risks they identify are reasons for particular design choices, such as keeping the change history or retaining manual supervision. Corpus-wide rates, learning curves and estimates of labour would require systematic observations of a collection at a defined stage of processing. The reporting here is about working practices, a taxonomy and an implementation in progress. Its most concrete comparison is between what a learner wrote and what the annotation procedure made visible afterward.
What the ablations show
The paper reports no formal ablations or controlled trials and instead analyses how alternative masking choices affect readability, reference, grammatical form and the treatment of learner errors.
Visible labels and ordinary words solve different problems
The most direct comparison concerns what a reader sees in place of private information. A visible placeholder is easy to recognize as an intervention. That can be valuable when a researcher wants to identify passages in which the original wording was altered. In a continuous narrative, however, a sequence of codes can slow reading and make references harder to follow. As the paper illustrates, a place code also carries little of the original spelling. The source might have shown how a learner attempted to spell Stockholm, while the placeholder gives the analyst a place category and an index.
A fixed substitute drawn from a short list can make the text easier to read locally. The paper discusses how such an editor can preserve inflection and even imitate a learner’s error in a suffix. The example of repeatedly using Adam and Eva for different siblings exposes a separate problem. A reader can understand the individual names and still lose track of how many different people the passage distinguishes. The difficulty arises from the policy for assigning replacements, rather than the appearance of any one name. SweLL’s numbering scheme addresses that specific issue by giving distinct references separate identities in the annotation.
Generating ordinary names from placeholders combines explicit annotation with a more continuous reading experience. It also creates its own points of failure. The generated item must make sense in the immediate phrase, recur appropriately elsewhere and fit whatever relationships the essay asserts. The paper’s analysis explains why this option benefits from a separate record of what changed. A smooth-looking sentence may conceal the fact that its particular name or word form was introduced by the project. The parallel representation makes that intervention available for later inspection.
Grammar, spelling and the rest of the sentence
The authors give examples of automatic substitution introducing errors where the learner’s grammar had been appropriate. One concerns a plural nationality word rendered with a singular form. Another concerns a possessive name rendered without its genitive ending. The mechanism is similar in both examples. A category suitable for choosing the underlying substitute leaves an additional decision about how to inflect it. Marking plural number or genitive case supplies information for that decision. The comparison shows why a rule that chooses a suitable dictionary form is only part of rendering an appropriate surface form.
The workplace example shifts attention outside the changed words. Replacing a hospital with a company can leave the original preposition sounding ill suited to its new complement. Both replacements may belong to a broad workplace category, but their use in the sentence differs. The editor has to consider how a proposed substitute combines with the rest of the wording. Editing the surrounding preposition might improve the finished sentence, yet it would also change a further piece of learner language. The paper identifies this as a cost of pursuing readability through more extensive editing.
Spelling introduces a related choice. The workflow records selected grammatical features but does not track spelling errors in the marked items as part of the described pseudonymization procedure. A substitute for a misspelled word brings its own spelling, and reproducing an error on a different name is difficult to do consistently. The CzeSL comparison illustrates one narrow case in which an editor can retain a misspelled ending. SweLL’s examples show why the general question is harder. An error may concern the internal shape of the original word, parts of its ending, or the reader’s ability to infer the intended expression at all. A placeholder preserves different amounts of evidence in each case.
The authors also distinguish grammatical fit from knowledge about the world. A syntactically acceptable sentence can become incoherent if a substitute capital belongs to the wrong country. This problem can arise even when the place names are individually plausible and correctly written. It requires the rendering procedure to respect relations among choices, rather than relying solely on the type of each item. The example motivates the authors’ plan to investigate both linguistic and factual constraints. It offers a diagnosis of a failure mode and leaves the effectiveness of proposed constraints for future study.
Interpretation and detection require separate judgements
The uncertain age word shows that the procedure must sometimes resolve meaning before it can mask a value. If a malformed expression could represent different ages, random selection from an interval is meaningful only after the assistant has settled on an interpretation or set aside the passage for further work. This example gives the assistant responsibility for understanding the learner’s language, while the tool supplies the replacement within the chosen interval. It also shows why preserving whether a value appeared as digits or words matters to how the processed text reads.
The paper discusses automatic named entity recognition in a similar way. Recognizers can locate some names, places and numerical expressions with high precision in suitable material. Learner writing presents misspellings and unexpected sentence structures that can make recognition less dependable. An assistant also has to look for details such as an unusual family relationship, or see that several otherwise ordinary clues become identifying together. The analysis supports keeping manual supervision in the workflow the authors describe. How much assistance an automatic recognizer could provide on these texts remains a question for evaluation.
Taken together, the examples isolate different dependencies in the design without measuring the effect of switching individual features off. Reference tracking matters when a person or place reappears. Inflection matters when the substitute takes a grammatical form required by the sentence. Lexical fit matters when the surrounding words combine differently with different substitutes. World knowledge matters when replacements participate in factual relations. The paper gives a reason to distinguish each of these problems when diagnosing a problematic edit. It leaves their prevalence and comparative cost open.
Limitations
Limits the authors identify
The corpus and tools were under development at the time of the paper. The authors describe manual inspection, a category inventory and an annotation environment, and set out work still required for fuller resource-based rendering in SVALA. They planned to add rendering functionality and prepare resources for it. The examples illustrate the proposed separation of marking and display as well as operations already used in the workflow. The paper’s anticipated release by the end of 2020 records an expectation at the time of writing. It does not document the completion of that release.
The inventory of sensitive categories is also provisional. The authors expect to refine it as new essays are annotated. Conventional identifiers such as phone numbers give the assistant a recognizable pattern to work with. Other material calls for a judgement about the information a particular statement conveys in context. Profession, education or family size can become identifying in combination with other clues. Keeping a flag for an unsettled case acknowledges that a useful category list cannot settle the disposition of every marked phrase. The paper leaves the later resolution of many such cases open.
The authors identify several improvements that would have to be evaluated. One is the use of grammatical and factual constraints to produce suitable replacements. Another is the use of named entity recognition to support the manual review. A third is the projection of morphosyntactic descriptors, grammatical labels describing such properties as word form and inflection. Here, projection means carrying descriptors associated with the original across the alignment to the corresponding processed span. The authors propose investigating whether that could help keep track of the learner’s grammatical and spelling choices. The reliability of projected labels is an open issue in their account.
The concern about projection comes with a practical tradeoff. A richer manual description might give a renderer more information about endings and the form the learner chose. It would also ask assistants to make finer decisions, especially in a language with many inflections or in a sentence where the intended form is uncertain. Automatically assigning the features could reduce some of that work, but the paper explicitly raises the need to test whether the resulting descriptions can be projected reliably. The workflow in the paper records selected features, which establishes a limited example of the representation rather than an evaluation of a full grammatical treatment.
The conclusion also identifies questions about how readers experience processed learner writing. The authors point to readability, fluency, reader attitudes, the assessment of learners and the quality of subsequent annotation. A text that looks more natural could still prompt different judgements about the writer if the substitutions silently improve or worsen the grammar. A code-filled version might make the interventions clear but make a continuous reading task harder. At the time of writing, the authors describe systematic studies of these issues as a gap. Their own account illustrates reasons to study them.
Limits visible in the evidence
The stated objective of preventing access to a learner’s identity is broader than what can be verified from examples of editing. The examples show that named values can be changed, that repeated references can stay consistent, and that files and records are routed through specified environments. To establish how successfully the workflow prevents identification would require a defined assessment of which details remain, what an outside reader can combine, and which auxiliary information is available. The paper offers no such assessment. Its legal discussion describes the standard the project seeks to meet, and its workflow shows what the team does in response.
The absence of a reported size for the inspected subset limits what a reader can infer about the taxonomy. The paper shows how particular categories were useful when the team reviewed learner writing. It leaves the frequency of those categories, their coverage of the collection and the incidence of difficult cases unspecified. Some examples may be worth explaining because of the damage they could cause, even if they occur rarely. Others may appear often but be simple to edit. The paper’s selection of examples cannot settle which kinds of decisions take up most of the review.
Similarly, a manually supervised procedure depends on the judgements of the people applying it. The paper documents an interface and mechanisms for tracking decisions, and gives examples of ambiguity. It does not quantify how frequently two assistants would mark the same passage, assign it the same type or choose equivalent replacements. The resulting uncertainty matters in two directions. Reviewers can differ in how much personal information they leave visible and in how much useful learner language they alter. The paper makes the points of judgement visible without estimating the amount of variation among annotators.
The recurring city example demonstrates consistency inside an essay. The cross-essay review addresses a different issue, the accumulation of clues across a learner’s contributions. The paper does not establish that the same pseudonym is propagated across all essays by a writer, or that a particular policy for sharing substitutes across documents would be preferable. Those questions depend on what readers need to trace and what combinations the project intends to protect. The evidence supports the stated use of a learner ID for grouping documents during review and of numbered references for handling repeats in a single essay.
Finally, the effects of edits depend on the research use. A nearby age can preserve the general character of a narrative while changing the answer to a question about the exact age reported in it. Preserving a possessive form can support a grammatical analysis while replacing a spelling that would matter in an orthographic study. The aligned representation helps record those interventions, but the paper gives no quantitative account of their effects on downstream analysis. The SweLL cases show how such discrepancies can arise under the project’s collection and access arrangements. Broader claims about learners, languages or corpus designs would require evidence beyond those cases.
What came after
The later citing works place SweLL’s account alongside corpus projects with different subjects. The connection supported here is between their stated research aims and the design questions Megyesi and colleagues raised. The citation links establish that both later works cite the paper. Their titles identify their projects, while the details of how each applies SweLL’s categories, software or data-handling procedures are unspecified.
The 2023 work on LECOR concerns the design of a learner corpus for Romanian. That makes it a close counterpart in subject to the Swedish infrastructure paper. Both concern the creation of a resource from learner writing, where design decisions determine what later researchers can see and compare. SweLL gives a concrete example of how to treat privacy as part of that design, from the detail retained in a learner profile to edits of the text itself. The Romanian work brings the broader corpus-design question into another language setting. The title and citing relationship support that connection, with no basis for assigning particular SweLL decisions to LECOR. Designing the LECOR Learner Corpus for Romanian
The 2025 work concerns the influence of learners’ first languages on their English writing. Its title describes a longitudinal corpus, meaning that the investigation follows writing across time, and specifies that the material has error annotations. This subject connects with two distinct features of SweLL’s account. A collection with several contributions can bring personal clues together across documents, and annotations about learner errors depend on knowing which visible forms came from the writer. The later work’s stated focus gives these issues a different research setting. Its citing relationship does not specify how it handles participant links, edited forms or personal information. Tracing L1 Interference in English Learner Writing: A Longitudinal Corpus with Error Annotations
The first connection concerns building a resource for another language. The second concerns what a longitudinal, error-annotated resource is intended to reveal. In both settings, the SweLL paper supplies a way to ask which links and forms a research corpus needs and which ones can make its contributors recognizable. Whether the later projects adopt particular answers to those questions remains outside what their stated descriptions establish.
Cite
Cite as Beáta Megyesi, Lena Granstedt, Sofia Johansson, Julia Prentice, Dan Rosén, Carl-Johan Schenström, Gunlög Sundberg, Mats Wirén and Elena Volodina. 2018. Learner Corpus Anonymization in the Age of GDPR: Insights from the Creation of a Learner Corpus of Swedish. Proceedings of the 7th workshop on NLP for Computer Assisted Language Learning.
@inproceedings{megyesi2018learner,
title = {{Learner Corpus Anonymization in the Age of GDPR: Insights from the Creation of a Learner Corpus of Swedish}},
author = {Beáta Megyesi, Lena Granstedt, Sofia Johansson, Julia Prentice, Dan Rosén, Carl-Johan Schenström, Gunlög Sundberg, Mats Wirén and Elena Volodina},
booktitle = {Proceedings of the 7th workshop on NLP for Computer Assisted Language Learning},
year = {2018},
url = {https://aclanthology.org/W18-7106/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/megyesi-2018-learner-corpus-anonymization-age-gdpr/