Imperatore commited on
Commit
576d697
·
verified ·
1 Parent(s): e152582

Card: what the model finds and the known issues the app-only guards cover; no fixed-in-version history.

Browse files
Files changed (1) hide show
  1. README.md +7 -8
README.md CHANGED
@@ -92,14 +92,14 @@ start of a sentence.
92
  | False alarms on 4 000 everyday Tatoeba sentences (held out from training) | 12 changed (0.30%); 10 of them correct an error in Tatoeba's own text |
93
  | Stability: the gold re-run with one extra token in front of each sentence | 4 sentences change result (the 4 capitalisation rows change by construction and are not counted) |
94
 
95
- The scores are the Proofbird app's: the model with the apply-side guards in `gector-guards.json` (below) and the app's own
96
- additions (see *What Proofbird adds*; 4 of the 476 fixes and one avoided false alarm come from them). The model was trained for
97
  precision: a missed error costs less than a wrong correction. The Tatoeba changes include real fixes of Tatoeba's text (`le vie` →
98
  `la vie`, `Il est allé a Tokyo` → `à`, `l'hotel` → `l'hôtel`) and two false alarms (`Sont-ce là …` → `Est-ce`, `une martre` →
99
- `un`). Version 1.1.0 (guards only, the weights did not change) holds the object-pronoun false alarms: `le` / `la` right
100
- after a subject pronoun or `ne` (`Nous ne la comprîmes pas` → `le`), or before an infinitive (`je voudrais le voir` →
101
- `la`), refers to someone the sentence may not show, so its gender is never changed. Version 1.2.0 (guards only) keeps the
102
- idiom `un jour ou l'autre` (never `où`) and `est` after a closing quote (`« Aix-la-Chapelle » est Aachen`, never `et`).
103
  Known miss: an irregular feminine in a later clause (`la voiture était très vieux`). Without the guards
104
  the raw model can propose a non-word for an irregular adjective (`vieux` → `vieuse`); the Proofbird app holds every
105
  non-word back. It has not been measured on learner essays.
@@ -197,8 +197,7 @@ Two inputs, both whole numbers (int64), shape `[1, 7]`: one sentence of 7 tokens
197
  - **Spelling, checked separately** by the operating system's spell checker; the guards use it so a grammar edit is not made on a word that is misspelled.
198
  - **A card for each change** that names the error ("Subject–verb agreement") and, on request, explains it.
199
  - **A French rule for `ou` → `où`** where only "where" fits: after a negated knowing verb, an asking verb, `dis-moi` or `aucune idée` with a clause after it (`je ne sais pas ou il habite` → `où`), and a sentence-final `ou.` with no comma before it. `ou` and `où` differ only by meaning, so the model leaves them; the rule takes the clear cases and leaves `oui ou non`, `un jour ou l'autre` and `Tu viens ou ?` alone.
200
- - **A word before its own hyphenated compound is not a doubled word** (`Quelqu'un peut peut-être m'éclairer` keeps both `peut`), for every language.
201
- - `quickstart.py` and the in-browser demo include the `où` rule (plain text matching, no model); they run without the guards and the compound check.
202
 
203
  ## Licence and attribution
204
 
 
92
  | False alarms on 4 000 everyday Tatoeba sentences (held out from training) | 12 changed (0.30%); 10 of them correct an error in Tatoeba's own text |
93
  | Stability: the gold re-run with one extra token in front of each sentence | 4 sentences change result (the 4 capitalisation rows change by construction and are not counted) |
94
 
95
+ The scores are the Proofbird app's: the model with the apply-side guards in `gector-guards.json` (below) and the `où`
96
+ rule (see *What Proofbird adds*; 4 of the 476 fixes come from it). The model was trained for
97
  precision: a missed error costs less than a wrong correction. The Tatoeba changes include real fixes of Tatoeba's text (`le vie` →
98
  `la vie`, `Il est allé a Tokyo` → `à`, `l'hotel` → `l'hôtel`) and two false alarms (`Sont-ce là …` → `Est-ce`, `une martre` →
99
+ `un`). The guards, which run in the Proofbird app, keep the object pronoun: `le` / `la` right after a subject pronoun or `ne` (`Nous ne la comprîmes pas`),
100
+ or before an infinitive (`je voudrais le voir`), refers to someone the sentence may not show, so its gender is never
101
+ changed. They also keep the idiom `un jour ou l'autre` (never `où`) and `est` after a closing quote
102
+ (`« Aix-la-Chapelle » est Aachen`, never `et`).
103
  Known miss: an irregular feminine in a later clause (`la voiture était très vieux`). Without the guards
104
  the raw model can propose a non-word for an irregular adjective (`vieux` → `vieuse`); the Proofbird app holds every
105
  non-word back. It has not been measured on learner essays.
 
197
  - **Spelling, checked separately** by the operating system's spell checker; the guards use it so a grammar edit is not made on a word that is misspelled.
198
  - **A card for each change** that names the error ("Subject–verb agreement") and, on request, explains it.
199
  - **A French rule for `ou` → `où`** where only "where" fits: after a negated knowing verb, an asking verb, `dis-moi` or `aucune idée` with a clause after it (`je ne sais pas ou il habite` → `où`), and a sentence-final `ou.` with no comma before it. `ou` and `où` differ only by meaning, so the model leaves them; the rule takes the clear cases and leaves `oui ou non`, `un jour ou l'autre` and `Tu viens ou ?` alone.
200
+ - `quickstart.py` and the in-browser demo include the `où` rule (plain text matching, no model); they run without the guards.
 
201
 
202
  ## Licence and attribution
203