Elamur Research

ELERRANT: Automatic Grammatical Error Type Classification for Greek

Paper · 2021 · Katerina Korre, Marita Chatzipanagiotou and John Pavlopoulos

Summary

When a teacher corrects a sentence, the corrected wording shows the writer what to change. An error label can explain what kind of change the teacher made, such as restoring an accent, fixing a verb form, or adjusting punctuation. Producing those labels by hand takes time, and a consistent set of labels matters when researchers want to compare different collections of writing or find out which errors a correction system handles. ELERRANT adapts the English toolkit ERRANT to Greek. It takes an original sentence and a revised version, locates their differences, and assigns categories to the resulting edits. It handles a stage of grammatical error correction.

The Greek adaptation uses rules informed by grammatical analysis and a spelling dictionary. Some rules address distinctions that the authors consider especially useful for Greek, including written accents and the presence or absence of final ν in certain words. Other rules deliberately group several grammatical distinctions together. A change to a noun can fix both number and case, for example, and a noun-form label can cover the change without forcing a choice between those features. This makes the output easier to standardize while leaving some of the finer details of the correction unspecified.

The authors test ELERRANT against annotations by two Greek philology graduates. The Greek Native Corpus, or GNC, contains sentences from handwritten essays by native Greek high-school students, with corrections supplied by the annotators. ELERRANT’s error-type accuracy was 83.91% against Annotator I and 77.30% against Annotator II. Its scores gave a stronger picture when frequent errors had more influence. Spelling, accentuation, and final ν were among the categories that appeared most often in both the human and automatic annotations. Manual inspection also found errors traceable to incorrect grammatical analysis and cases where the classifier identified only one of several problems in the same word.

Greek WikiEdits, or GWE, presents a different task. It pairs versions of sentences from Wikipedia Talk Pages, where a revision can repair a grammatical mistake, change a name, or alter what the sentence says. Error-type accuracy there was 31.00% against Annotator I and 27.00% against Annotator II. In one example, the system treated the substitution of Greenland for Somalia as a spelling error, while both annotators assigned a general label. The authors released both datasets. The experiments establish how closely ELERRANT can match human labels when a correction is already available, and show why the same label inventory has limited reach when the reason for a revision is open-ended.

Deep dive: ELERRANT: Automatic Grammatical Error Type Classification for Greek

ELERRANT labels Greek grammatical errors from paired texts and shows where the same rules fall short on Wikipedia Talk Page edits. · about 31 minutes to read

The problem and its context

What an error annotation records

A correction and an explanation of that correction serve different purposes. A corrected sentence can be read in place of the original. An annotation records which part changed, what text replaced it or was removed or added, and which category describes the change. Those details let a researcher look across sentences for recurring problems. They also let an evaluator distinguish a system that handles spelling well from one that handles a different set of errors, even if the systems have similar overall results. Making each change explicit is the job of linguistic annotation.

The broader correction task aims to repair written language while preserving what the writer intended to say. It includes such things as punctuation and spelling as well as grammatical form. ELERRANT starts further along in that process, with a proposed repair already in hand. The original and revised sentences provide evidence about which text changed. The remaining questions are how to divide the differences into edits and what labels to assign to them. A single visible difference may have several possible explanations, and a correction that changes several characters may express a single grammatical operation.

The distinction matters for the material a researcher can use. An annotated learner text might mark a troublesome phrase without supplying replacement wording. That record supports a study of the kinds of difficulty learners encounter. A tool that infers an error type by comparing two sentences needs an explicit correction to operate on the same record. In the paper, both the Electronic Learner Corpus of L2 Greek and the Greek Learner Corpus are described as collections of texts written by people learning Greek as a second language. Both omit corrections from their annotations. The authors explain that this preserves the possibility that a given error admits several repairs. It also leaves ELERRANT without the revised text its procedure requires.

Why consistent labels mattered

The authors describe a substantial difference between the resources available for Greek and those available for English. English learner collections cover a range of proficiency levels, native languages, and writing topics. The examples in the paper include Cambridge English Write & Improve, LOCNESS, and the NUS Corpus of Learner English.

A collection’s composition matters when it is used to test a correction system. As the paper recounts, earlier work argued for evaluation across corpora because an essay topic or a writer’s proficiency can change how difficult the correction task is. A shared annotation scheme makes such comparisons easier to interpret. If collections use the same categories for similar edits, differences in the frequency or success of a category can be studied with less ambiguity about what its label means. If the categories instead divide the same phenomena in incompatible ways, the names alone give a poor basis for comparison. That concern links corpus construction directly to evaluation and benchmarks.

The paper also places error annotation in the context of language teaching. It describes a move from relying on large collections of correct English towards using learner texts paired with corrected versions. A collection of well-formed writing supplies examples of acceptable usage. A paired learner collection also shows where the learner’s wording diverged from a particular repair. That difference can help researchers characterize learner language and develop teaching materials. An error label adds a way to group those divergences even when the sentences and words differ.

For Greek, the authors connect the scarcity of suitable corpora and processing tools to educational needs, including the teaching of Greek as a second language. Their project addresses part of that scarcity by making annotation reusable once sentence pairs exist. The decision to build a corpus of native students’ essays reflects the immediate need for data with explicit corrections. The rationale for annotation includes second-language learning, while the choice of evaluation population is a separate matter. The writers in the essay experiment are native speakers.

The precedent from ERRANT

The original ERRANT provides the design the authors carry over. It accepts an erroneous sentence together with a correction, identifies edits, and classifies them. The result is useful both in preparing data and in evaluating the output of correction systems. A scoring procedure can use the labels to report how a system performs on different kinds of error, giving the evaluator more information than a single score over all corrections.

The BEA-2019 shared task illustrates that use. As the paper describes it, ERRANT helped produce the annotations for the task data and was used to evaluate participants’ output by error type. Adaptations to German, Spanish, Czech, and Romanian preceded the Greek project. They established a precedent for carrying the framework across languages, with the Romanian adaptation appearing in work on grammatical error correction for Romanian.

Carrying over the framework still leaves the question of what its categories should mean in the new language. The paper emphasizes that many Greek word classes inflect. A single replacement can therefore change several grammatical features at once. The English inventory also contains categories whose function or scope changes when transferred to Greek. The authors approach the adaptation as a choice about what to preserve, what to combine, and what to add. The goal is to keep a common structure for recording edits while making the labels informative about Greek.

The uncertainty in human judgments

An error annotation requires decisions about several things. A person has to decide that a construction is erroneous, settle on a repair, and describe that repair with the available categories. If the correct replacement is already fixed, the annotator still has to decide which category best fits it. When the replacement is open, disagreement at that earlier step can also affect the label. An annotator who rewrites a span and one who changes a single inflected ending may produce repairs that are both defensible but correspond to different edits.

The authors discuss earlier concerns about treating the work of a sole native annotator as a definitive standard. More annotators make disagreement visible, but the paper also describes substantial variation among annotators and even across repeated judgments by the same person. Earlier work on preposition error detection in ESL writing is among the studies the paper cites in this discussion.

That problem shapes the evaluation. A human annotation can function as a reference against which the tool is scored, with the understanding that it represents a particular judgment. The authors retain separate references so that the comparison can be made against each person’s annotations. The distinction becomes especially important in the essays, where each annotator supplies the actual corrections as well as the labels.

The method, step by step

From a sentence pair to a labeled edit

The starting point is a pair of sentences. In the essays, a human provides a corrected version. In WikiEdits, the earlier and later versions come from the history of a Talk Page conversation. The procedure finds differences between the paired texts and makes them available as edits. A token is a unit of text used in that comparison, such as a word or a punctuation mark. The output can describe the location of an edit and the wording involved, then attach a label. That dependence on text units is a practical reason to distinguish the type of an edit from its character-by-character appearance. Tokenization

The human annotation scheme gives each edit an operation and a type. The operation says what happens to the earlier text. U, for unnecessary, indicates material to remove. M, for missing, indicates material to supply. R, for replacement, indicates an exchange of one form for another. The type says what kind of change it is. An added accent mark, for instance, concerns accentuation. A change involving a preposition concerns the category for prepositions. Several categories are associated with parts of speech.

The level at which an operation is defined affects how it looks in an annotation. From the point of view of characters, a letter at the end of a word may have been deleted. From the point of view of a token comparison, the whole original token may be replaced by its revised form. In the paper’s essay example, a human gives a final-ν repair the operation R, whereas the specific character rule for dropping ν returns U:FN. Both descriptions locate the same linguistic phenomenon. This is one reason to keep error type, operation, and the way an edit is delimited distinct when reading the evaluation.

How ELERRANT produces a Greek error annotation

The steps in order.

How ELERRANT produces a Greek error annotationStep 1: Receive the original and revised sentences1. Receive the original and revised sentencesStep 2: Analyze the Greek text with spaCy2. Analyze the Greek text with spaCyStep 3: Extract the changed token spans3. Extract the changed token spansStep 4: Check spellings and Greek-specific character changes4. Check spellings and Greek-specific character changesStep 5: Apply rules for the error type5. Apply rules for the error typeStep 6: Return the edit location, correction, and label6. Return the edit location, correction, and label

The authors build the classifier from the original ERRANT rules and use Greek spaCy as the principal source of part-of-speech tags. A tag identifies a word’s grammatical class in context, which gives the classifier evidence for choosing among categories such as noun form and verb form. The paper also discusses incorrect grammatical dependencies, the links used to describe how words relate to one another in the sentence. Those analyses can matter when the relevant clue is a word’s role or its relationship to another word. Dependency parsing

The Greek Hunspell dictionary supplies spelling information. Its role is different from that of the grammatical analysis. It helps identify possible misspellings, while the analysis provides evidence about the kind of word and its syntactic use. Dedicated character rules cover accentuation and final ν. The paper gives pseudocode for those rules and describes the changes to the category inventory. It describes a rule-based adaptation and an evaluation with newly annotated data. The annotation counts refer to the evaluation collections.

How the categories change for Greek

A central decision concerns morphology. In Greek, an inflected form can express several features at once. Replacing a noun may change its number and case together. The authors illustrate this with the correction from γάτα to γατιών after των. Assigning only a number label would leave the case change unrepresented, while assigning only a case label would leave out the number change. NOUN:FORM describes the edit at the level shared by both analyses.

That decision brings the original toolkit’s noun inflection, possessive, and number categories under the Greek noun-form category. The label indicates that the noun’s form was repaired. Recovering exactly which features changed still calls for an examination of the word forms and their context. The classification therefore preserves coverage of overlapping phenomena at the expense of a narrower diagnosis. This is a design decision about what the labels express and does not depend on how frequently the example occurs in either evaluation collection.

The authors add PRON:FORM because pronouns also inflect. The guide associates it with changes such as number, case, or suffix. They add AD:FORM for adverb form, particularly changes involving comparative or superlative degree. The guide also describes form labels for adjectives and verbs. The verb-form category has a broad scope, covering changes that may involve tense, voice, person, number, or other aspects of verb form. In describing the adaptation before the scoring adjustments, the authors say they retain the general verb category, VERB:FORM, and VERB:TENSE.

Contractions raise a different problem. The authors say that Greek contractions can occur under certain conditions with words beginning or ending in a vowel. They temporarily omit ERRANT’s CONTR category and describe a dictionary of frequent Greek contractions as work in progress. They also drop the original particle category, explaining that particles in Greek have a different role, particularly in forming tenses. The PART:FORM label used by the human annotators refers to participles. The similar abbreviations name different grammatical categories.

The annotation guide includes categories organized around such phenomena as determiners, conjunctions, prepositions, punctuation, spelling, and word order. It also distinguishes a corrective edit that lacks a more specific category from an error that can be detected without a clear repair. The former is assigned OTHER, while the latter is described under UNK. A general category gives an annotator somewhere to put an edit outside the detailed inventory, but its label alone conveys little about the edit’s effect.

The evaluation uses overlapping human and automatic inventories. The human scheme contains 16 error-type codes, developed from the 25 codes of the original ERRANT framework. The paper’s guide marks categories such as ADJ:FORM, DET, and ORTH as absent from the human scheme in the form shown. It also gives human categories for participle form and subject–verb agreement that have no direct ELERRANT category in the guide. These distinctions matter during scoring because a human and the classifier may choose different labels even when they have identified the same stretch of text and the same replacement.

Detecting accent changes

The accent rule works on the character sequences of the original and corrected forms. The paper specifies a list of accented Greek vowels, then extracts from each sequence the characters covered by that list. In the notation below, Aₒ represents the accented characters in the original sequence. Cₒ is that original character sequence, A is the list of accented vowels specified by the rule, and ∩ denotes selecting the characters that belong to both. The equals sign identifies the result of that selection.

Aₒ = Cₒ ∩ A

The same operation is applied to the correction. Here A𝚌 is the accented-character result for the corrected sequence and C𝚌 is the corrected character sequence. The equals sign again identifies the selected result, ∩ denotes the intersection operation written in the paper, and A is the same list of accented vowels.

A𝚌 = C𝚌 ∩ A

The rule then compares what it finds on the two sides. If the original has an accent and the correction has none, the label is U:ACC. If only the correction has an accent, the label is M:ACC. The algorithm also tests for cases in which both forms have accents. It checks whether a form that has more than one accent becomes a form with one, or whether the reverse occurs. These branches describe the removal of a redundant accent and the addition of a missing one. A further branch returns R:ACC for a difference between accented characters, which the pseudocode describes as a replacement when the count is the same.

The guide illustrates an accent correction with καθηκοντα and καθήκοντα. The relevant signal is present in the spelling of the paired forms. The rule can identify what the supplied repair does by inspecting those forms. The comparison itself does not tell a writer where an accent should go in a word for which no corrected form has been supplied. It also describes a particular kind of evidence about the observed change, leaving broader questions about the word’s morphology or syntactic role to other parts of the analysis.

Detecting final ν changes

The final-ν rule uses a stricter character comparison. For an insertion, it tests whether the original is identical to the corrected sequence after the corrected sequence’s last character is removed. In the expression below, Cₒ is the original character sequence, and C𝚌 is the corrected sequence. The brackets indicate a slice. The colon means to start at the beginning, and −1 marks the last position as the stopping point, so the slice excludes the final character. The equals sign tests whether the resulting sequences match.

Cₒ = C𝚌[:−1]

A separate check requires the last character of C𝚌 to be ν. The subscript 𝚌 continues to identify the corrected form, the bracketed −1 selects its last character, and the equals sign tests that this character is the Greek letter nu.

C𝚌[−1] = ν

Together, these conditions yield M:FN. The original is missing a final ν that appears in the correction. For a deletion, the direction of the sequence comparison is reversed. In the next expression, C𝚌 is the corrected sequence and Cₒ is the original sequence. The slice again starts at the beginning and excludes the last position, and the equals sign compares the resulting string with the correction.

C𝚌 = Cₒ[:−1]

The rule checks the original’s last character in this branch. Here Cₒ denotes the original sequence, the bracketed −1 selects its final character, and ν is the letter required on that side of the equality.

Cₒ[−1] = ν

The output in this direction is U:FN. Both branches look for a change confined to final ν. A pair with a further change elsewhere in the token would fail this exact comparison. The paper illustrates the category with forms such as την and τη, and μη and μην. The authors give final ν its own label because deciding whether to retain or omit it in words such as articles, pronouns, and particles is a recurring source of error even among native speakers.

The accent and final-ν rules illustrate why the two sentences are useful. The tool can inspect what changed at the character level even when the edit was recorded as a replacement at the token level. The comparatively narrow final-ν check has a clear interpretation when it fires. Multiple changes within a token present a harder problem because the narrow check can fail even when adding or removing ν was part of the repair.

Preparing the essay and Talk Page data

For GNC, the authors split handwritten high-school essays into sentences and transcribed them manually. A sentence could be correct as it stood or could contain several errors. The human annotation therefore began with a judgment about whether a sentence contained an error. When it did, the annotator wrote out the corrected sentence and supplied the operation and type for the targeted change. Together, these fields provided the parallel text for ELERRANT and the label against which it could be evaluated.

The essay procedure isolates errors by constructing separate records where necessary. In each record, the original side retains the target error, while other errors are already repaired on both sides. The corrected side repairs the target as well. In the paper’s example, copies of the same sentence isolate a final-ν change, a spelling repair, and a participle-form change. The annotators follow the same principle when they identify several errors within a single word. Each comparison is designed to reveal one repair amid otherwise matching text.

Isolation has a methodological advantage. If the two versions differ in several nearby ways, an automatic comparison may group the changes into a span different from the one a person intended to label. Keeping the other changes fixed directs attention to the selected problem. It also means that a record can contain edits already made for the purpose of evaluation. The unit offered to ELERRANT is still a whole sentence pair, but the original side of such a record is prepared to expose a specific contrast.

For GWE, the revisions already existed. The authors started with the Greek portion of WikiConv, which records activity in Wikipedia discussions, including modifications, deletions, and restorations of comments. They retained sentences containing edits. For the material given to the annotators, they segmented text at full stops and selected the sentence that contained the edit. They put the paired versions through ELERRANT to extract the changed tokens, then asked the humans to classify those edits. The annotators chose the operation and type using the same general scheme as in GNC.

This makes the two pipelines different in a consequential way. In GNC, people decide what needs repair and produce the pair that exposes it. In GWE, the existing revision provides the pair, and the tool helps establish the edit spans that people label. The Talk Page operation follows an observed change, whose purpose could be linguistic or could involve the substance of the message. The essay operation follows a human judgment about a particular language error. Both pipelines yield reference annotations, but the reference answers a different question in each.

Experiments and results

Evaluation material and reference judgments

The Greek portion of WikiConv supplied to the authors comprised 194,499 Talk Pages. That is the source collection, whereas the annotated GWE evaluation contains 100 sentences. The GNC collection contained 227 sentences at the time of the study. Across the two sources, the authors gave 327 sentences to two Greek philology graduates. The small annotated set is the basis for the classification results.

The paper’s corpus overview reports 100 error annotations for GWE and 180 for GNC, summarizing the annotators’ detected errors on a micro average. The tabulated lengths are 46.43 tokens per annotated GWE sentence and 21.2 per annotated GNC sentence. A Talk Page sentence was selected because it contained an edit, whereas an essay sentence could have no error or several. Sentence length and number of target changes are therefore separate properties. The longer Talk Page sentences usually supply a single edit for classification. A shorter essay sentence can give rise to more than one comparison.

The annotators’ decisions about GNC show how the collection mixes correct and erroneous sentences. Annotator I recorded 102 sentences with no errors, representing 44,9% of GNC, and Annotator II recorded 96, or 42,3%. The counts for exactly one error were 87 sentences, or 38,3%, for Annotator I and 93, or 40,9%, for Annotator II. Exactly two errors were recorded in 27 sentences, or 11,9%, by Annotator I and 28, or 12,3%, by Annotator II. The counts for three or more errors were 11, or 4,8%, and 10, or 4,4%, respectively.

Those figures describe judgments about the original essay sentences. The main performance figures address a narrower question about the types assigned to edits given the corrected pairs. In particular, the availability of a substantial group of sentences judged correct should not lead the reader to interpret the accuracy scores as a test of deciding which raw sentences require correction.

The authors report Cohen’s kappa, a measure of annotator agreement adjusted for chance agreement. For GNC error types it was 84.65%, and for the GWE edits it was 70.02%. They also compare the frequency profiles of the labels. In GWE, the Pearson correlation between the annotators’ error-type frequencies was 99.62%. Annotator I used 10 codes and Annotator II used 13. In GNC, the frequency correlation was 99.20%, and 14 error types appeared across the annotated corpus. UNK and WO, the word-order category, were unused there.

Frequency correlation and kappa describe different properties of the reference data. A frequency profile counts how often each category appears across the collection. Two annotators can put similar proportions of edits in the same categories while choosing different labels for individual items. The high correlations therefore describe similarity in the distribution of labels. The lower kappa for GWE describes a separate difficulty in matching up judgments about individual edits.

How the comparisons were scored

For the essay data, the authors ran ELERRANT separately on each annotator’s corrected pairs. They compared each automatic output with the labels from the person who supplied its corrections. Consequently, the two GNC runs can differ in the repair used as input as well as in the target label. For the Talk Pages, the revisions were already given, and the authors compared the output with each annotator’s judgments about the extracted edits. There the source of variation between references is the annotation of an existing revision.

Before scoring, the authors adjusted the labels to reduce differences between the automatic and human schemes. All labels in the VERB:* family were mapped to VERB:FORM. The article reports mappings from ARTORDET to DET and from PART:FORM to ADJ:FORM. It also describes a temporary change from the classifier’s ADJ:FORM to AD:FORM. These are the paper’s evaluation adjustments. A match under the adjusted scheme can represent agreement at a broader level than a match between labels from the separate original inventories.

Accuracy records the share of evaluated classifications that match the reference. Precision addresses how often the predictions counted for a category are correct, while recall addresses how frequently the reference instances of a category are recovered. F1 combines precision and recall. The paper reports macro, micro, and weighted versions of the latter metrics. Macro averaging gives each category equal influence. Micro averaging pools decisions across categories and is consequently influenced by frequently occurring labels. Weighted averaging combines per-category results with weights that reflect how often categories occur. The paper uses these views to examine whether classification is stronger for common or less common errors.

The human annotations are the reference judgments in the experiments. The authors discuss the original English ERRANT result as context, reporting that a manual assessment rated 86% of its output types as good. That judgment concerns a different language, data source, and evaluation procedure. The experiment supplies no competing Greek classifier run on the same pairs. The main comparisons are between human references, averaging schemes, and the two data sources.

Results on corrected student essays

Against Annotator I’s GNC reference, ELERRANT obtained 83.91% accuracy. Against Annotator II’s GNC reference, accuracy was 77.30%. Both scores concern classification after the annotators provide the corrections. They show that the rules often recover the reference type for the edits in these essays.

ELERRANT error-type accuracy on GNC by annotator reference

ELERRANT matches Annotator I’s reference more often than Annotator II’s.

ELERRANT error-type accuracy on GNC by annotator referenceELERRANT with Annotator I reference (this paper): 83.91ELERRANT with Annotator I reference(this paper)83.91ELERRANT with Annotator II reference: 77.30ELERRANT with Annotator II reference77.30
The numbers
System or settingaccuracy %
ELERRANT with Annotator I reference (this paper)83.91
ELERRANT with Annotator II reference77.30

For Annotator I’s GNC comparison, the reported micro precision, recall, and F1 were 86.90%, 83.91%, and 85.38%, respectively. The weighted values were 81.10% precision, 83.91% recall, and 82.17% F1. Giving each error type equal weight yielded 58.15% macro precision, 60.92% macro recall, and 58.54% macro F1. The headline accuracy and the macro results thus answer different questions. The former tallies agreement across the evaluated edits. The latter shows what happens when each category has the same weight in the aggregate.

For Annotator II, the corresponding GNC micro values were 80.79% precision, 77.30% recall, and 79.01% F1. The weighted values were 73.13% precision, 77.30% recall, and 74.74% F1. The macro values were 50.57% precision, 50.89% recall, and 49.59% F1. The broad pattern across averaging choices appears with both references. This consistency supports the authors’ interpretation that the stronger aggregate scores depend partly on performance in often encountered categories.

ELERRANT F1 on GNC under different averaging schemes and references

The results are higher when frequent categories have more influence.

ELERRANT F1 on GNC under different averaging schemes and referencesAnnotator I reference, micro (this paper): 85.38Annotator I reference, micro (thispaper)85.38Annotator I reference, weighted: 82.17Annotator I reference, weighted82.17Annotator I reference, macro: 58.54Annotator I reference, macro58.54Annotator II reference, micro: 79.01Annotator II reference, micro79.01Annotator II reference, weighted: 74.74Annotator II reference, weighted74.74Annotator II reference, macro: 49.59Annotator II reference, macro49.59
The numbers
System or settingF1 %
Annotator I reference, micro (this paper)85.38
Annotator I reference, weighted82.17
Annotator I reference, macro58.54
Annotator II reference, micro79.01
Annotator II reference, weighted74.74
Annotator II reference, macro49.59

The paper’s frequency comparison identifies spelling, accentuation, and final ν among the most common labels in the automatic and human GNC annotations. Agreement about which types occur often can help when examining a corpus in aggregate. It gives an incomplete picture of instance-level classification, since two sets of annotations can have similar totals for a type while disagreeing about particular edits. The accuracy and F1 results are the corresponding evidence about classification, and their dependence on averaging explains why the prominent categories deserve separate attention.

Results on Wikipedia Talk Page edits

For GWE, the accuracy scores were 31.00% against Annotator I and 27.00% against Annotator II. The paper’s strongest GWE precision, recall, and F1 values come from different metrics or averaging choices within the comparison with Annotator I. Weighted precision reached 44.47%, macro recall reached 40.03%, and macro F1 reached 35.75%. Each value describes its own scoring view. Together they show that the lower accuracy is accompanied by weak performance under other ways of aggregating the labels.

ELERRANT error-type accuracy on GWE by annotator reference

Agreement is low against both human references.

ELERRANT error-type accuracy on GWE by annotator referenceELERRANT with Annotator I reference (this paper): 31.00ELERRANT with Annotator I reference(this paper)31.00ELERRANT with Annotator II reference: 27.00ELERRANT with Annotator II reference27.00
The numbers
System or settingaccuracy %
ELERRANT with Annotator I reference (this paper)31.00
ELERRANT with Annotator II reference27.00

The rest of the GWE metrics show how the results vary with the reference. For Annotator I, micro precision was 40.26%, micro recall 31.00%, and micro F1 35.03%. Macro precision was 38.79%, and weighted F1 was 33.65%. For Annotator II, micro precision was 36.00%, micro recall 27.00%, and micro F1 30.86%. Macro precision, recall, and F1 were 19.76%, 24.69%, and 19.54%, respectively. Weighted precision, recall, and F1 were 39.07%, 27.00%, and 28.96%.

The authors trace some of the difficulty to the classifier’s failure to recognize particular kinds of change. The human label distribution offers a clue about why. OTHER was the most frequent human label for GWE, and the authors connect this to asking annotators to classify revisions with guidelines designed for language errors. Some of the revisions were changes to content, and a specific error category could be a poor fit even for someone who understood the edit. An automatic rule can identify a visible difference, such as a change in the form of a word, while missing what the replacement does in the conversation.

The contrast between the corpora is therefore a comparison of complete setups. They differ in the source material, the purpose of the revisions, the way edits are prepared, and the reference judgments. The essay result supports the use of the rules for error typing when the pair was prepared to express a correction. The Talk Page result measures how those rules fare over a broader mixture of real revisions. It does not give the accuracy of ELERRANT on a separately identified subset of grammatical repairs in GWE.

What the ablations show

The paper reports no component ablations. Its analyses compare corpora, human references, and averaging schemes, then use individual examples and manual inspection to explain possible sources of agreement and disagreement.

What weighting reveals about the essay results

The micro and weighted results in GNC are consistently higher than the macro results. That relationship is informative because the same classification outputs are being viewed under different weighting choices. The micro view gives the frequent spelling, accent, and final-ν cases many opportunities to affect the score. The macro view gives a rare category the same influence as a common one. The drop under equal weighting indicates that the stronger overall results do not carry across the inventory with the same consistency.

The comparison supports an interpretation about where the classifier performs well in this collection. It leaves open how much each individual rule contributes. For instance, the frequency of final-ν errors and the presence of a dedicated final-ν check fit together plausibly. Establishing the size of that rule’s contribution would require evaluating a version with the check removed, or reporting a category-specific comparison that isolates its effect. The reported frequency comparison provides neither measurement. It shows that patterns the authors chose to represent explicitly also turn up often in the annotated essays.

The averaging experiment also helps interpret the role of the broad form labels. Grouping several possible feature changes under a single label can make a type agreement easier to state. A score over that label reflects the ability to recognize the form category as defined. It provides no evidence about how consistently the same classifier could distinguish the underlying feature changes, since those distinctions have been combined in the task. The comparison of averaging schemes is therefore informative about coverage of the chosen labels, with the scope of each label held fixed.

What the separate human references reveal

Running the essay experiment against each annotator protects the results from depending invisibly on a sole choice of correction and label. It also gives a range of outcomes for the same tool on the same source collection. The authors attribute much of the GNC disagreement to additional errors that one annotator recorded. Differences of this kind matter before classification begins. A missed or additional target changes which pair is created for the tool to assess.

The difference in GNC scores cannot be assigned solely to one annotator being easier to match on labels. Each supplies corrections, so disagreements in detection and repair can also change the cases seen by the classifier. A comparison with identical pairs and separately chosen labels would isolate the labeling decision more directly. The GWE procedure comes closer to that arrangement because the revision is already fixed. Even there, the generality of OTHER and the limited choices for content edits affect what agreement means.

The agreement measures make another point visible. In each dataset, the annotators’ category frequencies are closely correlated, while their item-level labels can differ. One tool proposed to help review annotations could flag specific instances in which automated and human judgments differ. Frequency agreement is more directly evidence about the overall picture the annotators produce. Neither establishes which judgment is right on a contested item.

What the examined edits reveal

The Talk Page examples put several sources of disagreement side by side. A substitution of Greenland for Somalia changes the entity mentioned in the sentence. Both annotators entered R:OTHER. ELERRANT returned R:SPELL. The spelling label describes the substitution as a repair to a word, while a name replacement can alter the meaning of the message. The example motivates the authors’ suggestion of a NAME category. It also shows why giving the human annotators only a general fallback limits the detail of the reference.

The paper gives an accent example involving η and ή, forms glossed as a feminine definite article and as “or.” The automatic output and both human annotations are recorded as U:ACC. This is a case of agreement on the type of change visible in the writing. The forms also illustrate why a character-level classification has a limited scope. Two forms distinguished by a mark can have different grammatical uses. A label can accurately describe the orthographic distinction without establishing that the change preserved the meaning of the surrounding text.

In another Talk Page example, forms of a word glossed as “daily” receive R:SPELL from ELERRANT and Annotator I, and R:NOUN:FORM from Annotator II. The authors read the spelling label as the better judgment in the example. It illustrates how a tool can draw attention to a disputed human label. The example itself supplies no independent adjudication across the dataset, so its role is to show the kind of disagreement a review might uncover.

Together these cases distinguish several kinds of classification difficulty. The name substitution has a specific description outside the available language-error inventory. The accent example falls into an explicitly represented category and receives a shared label. The spelling example has competing labels even after an edit is visible to all parties. The low GWE scores aggregate such diverse cases, and the examples explain why a single account of failure would be incomplete.

What the manual review reveals about the rules

In reviewing essay outputs, the authors trace some errors to Greek spaCy. Incorrect part-of-speech tags can direct rules toward the wrong word class. Incorrect dependency information can deprive the classifier of the relationship that makes a form change intelligible. The authors also view this dependency on the grammatical analysis as an obstacle to adding more specific categories, including distinctions for case and noun-gender agreement. The review identifies a plausible source of errors without measuring how scores would change with manually corrected tags or dependencies.

The other issue is a word that needs several kinds of repair. A broad FORM category can accommodate a correction that affects several inflectional features together. A word with both a spelling problem and an accent problem calls for evidence about different phenomena. The authors observed that ELERRANT may give such a word a single type and leave the other problem unrepresented. The difference clarifies the reach of the form labels. They are a way to represent overlap within a grammatical family, while combining multiple distinct diagnoses would require a different kind of output or edit analysis.

The manual inspection provides explanations for specific failures. It leaves their relative frequency and impact unmeasured. The paper documents problems in the upstream analysis, cases that exceed the label inventory, and cases where a single output label suppresses part of a repair. Each would require a different comparison to measure its contribution to the aggregate results.

Limitations

Limits identified by the authors

The authors acknowledge that the Greek grammatical analysis constrains the quality and detail of the annotations. The existing rules depend on tags and dependencies that can be wrong. Adding finer labels would turn more of the evaluation on whether that underlying analysis reliably identifies the features and relationships those labels require. The authors discuss greater detail as a direction for improvement, without reporting an evaluation of those additional distinctions.

They also acknowledge the difficulty of errors that overlap within a word. Combining number, case, or related features under a form category deals with a genuine ambiguity about which feature to emphasize. The same device has limited value when a repair involves spelling along with accentuation or morphology. The system can assign one label to the observed edit while omitting another relevant description. A person using the output for detailed feedback would then see only part of the diagnosis.

The authors explain the weak Talk Page performance partly through the composition of GWE. A revision can change a date, name, or other content without repairing grammar. The edit might also be an attempt to alter the substance of the discussion. Even an accurate language-error inventory is incomplete for those purposes. The authors propose such categories as NAME and SYNONYM for a broader account of revisions. These examples identify gaps in the existing scheme. The paper does not measure the accuracy of rules for the proposed categories.

The paper also treats the evaluation collections as resources that could be expanded. GNC was still being compiled when the authors reported its size. They describe future work on frequent contractions and on extending coverage of the changes seen in GWE. Such work could increase the range of the data or the labels, with new evaluation needed to establish how it affects classification.

Limits that follow from the setup

ELERRANT has access to the revised sentence whenever it labels an error. Its essay accuracy measures how often it describes a correction in agreement with the person who supplied it. Generating a repair from the raw essay would require deciding what was wrong and supplying acceptable replacement text. The experiments give credit for agreement on the type once the repair is present. They do not test the accuracy of an automatic system asked to write the correction.

The essay preparation narrows another part of the task. When a writer made several errors, the annotator can fix the surrounding problems on both sides so that the comparison highlights the target. That procedure makes the reference clearer and gives a fair way to test a rule for the selected error. It removes some of the difficulty of decomposing a more complicated revision into meaningful edits. The reported results therefore offer limited evidence about how edit boundaries would behave in a pair containing several interacting repairs.

Likewise, the Talk Page annotators classified spans obtained with help from the same tool being evaluated. The procedure establishes a shared object for classification. It does not provide an independent test of the automatic edit boundaries against spans freely selected by the annotators. A tool could match a human label for an extracted span while having overlooked another span, grouped changes differently from an unaided annotator, or separated parts of one revision. Those possibilities lie outside the classification comparison reported here.

The results are conditional on the reference judgments and the label mappings. In GNC, two acceptable corrections can lead to different edits and different categories. Testing both human references acknowledges this variation, while leaving many possible repairs unevaluated. The scoring adjustments also make comparison possible by combining or renaming categories. Accuracy after mapping should be read as agreement under the resulting inventory. It cannot establish the ability to recover distinctions removed by that mapping.

Coverage is bounded by the selected texts. The essay scores describe native Greek high-school writing under the paper’s annotation procedure. The motivation includes the needs of second-language learners, but the GNC results do not directly measure performance on their writing. The GWE scores apply to the annotated Talk Page sentences and their existing revisions. The much larger WikiConv source collection describes where the material came from and supplies no additional labeled cases in the reported evaluation.

Finally, the proposed moderation use would require an additional judgment about the purpose and effect of an edit. An accent or spelling label could help someone locate plausible surface repairs. A label alone cannot establish that a change leaves the content intact, as the accent example illustrates. The paper reports no separate evaluation of a system deciding which edits can be exempted from moderation, and its error-type scores do not measure that decision. Shortlisting edits for review is the prospective use the authors identify. The experiments establish the behavior of the classifier under the two annotation setups.

What came after

The paper’s documented contribution ends with the release of ELERRANT and the two annotated datasets. There are no documented follow-up studies to trace here. The authors identify several directions for extending the work. They envisage more detailed grammatical distinctions if the underlying analysis can support them, broader coverage of contractions, larger datasets, and categories that describe the effects of general revisions.

The proposal for Talk Pages follows directly from the name substitution in the experiments. A classification scheme for revisions could distinguish a change of entity from a spelling repair, giving the edit a more informative description than OTHER. The proposal for learner writing responds to a different problem. A richer analysis could preserve distinctions that broad form labels intentionally combine, or describe multiple repairs to the same word. These directions extend different parts of the original design. The study establishes the results for its released annotation setup and leaves the proposed extensions for subsequent evaluation.

Cite

Cite as Katerina Korre, Marita Chatzipanagiotou and John Pavlopoulos. 2021. ELERRANT: Automatic Grammatical Error Type Classification for Greek. Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2021).

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

@inproceedings{korre2021elerrant,
  title = {{ELERRANT: Automatic Grammatical Error Type Classification for Greek}},
  author = {Katerina Korre, Marita Chatzipanagiotou and John Pavlopoulos},
  booktitle = {Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2021)},
  year = {2021},
  url = {https://aclanthology.org/2021.ranlp-1.81/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/korre-2021-elerrant-automatic-grammatical-error-type/