Paste a line of Greek as a handwriting-recognition model, or a reader, transcribed it from a papyrus: letters in a row, without word breaks. The page splits it into words and proposes the most plausible readings. It points out letters that look misread and letters it cannot explain.
A plausibility check from word counts in public Greek corpora; not an edition; no scholar has reviewed it. It knows which word forms occur and which follow each other, nothing more. It runs in your browser, and what you paste is not sent anywhere.
Loading the word counts (6.6 MB, once)…
Tested on 480 lines of 20 to 40 letters from 12 works that were left out of the counts, with HTR-like errors injected at random. The error rates are assumptions, not measured HTR rates. "Line right" means the whole line's words came out exactly. These are the numbers for the trimmed word counts this page uses, with the spelling rules; the full counts score at most 0.021 better on any of them. Without the spelling rules the three rows are 0.812, 0.446 and 0.185 for the first reading.
| errors injected | word breaks right (F1) | line right, first reading | line right, in first five |
|---|---|---|---|
| none | 0.977 | 0.810 | 0.877 |
| light (4.8% of letters) | 0.930 | 0.448 | 0.521 |
| heavy (12.4% of letters) | 0.868 | 0.192 | 0.273 |
On the noisy lines whose errors are all of the kinds it can undo, the first reading is right for 0.725 (light) and 0.589 (heavy) of lines, and the first five contain it for 0.841 and 0.828.
The spellings, tested on papyri they were not learned from (one document in ten, set aside by a seeded rule):
| test | without the spelling rules | with them |
|---|---|---|
| a misspelled word on its own: the first reading is the editor's form (4,183 words) | 0.230 | 0.558 |
| five words as written, run together: word breaks right (F1, 600 stretches) | 0.805 | 0.833 |
| same: misspelled words read as the editor's form (703 words) | 0.102 | 0.243 |
Of the scribal slips the editors corrected that are unattested as written, 12% would be taken for a spelling. On Philodemus (Herculaneum papyri), the spellings and line-end repairs doubled the slips among the 30 strongest flags, from 5 to 10, in a reading by a non-specialist (details).
Word and word-pair counts: the Greek texts of First1KGreek (Open Greek and Latin project), CC BY-SA 4.0, the corpus used across this project, including its Galen texts. 21.6 million words, after 19 works were held out for testing. The page uses 313,788 forms seen at least twice and 1.78 million word pairs seen at least twice; that table (model.bin) is derived from those texts and shared under CC BY-SA 4.0. The scorer is plain counting and five hand-set constants; nothing is trained. Code: MIT. Language model: interpolated absolute discounting (Ney, Essen and Kneser 1994).
Spellings: the regularizations recorded by the editors of the Duke Databank of Documentary Papyri and the Digital Corpus of Literary Papyri (papyri.info, idp.data), CC BY 3.0. The 253 rules and their rates (spelling_rules.json) are derived from that data and shared under CC BY 3.0, with credit to papyri.info and its editors.
The engine is about 220 KB of WebAssembly, with the spelling rules built in, and the counts are 6.6 MB (about 3.5 MB as sent). After the first visit it works offline.