Corpus-based Evaluation of a French Spelling and Grammar Checker
Paper · 2002 · Marianne Starlander and Andrei Popescu-Belis
Summary
A spelling and grammar checker can save a translator a careful reread, or it can turn that reread into a series of interruptions. The difference depends on which errors it catches, how frequently its warnings are justified, and whether its proposed edits help. Marianne Starlander and Andrei Popescu-Belis develop an evaluation that measures these abilities separately. They apply it to two unnamed commercial checkers, S1 and S2, using the needs of a professional translator to decide what to measure. Outlining an evaluation procedure that other people could apply was one of the paper’s aims. The comparison of the two checkers for French shows what that procedure can reveal.
The authors follow the ISO/IEC software evaluation framework and the EAGLES guidance for language software. They treat each product as a black box, judging its responses to the same documents. The test material comes from 27 translations written by native French-speaking students at the University of Geneva. The students submitted their exercises without revising them, leaving naturally occurring mistakes in the drafts. In roughly 15,000 words and 637 sentences, the authors identify 377 errors. Lexical errors account for 67.9% of those annotations and syntactic errors for 32.1%. The authors first mark the errors by hand, then use a related set of tags to record what each checker flagged and suggested. The comparison depends on this common linguistic annotation.
The method distinguishes sentence screening, individual error detection, and correction. At sentence level, S1 is more precise when flagging a sentence as faulty, with precision of 77.4% against 59.5% for S2. Across individual error detections, the reported overall precision figures are closer, at 74.2% for S1 and 73.4% for S2. Both fall below the authors’ proposed 75% standard for the translator in this evaluation. The overall rate of offering a correct repair, given a correctly detected error, is 77.0% for S1 and 73.9% for S2. A correct repair can appear anywhere in the list of suggestions.
The results by error type explain why those totals offer limited guidance by themselves. S2 finds adjective–noun agreement errors with recall of 90.0%, but the precision of its alerts in that category is 36.7%. Its correction rates are especially low for missing and extra spaces. S1 has much higher correction rates for those errors, while letter substitution is the weakest of its reported lexical correction categories. The authors judge S1 more favorably on the detailed results, while arguing that a translator’s choice depends on the mistakes they are most likely to make. They propose automating the counts and expanding the test material. The measures themselves can carry over to other languages, with an error typology adapted to each language.
Deep dive: Corpus-based Evaluation of a French Spelling and Grammar Checker
A corpus of French student translations shows how two spelling and grammar checkers differ in spotting errors, avoiding false alarms, and suggesting fixes. · about 35 minutes to read
The problem and its context
A checker for a working translator
A checker makes several decisions that matter to a translator. It may leave a sound passage alone, draw attention to a sentence that needs work, or point directly to a particular word. If it proposes a replacement, that replacement may settle the question or leave the translator with more checking to do. Evaluating the software requires deciding which of these actions counts as success. It also requires a view of the user’s work. A translator who can repair a mistake after seeing where it lies may place more value on reliable alerts than on a long list of suggested edits.
The authors describe translators as skilled writers who produce material with varied subjects, styles, and registers. They also expect them to make mechanical errors, including slips introduced during typing or while copying and pasting. The distinction matters because a draft can reflect careful decisions about meaning and phrasing while retaining flaws in the way those decisions were entered into the document. In the authors’ account, translation involves deliberation before and during writing. They contrast that kind of drafting with more spontaneous writing, such as email. From this view of the work comes an expectation about the kinds of mistakes that the evaluation should encounter.
Speed matters to the user in a particular sense. A checker can run quickly and still consume the translator’s time if it repeatedly asks for attention in places where the writing is sound. The paper treats the credibility of a warning as part of the checker’s usefulness. When a large share of the warnings demand an unnecessary decision, a translator may prefer to review the document manually. Missed errors create a different problem. A quiet checker gives the translator little assistance if substantial faults remain. Both concerns have to be represented in the evaluation, since a product can look good on either concern in isolation.
The authors also give suggestions a place in the evaluation. A worthwhile suggestion can make repair as easy as selecting an offered replacement. The most convenient result would be a suitable correction at the head of a list. For the translator they describe, finding a suitable correction among a small number of candidates is useful in its own right. The translator already has the language skills to judge the alternatives. The paper also recognizes that a checker could explain a mistake and give a reason for its proposed repair. Explanations are outside the measured functionality.
From a quality requirement to a measurement
The authors situate their work in efforts to standardize the evaluation of natural language processing software. Standards gave evaluators a way to justify their choices explicitly. The same general procedure could serve people evaluating software for different purposes, provided each evaluation identified its intended user and mapped that user’s needs to observable behavior. The authors saw a need for such a procedure as more spelling and grammar checkers became available and users faced decisions about which products to use.
ISO/IEC 14598-5 provides the process the authors follow. An evaluator first establishes quality requirements. Specification then turns those requirements into quantities or observations that can be measured. Design sets out how the measurements will be made. Execution produces the measurements, and the conclusion interprets and reports them. The distinction between specification and design matters here. A requirement to avoid false alarms leads to a measure of how many alerts are justified. A design still has to determine which texts will be checked, who will decide where the errors are, and what counts as a match between a human judgment and a warning.
ISO/IEC 9126-1 supplies the categories of software quality from which the authors select their requirements. Functionality is the one they use, with accuracy as their main concern within it. Accuracy becomes concrete through the ability to find errors and suggest suitable repairs. The other broad quality categories in the framework are reliability, usability, efficiency, maintainability, and portability. The authors discuss why these play a smaller part in their evaluation. They considered the products fast enough on standard PCs and noted that integration with common editing applications could make them easy to use. Installation and the ergonomics of updating dictionaries are examples of subjects that could require separate study.
The distinction between checker efficiency and translator efficiency is particularly important to the paper’s reasoning. The former concerns the resources needed to deliver the service. The latter concerns the work people accomplish with the service. Finding a justified warning or a suitable suggestion may contribute to the translator’s efficiency, but a timed revision task would be needed to measure that efficiency directly. The paper makes accuracy the observable product characteristic and uses the translator’s work to decide which aspects of accuracy matter.
What earlier evaluations supplied
The European EAGLES initiative had worked on applying software evaluation standards to language-processing tasks. In the paper’s account, EAGLES gave the intended user a central place in the design and developed guidelines for identifying the qualities to evaluate. Case studies examined spelling checkers through TEMAA and machine translation through the ISLE follow-up. TEMAA therefore gave the authors a precedent for evaluating authoring aids. Their project takes up that precedent with a different choice of test material and with explicitly stated scoring formulas.
A designed test suite can isolate a phenomenon such as past participle agreement and supply examples tailored to it. That makes it valuable for asking how a checker responds to a particular construction. A corpus of existing drafts serves a different purpose. It gives the evaluator a distribution of errors that arose during real instances of the writing activity of interest. The authors argue that a corpus of reasonable size can capture the relative frequency of those mistakes more directly and can take less time to assemble. This reasoning is the basis for using translations written as exercises, with errors left where they originally occurred.
A practical consequence follows from that decision. In a corpus, the cases most useful for diagnosing a checker’s weaknesses may be scarce. In a suite, the evaluator can supply as many targeted cases as the investigation calls for. The authors’ immediate priority was to evaluate checkers under a distribution connected to a translator’s work. The same priority motivates their approach to combining scores. The corpus determines how much evidence each category contributes to the pooled counts, and scores for individual categories remain available to expose differences that those counts can obscure.
The paper also reports that the authors could find no directly applicable published formulas from TEMAA for their purpose. Their response is to specify how to count the events of interest and how to turn the counts into scores. The intention is that an evaluator, including one without specialist evaluation experience, can see what a result means and decide whether to adopt the same rules. This concern with explicit counting puts the paper within evaluation and benchmarks and its subject within grammatical error correction and learner language.
The method, step by step
Turn the user’s priorities into a test
The procedure starts by identifying a user and the work for which a checker is being considered. In this study, the translator needs help locating mistakes and wants most warnings to justify an interruption. Helpful replacements are a further benefit. Those priorities lead to separate observations about the status of a sentence, the location of an individual warning, and the adequacy of a suggestion. Each observation is tied to the same input text, so the authors can follow a mistake from its location in the human annotation through the checker’s response.
The commercial products are examined through their visible behavior. The authors give each program the translation drafts and record what it returns. The paper’s evaluation procedure has no training stage for the checkers. The corpus serves as the material on which the programs are judged. The reference annotation stays with the evaluators, and the checkers receive the unmarked drafts. The resulting comparison therefore asks how the products behave on the same input under the same scoring definitions.
From translation drafts to comparable checker scores
The steps in order.
Collect drafts that retain their mistakes
The test material consists of 27 translations, each 1-3 pages long, produced during the academic year 2001. The students were native French speakers studying at the University of Geneva’s Translation and Interpretation School. Most of the source texts were general-interest press articles in German, English, Italian, or Spanish. The source material gives the corpus some variety while keeping the activity fixed. The writing being evaluated is the students’ production of French translations.
The collection procedure aimed to preserve errors made while writing. The students were asked to leave their texts uncorrected during drafting and to submit them without a final reread. They were also promised anonymity. Those instructions affect what the corpus represents. A submitted draft could contain a slip the student would ordinarily catch in a final pass. It still records a slip that arose in translation work, under circumstances that make such errors more visible to the evaluator.
The corpus contains approximately 15,000 words in 637 sentences. The authors chose a collection small enough for manual work and regarded it as sufficiently representative for their evaluation of this user profile. The annotations could therefore be inspected in their original sentence contexts. That matters for agreement and usage, where deciding whether a form is faulty may depend on a neighboring word or a relationship that extends beyond it.
Establish a reference and describe the error types
The authors first correct the drafts by hand and label the errors with pre-defined tags. This human pass establishes the reference against which checker warnings are judged. Its purpose is to record where a fault occurs, what kind of fault it is, and enough about a suitable correction to judge the software’s suggestions. A checker that makes an alert at a different location can be assessed independently of whether the sentence does, in fact, need revision elsewhere.
The typology divides errors into lexical and syntactic groups. In the lexical group, the authors use letter-level categories for omissions, insertions, substitutions, and transpositions. An omitted letter receives the tag TOM, an extra letter TIN, a substitution TSU, and a transposition TTR. The first two identify the presence or absence of a character. Substitution concerns the choice of character, and transposition concerns ordering. The group also includes TAC for accentuation and TTRANS for deviations associated with the relation between spoken and written forms.
Word boundaries receive their own lexical tags. TCO is a missing space between words, so material that belongs to separate words appears together. TSO represents an extra space that splits material that should be together. Treating these as distinct types lets the evaluation ask whether a warning identifies the problematic location and whether the proposed replacement restores the right boundary. A checker can succeed at one of those tasks and fail at the other. The evaluation therefore keeps these categories visible in its detection and correction results.
The syntactic group includes agreement, usage, and construction. The agreement tags identify the grammatical relationship involved. SADN concerns a determiner and noun, SAAN an adjective and noun, SASV a subject and verb, and SAPP a past participle. The usage tag ECON covers confusions between forms whose appropriateness depends on context. The authors give the examples of a past participle and an infinitive, and of là, an adverb of place, and la, used as a determiner. The construction tags distinguish an extra word, CIM, from a missing word, COM, and a problem with word order, CTRM.
A single instance can fit plausible descriptions from different branches of the typology. The authors illustrate the issue with a missing final s. The surface difference is an omitted letter. If the surrounding determiner calls for a plural noun, the same omission can be understood as a failure of agreement. The tag therefore reflects an analysis of the error, with consequences for the score that receives credit when the checker finds it. A typology organized by likely cause, by the difficulty of the error, or by the computational technique needed to fix it could group the same text differently.
The authors take inspiration for the tags from earlier work by Vandeventer and colleagues. They also mention established encoding guidelines, TEI and CES, as desirable for material intended for reuse. In this evaluation, the immediate need is for an annotation scheme that can represent the human judgment and the software’s behavior in comparable terms. The scheme makes distinctions that matter during scoring, such as whether a warning falls on an acceptable member of an agreement pair and whether a suitable suggestion appears in the returned list.
Capture what the checkers actually do
Each checker receives the draft texts without the reference markup. Neither product provided an application programming interface for the evaluation, so the authors collected the responses manually from the graphical interfaces. They mark the warnings on the texts with tags related to the human annotation and encode the suggested corrections. The annotation can also record where a suitable repair appears in the list. The authors describe adding a number beside a tag as a way of preserving that rank.
There is a difference between capturing a detail and using it in the reported score. A rank can be recorded without rewarding a checker for placing a suitable suggestion first. The correction metric used here gives credit when a suitable suggestion appears anywhere among the candidates. Recording rank preserves information that could support a stricter measure in another evaluation.
After annotating the outputs, the authors extract the marked passages into tables, count the specified events, and compute the scores. The separation between annotation and counting is part of the design. Matching a warning to an error and deciding whether a proposal is acceptable require judgments about the text. Once those judgments are encoded, the counts can in principle be produced automatically. In this comparison, the manual collection and the absence of an interface for automated access constrain what can be done efficiently.
Score the classification of whole sentences
At sentence level the task is to distinguish sentences with annotated spelling or grammar errors from sentences free of such errors. This is a screening measure. The checker can identify a sentence that deserves attention even if it locates only part of the problem. A translator can then examine that sentence more closely. Its score reflects whether the sentence was placed in the right group.
The paper treats the correct sentence as the positive class when it names the counts. TP means a true positive, a sound sentence judged sound. FP means a false positive, a faulty sentence judged sound. FN means a false negative, a sound sentence judged faulty. TN means a true negative, a faulty sentence judged faulty. This convention can be easy to miss because in ordinary conversation a checker’s warning sounds like the positive event. In the sentence formulas, the letters follow the definition based on sound sentences.
R꜀ = TP / (TP + FN)
R꜀ is recall for correct sentences. TP counts sound sentences accepted by the checker, and FN counts sound sentences it flags. The denominator is the full set of sound sentences in the human annotation. The subscript ꜀ identifies the correct-sentence class. The slash indicates division, and the parentheses group the counts in the denominator.
P꜀ = TP / (TP + FP)
P꜀ is precision for correct sentences. TP counts sound sentences accepted by the checker, and FP counts faulty sentences the checker also accepts. The denominator is everything the checker classifies as sound. This gives the translator an indication of how dependable that classification is.
Rꜰ = TN / (TN + FP)
Rꜰ is recall for faulty sentences, with ꜰ denoting that class. TN counts faulty sentences the checker flags, and FP counts faulty sentences it accepts. This asks how much of the set of sentences needing attention the checker actually brings to the translator’s notice.
Pꜰ = TN / (TN + FN)
Pꜰ is precision for faulty sentences. TN counts flagged sentences that contain an annotated error, and FN counts flagged sentences that are sound. This denominator consists of all flagged sentences. The resulting precision describes how consistently a flagged sentence rewards further inspection.
The paper introduces predictive accuracy and the f-measure as other ways to summarize the same classification. Predictive accuracy counts successful decisions across both classes. The f-measure uses the harmonic mean of recall and precision for a particular class, so a high value on one of the two quantities does little to compensate for a very low value on the other. The sentence results in the comparison are given as the separate recall and precision measures for each class.
PA = (TP + TN) / (TP + FP + TN + FN)
PA stands for predictive accuracy. TP and TN count sound and faulty sentences assigned to their correct classes. FP and FN count the two kinds of misclassification. The numerator contains the correct classifications. The denominator contains all sentence classifications.
fm(c) = 2 / (1 / R꜀ + 1 / P꜀)
fm(c) is the f-measure for correct sentences, with c identifying that class. R꜀ is recall and P꜀ is precision for those sentences. The terms with 1 as numerator are the reciprocals of recall and precision. The 2 gives the harmonic mean of the two measures.
fm(f) = 2 / (1 / Rꜰ + 1 / Pꜰ)
fm(f) is the f-measure for faulty sentences, with f identifying that class. Rꜰ and Pꜰ are recall and precision for the faulty sentences. As above, the terms in the denominator are the reciprocals of the two rates and the 2 gives their harmonic mean.
The paper prints an equality between the total of TP and FP and the total of FN and TN. Under its own definitions, these are the numbers of sentences the checker accepts and flags, respectively. They can differ. The recall and precision formulas can be read directly from the class definitions and require no such equality.
Score the detection of individual errors
The next group of measures changes the unit from a sentence to an error. Normally, a successful warning points to the same word as the reference annotation. For agreement, the authors allow either of the two elements to be flagged when the text supplies no other cue, such as an adjective or a determiner, that resolves where the problem should be attributed. For example, when a subject and verb disagree, flagging either element can direct the translator to the relevant relationship under that rule.
This matching decision makes the error-level evaluation more demanding than sentence screening. A warning in a faulty sentence can classify the sentence successfully even if the warning points to sound text. Conversely, when a checker identifies one genuine error in a sentence containing several, the sentence-level credit remains the same while the error-level scores reflect the outstanding misses. A user concerned with how much revision still needs to be done has a reason to look at the individual error counts.
For each tag, the authors count correctly detected errors, annotated errors the checker misses, and warnings that do not match real errors. Their example uses TOM, the tag for a missing letter. The same calculation can be applied to any other tag.
R(TOM) = x(TOM) / (x(TOM) + y(TOM))
R(TOM) is detection recall for letter omissions. TOM identifies the type, x(TOM) counts annotated omissions the checker finds, and y(TOM) counts those it misses. Together the two counts cover all letter omissions in the reference.
P(TOM) = x(TOM) / (x(TOM) + z(TOM))
P(TOM) is detection precision for letter omissions. x(TOM) counts true detections of that type, and z(TOM) counts false alarms attributed to that type. The denominator represents the warnings being judged for TOM. This time the question is how many of those warnings correspond to actual omissions.
The same f-measure construction can be used with an error type’s detection recall and precision. For the overall detection scores, the authors instruct the evaluator to combine counts before computing the ratios. This means a common error contributes more observations to pooled recall than a rare error. In pooled precision, the contributions depend on the warnings, including false alarms. An error category that attracts many warnings can have substantial influence on precision even if that category has comparatively few errors in the human annotation.
R(detect) = (Σₜ xₜ) / (Σₜ xₜ + Σₜ yₜ)
R(detect) is pooled detection recall, and detect identifies the detection task. The index t ranges over the error types included in the score. xₜ counts real errors of type t found by the checker, and yₜ counts those missed. Each Σₜ means to sum the quantity that follows it over those types.
P(detect) = (Σₜ xₜ) / (Σₜ xₜ + Σₜ zₜ)
P(detect) is pooled detection precision. As in the recall formula, t ranges over the included types and xₜ counts the real errors of each type that were found. zₜ counts the false alarms for type t. The sum signs pool the true detections and false alarms separately before division.
Pooling serves the corpus design. Giving every category’s rate identical influence would give an infrequent construction the same importance as a frequent typing slip. The authors want the pooled detection scores to reflect the observations in the translations. The individual scores remain available for a reader whose work places a different emphasis on a particular error type.
Score the proposed repairs
Correction is evaluated only for warnings that match genuine errors. The authors’ reasoning is that false alarms have already affected detection precision. Including them again would make the correction measure reflect the same failure as well as the quality of the repairs. Restricting the denominator to true detections gives a direct answer to a narrower question. Once the checker has pointed the translator to a real fault, what kind of help does it offer?
The possible outcomes are a suitable suggestion, an incorrect suggestion, and an absent suggestion. A warning with no offered repair can still locate an error successfully. For the correction measure, that warning belongs in the absent group. If suggestions appear and one supplies an acceptable repair, the case goes in the suitable group. An offered list with no suitable repair goes in the incorrect group. The paper specifies these percentages in words. Expressed as ratios before conversion to percentages, they take the following form.
BS = b / (b + f + a)
BS is the share of true detections for which a suitable suggestion is present. b is the count of such cases, f is the count with suggestions that offer no suitable repair, and a is the count with no suggestion at all. Their sum gives the number of correctly detected errors used to evaluate correction.
FS = f / (b + f + a)
FS is the share of true detections with an incorrect suggestion outcome. f counts the cases in which the checker offers suggestions but supplies no suitable repair. b counts the cases with a suitable repair and a counts the cases with no suggestion. The denominator is again the set of true detections.
AS = a / (b + f + a)
AS is the share of true detections with an absent suggestion. a counts the cases without a suggested repair, b counts those with a suitable repair, and f counts those with suggestions but no suitable repair. Dividing by the same total makes the three outcomes comparable.
The suitable-suggestion measure gives equal credit to a repair at the beginning or farther down the list. It expresses the user assumption that a translator can inspect a small set of candidates and recognize the right one. It does not measure how quickly the translator finds it. The published correction comparison focuses on the percentage of suitable suggestions. As a result, a low reported percentage can reflect unsuitable candidates, an absence of candidates, or a mixture of the two.
Experiments and results
The comparison and the test material
S1 and S2 are the two products in the comparison. Each is evaluated against the same human-annotated originals. The reference establishes which sentences are faulty, where individual errors occur, and whether a suggestion offers an appropriate repair. The experiment has no separate evaluated baseline such as unaided human revision or a simple checker. The pairwise comparison concerns the two commercial programs, and the authors’ precision threshold gives a separate way to interpret their results against the intended user’s requirements.
The reference annotation contains 377 errors in 637 sentences and approximately 15,000 words. The lexical group makes up 67.9% of the annotated errors. The largest lexical category shown is letter substitution, TSU, at 19.1% of the annotated errors. Letter omissions, TOM, account for 15.1% and insertions, TIN, for 13.8%. Letter transpositions account for 6.9%, accentuation for 4.8%, missing spaces for 1.3%, and extra spaces for 3.4%. The category associated with spoken-to-written forms, TTRANS, accounts for 1.1%.
Syntactic errors account for 32.1% of the reference errors. Determiner–noun agreement is the largest reported syntactic category, at 10.3% of the errors in the corpus. Usage confusion accounts for 7.7% and adjective–noun agreement for 5.3%. Past participle agreement and missing words each account for 2.4%. Subject–verb agreement accounts for 1.6%, extra words for 0.5%, and word order for 0.3%. These are shares of all annotated errors in the corpus, so the prevalence of a category tells the reader how much of the evaluation material it represents.
For the authors, the concentration of lexical errors is consistent with their view that translators think through the text as they produce it but still make typing and related slips. This explanation concerns the user profile and the observed distribution. The experiment supplies no independent comparison of planning or drafting behavior across groups. The distribution is nonetheless an important part of the test. A high performance figure in a rare category answers a useful local question while resting on a narrower set of cases than a figure for one of the common categories.
Which sentences need review?
S1 has the higher sentence result on each of the reported recall and precision measures. For sound sentences, its recall is 87.1% and precision is 94.4%. The corresponding scores for S2 are 70.2% and 91.1%. The recall figures describe the share of sound sentences that each product leaves clear. The precision figures describe the share of the sentences passed by each product that are sound according to the human annotation.
For faulty sentences, the recall figures are closer. S1 reaches 89.5% and S2 reaches 86.4% on recall for sentences containing an annotated error. Both checkers therefore mark a substantial share of the sentences that require attention. The larger separation in this part of the evaluation appears in precision. For S1, 77.4% of the sentences it marks as faulty do contain a reference error. The same precision for S2 is 59.5%. From the translator’s perspective, this is a difference in how often a flagged sentence justifies a review.
Precision for faulty sentences in the French translation corpus
A sentence flagged by S1 is more likely to contain an annotated error.
The numbers
| System or setting | precision % |
|---|---|
| S1 (this paper) | 77.4 |
| S2 | 59.5 |
The authors treat this part of the comparison as indicative. A sentence gets the same classification credit whether the checker has located its only error or has located an error while leaving others unmarked. It can also be classified as requiring attention because a checker warns about sound text in a sentence with a genuine error elsewhere. The next set of results addresses the more specific question of how well the warnings match the annotated error locations.
Finding lexical errors and syntactic errors
On lexical errors, S1 has detection recall of 80.2% and precision of 97.5%. On the same group of errors, S2 has recall of 86.2% and precision of 92.6%. S2 finds a larger share of the lexical reference errors. S1’s lexical warnings more consistently point to a genuine error. The result gives the two products a different profile on the group that accounts for the greater share of errors in the translations.
The lexical detail reveals where the group result gives an incomplete picture. On letter substitutions, S1 reaches recall of 79.2% and precision of 100.0%, while S2 reaches recall of 88.9% and precision of 98.5%. Substitution is the most frequent category in the reference annotation, so this is an example of S2’s stronger lexical recall in a frequently encountered category. For an extra space, TSO, S1 records recall of 80.0% and precision of 100.0%. S2 records recall and precision of 100.0% for that same category. These are detection scores. Whether either system supplies a repair is a separate result.
Missing spaces show a different ordering. On TCO, S1 reports 100.0% recall and 100.0% precision. S2 reports 40.0% recall and 66.7% precision. Those results also qualify the paper’s broad characterization of its lexical scores as all above 75%. The missing-space row supplies a clear exception for S2. Since TCO accounts for 1.3% of the annotated errors, a conspicuous difference in the row can coexist with a relatively strong pooled lexical score.
Syntactic results change the balance again. On this group, S1 has detection recall of 54.8% and precision of 46.7%. S2 has recall of 73.9% and precision of 48.3%. The main distinction at group level is that S2 finds more of the annotated syntactic errors. Both systems are much less precise on syntax than they are on lexical errors in this corpus. A translator who encounters a syntactic warning is therefore dealing with a different record of accuracy than the strong lexical precision figures suggest.
Detection recall by error group in the French translation corpus
S2 has higher recall in both groups, and both checkers find a larger share of lexical errors.
The numbers
| System or setting | recall % |
|---|---|
| S1 lexical errors | 80.2 |
| S2 lexical errors (this paper) | 86.2 |
| S1 syntactic errors | 54.8 |
| S2 syntactic errors | 73.9 |
The syntactic groups contain sharply different cases. For determiner–noun agreement, S1 has recall of 87.2% and precision of 81.0%. S2 reaches recall of 97.4% and precision of 92.7%. For adjective–noun agreement, S1 has recall of 65.0% and precision of 40.6%. S2 reaches recall of 90.0% and precision of 36.7%. For S2, the strong recall on adjective–noun agreement describes success in finding reference instances. Its precision says that many warnings in that category are false alarms. The results support both observations at once.
Past participle agreement gives one of the clearest differences between the products. For SAPP, S1’s detection recall and precision are both 11.1%. S2 scores 88.9% recall and 72.7% precision. In the subject–verb category, each checker reports recall of 66.7%, while precision is 33.3% for S1 and 20.0% for S2. Agreement is therefore too broad a description to predict either checker’s performance. The grammatical relation matters, and which product appears stronger also depends on whether the translator cares more about misses or false alarms.
For usage confusion, the recall of both systems is 34.5%. Precision in that category is 27.8% for S1 and 22.2% for S2. The authors later compare these weak detection results with the more favorable correction rates on the usage mistakes the programs do find. Both systems report 0.0% recall and 0.0% precision for word order in the table. This is also the category with the smallest reported share of annotated errors. The zero figures report the outcome of this evaluation and leave the extent of the products’ coverage on other word-order problems unresolved.
Across all individual errors, the paper reports overall detection precision of 74.2% for S1 and 73.4% for S2. The authors set 75% as the level below which they consider a checker insufficiently accurate for the user they describe. On that criterion the two overall results are close to each other, and both fall below the proposed level. The lexical and syntactic precision scores explain why the pooled value gives limited practical guidance. A translator could get highly dependable lexical warnings from a checker whose syntactic warnings require appreciably more judgment.
Offering a usable correction
The overall suitable-suggestion rate is 77.0% for S1 and 73.9% for S2. In each case the denominator is the errors correctly detected by the product under the paper’s scoring definition. The table includes a repair wherever it occurs in a list of candidates. These totals therefore describe the availability of a suitable proposal after a true warning. The share of all reference errors for which the checker supplies a suitable repair would additionally depend on which errors were detected.
The reported category scores show the difference most clearly for word boundaries. When S1 correctly recognizes a missing space, it offers a suitable repair in 80.0% of those cases. For an extra space, its suitable-suggestion rate is 83.3%. S2 reports 0.0% for missing spaces and 15.4% for extra spaces. Extra spaces are especially instructive because S2 performs strongly at detecting them in this corpus. Finding the location serves the translator’s primary need, while recovering the intended joining of the text remains a separate capability.
S1’s lowest reported rate among its lexical correction categories is the 51.7% for letter substitutions. S2 scores 53.0% on that category. For letter omissions, the suitable-suggestion rates are 72.7% for S1 and 74.0% for S2. In the letter insertion category, they are 75.6% and 75.5%, respectively. S1 has higher rates on transpositions, at 91.3% against 72.7%, and on accentuation, at 100.0% against 94.4%. A judgment about the products’ relative strengths can therefore change substantially between spelling mistakes that call for different kinds of edits.
Several agreement categories have high reported suitable-suggestion rates once the checker points to the right place. S2 reaches 100.0% on determiner–noun agreement, adjective–noun agreement, and subject–verb agreement. S1 reaches 100.0% for subject–verb agreement and past participle agreement. For past participle agreement, S2’s rate is 85.7%. This last comparison calls for reading the detection and correction columns together. S1’s suitable-suggestion rate describes the past participle errors it found, whereas the detection results show that S2 found a substantially larger share of the annotated cases.
Usage confusions show a similar dependence on the starting set. On the ECON mistakes each product identifies correctly, the rate of a suitable suggestion is 85.7% for S1 and 91.7% for S2. Those are favorable outcomes for the detected cases, alongside weak recall for the category. The authors point out that usage confusions can involve meaning. The experiment establishes the contrast between detection and repair among the observed cases. It cannot establish that the checkers resolved all the contextual distinctions involved across the original set of usage errors.
The correction table gives lexical group averages of 72.6% for S1 and 65.6% for S2, and syntactic group averages of 87.0% for S1 and 69.2% for S2. The reported total for S2, 73.9%, sits above both of its reported group averages. If the group averages and the total are all pooled suitable-suggestion rates based on the same detected cases, the total would have to lie between the group rates. The paper gives insufficient detail to reconcile the printed entries. They are best read as separately reported figures, with the overall and group comparison subject to this reporting ambiguity.
What the ablations show
The paper contains no formal ablation of checker components and instead analyzes the same test runs by error type, level of measurement, and stage of checking. Both programs are observed through their inputs and outputs. The comparisons can locate a difference in behavior, such as an excess of false alarms in a category or a low rate of repair after successful detection. They leave the internal cause of the difference open.
Changing the unit changes the practical question
Comparing sentence-level and error-level precision is one way to see what each unit contributes. At sentence level, the separation between the two checkers is conspicuous when a warning is interpreted as a signal to scrutinize the sentence. At the level of pooled individual error detections, the overall precision values are close. These observations can coexist because a sentence is counted once for screening, while each warning receives its own judgment in error detection. Grouping warnings inside sentences can consequently change the impression of how frequently a translator’s attention is well directed.
This also explains why the sentence results and the results for particular syntactic categories need to be kept in view together. S1 is the more precise guide to which sentences need review on this corpus. A translator whose main concern is missing past participle agreement errors would find a specific advantage for S2 in the individual detection scores. The scope of the comparison narrows from document triage to one kind of fault. The paper can support a preference for S1 in its overall reading while also identifying a concrete task on which S2 performs better.
Separating recall from the burden of warnings
S2’s adjective–noun agreement scores illustrate the value of inspecting recall and precision separately. When the denominator consists of real adjective–noun errors, its high recall shows that it catches a large share. When the denominator consists of the checker’s warnings for that category, its low precision shows how often the user would have to dismiss an alert. A broad search for those errors can be desirable in a workflow where a missed instance is especially costly. The authors’ translator profile gives false alarms considerable weight, so the same result also describes a serious drawback.
The comparison with determiner–noun agreement shows why the adjective–noun result should stay tied to its category. S2 scores well on both detection measures for determiner–noun agreement in the corpus. High recall is therefore compatible with a much more dependable warning record in another agreement relation. The evaluation identifies the relation on which the observed tradeoff arises. Establishing whether the products implement these relations differently would require evidence about the checkers beyond the behavior measured here.
Following a warning through to a repair
The word-boundary categories make the separation between detection and correction concrete. S2’s detection of extra spaces is strong on the examples in the corpus, but it seldom supplies a suitable repair afterward. On missing spaces its detection scores are already weaker, and the correction table shows no suitable proposals for the cases it does detect. The two categories reveal different circumstances in which a user will be left to finish the repair. One example points to a warning that is frequently useful as a locator. The other shows difficulty in locating the error reliably as well as in repairing it.
Suitable suggestions after detecting word-boundary errors in the French translation corpus
S1 more often supplies a suitable repair for both missing and extra spaces.
The numbers
| System or setting | suitable suggestions % |
|---|---|
| S1 missing space (this paper) | 80.0 |
| S2 missing space | 0.0 |
| S1 extra space | 83.3 |
| S2 extra space | 15.4 |
The conditional correction scores also help interpret the apparent reversal for past participle agreement. S1’s highest possible reported rate on suitable suggestions for that category applies to the errors S1 detects. S2’s lower suitable-suggestion rate applies after a much stronger detection result. Their correction denominators can therefore contain different error instances. The comparison establishes how frequently each checker follows its own successful alerts with a useful proposal. It leaves open how frequently either checker would offer a suitable repair if both were first given the same error locations.
The analysis of usage confusions leads to a related observation. Both products do poorly at finding such errors, yet both frequently offer suitable repairs on the cases they correctly flag. This pattern can arise when the cases the checker recognizes are also cases for which its suggestions work. The evaluation does not identify the difficulty of the missed cases relative to the detected ones. Keeping the detected subset in mind prevents a strong reported correction percentage from being read as broad coverage of a difficult error category.
Taken together, these comparisons support the authors’ decision to retain the different views of performance. Pooled scores are useful for describing the warning behavior of each checker across the corpus. Category results give the translator information that could change a choice when certain mistakes are especially frequent or troublesome in their own work. The paper offers this as a basis for judgment, leaving the importance of those mistakes to the person using the software.
Limitations
Limits the authors identify
The authors describe the corpus as small and deliberately tied to a particular group. They accept sparse categories as a consequence of sampling writing for a user profile. The resulting material is well suited to showing what kinds of mistakes occurred in these translations, while giving limited coverage of such errors as extra words, word order, and subject–verb agreement. The proposed expansion would make a wider collection manageable. The authors also suggest complementing the corpus with purpose-built tests to examine phenomena that the initial results bring to attention.
Manual execution places another limit on the evaluation. Recording what appeared in a graphical interface, checking the proposed repair, and transferring the resulting annotations into countable form take time. The paper proposes automating the counting stage to improve consistency and accuracy and make a larger corpus feasible. The authors judge annotation harder to automate, especially because programs differ in how they present faults and corrections. They see a need for flexibility in how an evaluator applies the tags to those outputs.
The metric selection is a further limit of scope. The authors focus on functional accuracy as they define it for a translator. Their evaluation leaves explanations, installation, dictionary maintenance, and other aspects of the product experience outside its measurements. Even within correction, the published score answers whether the right suggestion is offered somewhere in the list. It leaves the advantage of putting that suggestion first unmeasured. The paper also recognizes the difference between software that responds quickly and software that helps a person finish a task more quickly. The latter calls for quality-in-use measures.
The language scope is explicit. The case study concerns French checkers and translations into French. The authors argue that the score definitions can be reused across languages. They make the transfer of the test design conditional on obtaining a suitable corpus and revising the typology. Accentuation and the agreement relations in the evaluation reflect decisions about the French material. The counting logic is transferable because it operates on reference errors, warnings, and suggestions once an evaluator has established the local definitions of those events.
What the setup leaves open
The paper’s intended user is a professional translator, while the observed writers are students completing training exercises. There are reasons for the authors’ choice. The students were translating into their native language, the exercise material had varied sources, and the collection instructions preserved mistakes made during drafting. The evaluation still offers no direct comparison with translations produced by practicing professionals. It also observes texts whose writers were asked to forego their ordinary review. The distribution of errors in that material cannot establish the distribution facing a translator after a normal revision pass or in specialist texts.
The authors’ proposed 75% precision threshold expresses a judgment about when a product creates too much checking for their user. The experiment collects checker output and human annotations of the texts. It reports no translator revision times or reactions at different false-alarm levels. The precision results can therefore be compared against the chosen threshold, but the study leaves open where actual users would decide that handling the warnings takes longer than reviewing the text themselves.
There is also uncertainty in the reference decisions. The authors explain the difficulty of assigning an error to a single type, and their matching rule accommodates the possibility that a checker marks either participant in an agreement error. Those choices give an evaluator a principled way to score cases, but the paper supplies no estimate of how consistently different annotators would make the same decisions. The rules also matter when a visible difference between the text and a proposal could be analyzed in more than one way. For example, a missing final letter could affect the results for either a spelling or an agreement category, depending on how the reference is built.
Because the products are anonymous, the published results are chiefly a comparison of the behavior recorded for S1 and S2. A reader can apply the methodology independently using the specified metrics and a similar set of judgments. Repeating the comparison with these same product configurations would require information beyond the labels reported. The distinction is important because the paper aims at a reproducible evaluation specification. Transparency about formulas and criteria supports that aim even when the identities and complete experimental conditions of the products are unavailable.
The rare categories deserve particular caution. A perfect score for an infrequent error can characterize the observed cases completely while saying little about more varied examples of the same phenomenon. A zero in a category can also have more than one practical interpretation. For example, if a group has no successful detections, the definition of suitable-suggestion rate gives no set of detected errors on which to judge correction. The printed tables give zeros in some of these categories without explaining a general convention for empty denominators. They cannot establish how the checker would repair a broader set of such errors if detection first succeeded.
Finally, the paper reports point estimates for the two products on one corpus. It provides no uncertainty intervals for assessing how stable small differences would be on another sample, and the printed correction aggregates do not give a fully traceable account of how the total relates to the group averages. The figures are most informative when attached to their specific denominators and read with the size and makeup of the corpus in mind. The comparison documents differences in observed behavior. It leaves open their stability across other translation material, products, and revision conditions.
What came after
The subsequent adoption of the method is undocumented. The paper closes with proposed extensions that distinguish the parts of an evaluation that can be scaled from the parts that still require decisions about language and user needs.
The most direct extension would automate tallying after warnings and repairs have been annotated. Counting is governed by explicit definitions, so once the annotations are consistent, a larger corpus need not imply the same growth in manual tallying. Collecting outputs and judging their relation to the reference would remain separate tasks. The authors anticipate that differences between checker interfaces and their representations of corrections would make that part harder to standardize.
A larger corpus and a targeted suite would also serve distinct purposes in a follow-up. The corpus could broaden the evidence about the distribution of mistakes in translation drafts. The suite could probe observations that rest on sparse cases, such as the results for construction errors, or examine a specific agreement relation in more varied contexts. The authors’ proposal leaves a role for both sorts of evidence because they answer different questions about frequency and coverage.
For another language, the proposed extension begins with local examples of the writing activity and an error typology suited to them. The evaluator would define what counts as a reference error in that language and decide what counts as a matching warning or a usable repair. The same sentence, detection, and correction formulas could then be applied to those judgments. This is the scope of the paper’s cross-language claim. The method supplies a common way of counting outcomes, while the corpus and the classification of errors determine what those outcomes represent.
Cite
Cite as Marianne Starlander and Andrei Popescu-Belis. 2002. Corpus-based Evaluation of a French Spelling and Grammar Checker. Proceedings of the Third International Conference on Language Resources and Evaluation (LREC'02).
@inproceedings{starlander2002corpus,
title = {{Corpus-based Evaluation of a French Spelling and Grammar Checker}},
author = {Marianne Starlander and Andrei Popescu-Belis},
booktitle = {Proceedings of the Third International Conference on Language Resources and Evaluation (LREC'02)},
year = {2002},
doi = {10.63317/3k576mxaty7h},
url = {https://doi.org/10.63317/3k576mxaty7h}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/starlander-2002-corpus-based-evaluation-french-spelling/