diff --git a/evaluation/ocr/registers.csv b/evaluation/ocr/registers.csv index 0855e81..847881d 100644 --- a/evaluation/ocr/registers.csv +++ b/evaluation/ocr/registers.csv @@ -1,19 +1,19 @@ -register,label,tetrak-hy v7 (ours)_chr,tetrak-hy v7 (ours)_wrd,hye-calfa-n_chr,hye-calfa-n_wrd,marker_chr,marker_wrd,tesseract-hye_chr,tesseract-hye_wrd -totovents-works,"Totovents, Works",0.9871,0.9649,0.9844,0.9413,0.8143,0.8067,0.9383,0.7394 -khrimian-works,"Khrimian, Works",0.9813,0.9576,0.9827,0.9383,0.9161,0.8884,0.9450,0.7983 -medical-encyclopedia,Medical encyclopedia,0.9598,0.9513,0.9753,0.8290,0.8882,0.9141,0.9730,0.8768 -otyan-works,"Otyan, Works",0.9854,0.9504,0.9782,0.9291,0.9200,0.8372,0.9229,0.7270 -toranian-erkirner-ew-marder,"Toranian, Erkirner ew marder",0.9699,0.9386,0.9735,0.8380,0.9715,0.8858,0.9829,0.9014 -baronian-vol10,"Baronian, Works",0.9857,0.9373,0.9817,0.9106,0.8638,0.7869,0.9425,0.7444 -tumanyan-elzh5,Tumanyan (academic edition),0.9749,0.9366,0.9503,0.9040,0.6583,0.7082,0.8887,0.7129 -aram-manukyan-documents,"Aram Manukyan, Documents",0.9576,0.9340,0.9598,0.9240,0.9421,0.9121,0.9335,0.8006 -haykakan-tpagrutyun,Armenian printing (Teodik),0.9806,0.9269,0.9706,0.8937,0.7321,0.6753,0.8990,0.6368 -ase-vol2,Encyclopedia (ASE vol. 2),0.9713,0.9109,0.9600,0.8426,0.5262,0.8358,0.9456,0.7728 -kajaznuni-azg-ew-hayrenik,"Kajaznuni, Azg ew hayrenik",0.9743,0.9005,0.9569,0.8517,0.6658,0.5721,0.8773,0.6035 -faustus-1968,Faustus of Byzantium (1968),0.9649,0.8979,0.9762,0.9138,0.9188,0.8602,0.9286,0.7157 -baronian-azgayin-jojer,"Baronian, Azgayin jojer",0.9770,0.8880,0.9675,0.8528,0.7403,0.6847,0.8761,0.6112 -aghbalyan-criticism,"Aghbalyan, Criticism",0.8963,0.8239,0.8630,0.8010,0.7711,0.6996,0.8004,0.5864 -abovyan-vol1,"Abovyan, Works vol. 1",0.8999,0.7939,0.9199,0.8712,0.9028,0.8064,0.8320,0.6069 -khatisian-memoirs,"Khatisian, Memoirs",0.9438,0.7616,0.9002,0.7476,0.7139,0.6167,0.7574,0.3874 -dictionary-hy-en,Dictionary (hy–en),0.8234,0.6874,0.4008,0.1092,0.6628,0.6781,0.3386,0.0462 -mean,Mean over registers,0.9549,0.8919,0.9236,0.8293,0.8005,0.7746,0.8695,0.6628 +register,label,tetrak-hy v7 (ours)_chr,tetrak-hy v7 (ours)_wrd,hye-calfa-n_chr,hye-calfa-n_wrd,hye-paddle_chr,hye-paddle_wrd,marker_chr,marker_wrd,tesseract-hye_chr,tesseract-hye_wrd +totovents-works,"Totovents, Works",0.9871,0.9649,0.9844,0.9413,0.9849,0.9405,0.8143,0.8067,0.9383,0.7394 +khrimian-works,"Khrimian, Works",0.9813,0.9576,0.9827,0.9383,0.9849,0.9431,0.9161,0.8884,0.9450,0.7983 +medical-encyclopedia,Medical encyclopedia,0.9598,0.9513,0.9753,0.8290,0.3025,0.9331,0.8882,0.9141,0.9730,0.8768 +otyan-works,"Otyan, Works",0.9854,0.9504,0.9782,0.9291,0.9812,0.9343,0.9200,0.8372,0.9229,0.7270 +toranian-erkirner-ew-marder,"Toranian, Erkirner ew marder",0.9699,0.9386,0.9735,0.8380,0.9839,0.9095,0.9715,0.8858,0.9829,0.9014 +baronian-vol10,"Baronian, Works",0.9857,0.9373,0.9817,0.9106,0.9834,0.9185,0.8638,0.7869,0.9425,0.7444 +tumanyan-elzh5,Tumanyan (academic edition),0.9749,0.9366,0.9503,0.9040,0.9697,0.9130,0.6583,0.7082,0.8887,0.7129 +aram-manukyan-documents,"Aram Manukyan, Documents",0.9576,0.9340,0.9598,0.9240,0.9629,0.9407,0.9421,0.9121,0.9335,0.8006 +haykakan-tpagrutyun,Armenian printing (Teodik),0.9806,0.9269,0.9706,0.8937,0.9763,0.8991,0.7321,0.6753,0.8990,0.6368 +ase-vol2,Encyclopedia (ASE vol. 2),0.9713,0.9109,0.9600,0.8426,0.3342,0.8648,0.5262,0.8358,0.9456,0.7728 +kajaznuni-azg-ew-hayrenik,"Kajaznuni, Azg ew hayrenik",0.9743,0.9005,0.9569,0.8517,0.9763,0.8857,0.6658,0.5721,0.8773,0.6035 +faustus-1968,Faustus of Byzantium (1968),0.9649,0.8979,0.9762,0.9138,0.9271,0.9222,0.9188,0.8602,0.9286,0.7157 +baronian-azgayin-jojer,"Baronian, Azgayin jojer",0.9770,0.8880,0.9675,0.8528,0.9806,0.8936,0.7403,0.6847,0.8761,0.6112 +aghbalyan-criticism,"Aghbalyan, Criticism",0.8963,0.8239,0.8630,0.8010,0.8962,0.8456,0.7711,0.6996,0.8004,0.5864 +abovyan-vol1,"Abovyan, Works vol. 1",0.8999,0.7939,0.9199,0.8712,0.9456,0.9096,0.9028,0.8064,0.8320,0.6069 +khatisian-memoirs,"Khatisian, Memoirs",0.9438,0.7616,0.9002,0.7476,0.9782,0.8564,0.7139,0.6167,0.7574,0.3874 +dictionary-hy-en,Dictionary (hy–en),0.8234,0.6874,0.4008,0.1092,0.4348,0.4574,0.6628,0.6781,0.3386,0.0462 +mean,Mean over registers,0.9549,0.8919,0.9236,0.8293,0.8590,0.8804,0.8005,0.7746,0.8695,0.6628 diff --git a/site/content/ocr/reference/engines.md b/site/content/ocr/reference/engines.md index 56ca14e..e9b524a 100644 --- a/site/content/ocr/reference/engines.md +++ b/site/content/ocr/reference/engines.md @@ -109,24 +109,32 @@ The row labelled `tetrak-hy v7 (ours)` is `easyocr-hy` as it ships: the recogniser, its two word lists, the script fold and the layout below. The table names the recogniser rather than the backend, because the harness that emits it scores models. Stock EasyOCR is absent because it was only -ever run on the encyclopedia pages (the 0.03 above), and Calfa's -`hye-paddle`, the strongest rival on the reformed-orthography registers, -has not yet been run on the classical ones; the table admits only engines -measured on every register — the rule that keeps a column's mean over the -same pages as the column beside it. - -Since v7, `easyocr-hy` leads both means, and leads word recall on fifteen -of the seventeen registers. It does not lead everywhere, and the -exceptions have names: - -- **Abovyan's collected works:** the one classical register where Calfa's - Tesseract model still reads more words. +ever run on the encyclopedia pages (the 0.03 above); the table admits only +engines measured on every register — the rule that keeps a column's mean +over the same pages as the column beside it. + +Since v7, `easyocr-hy` leads both means, and leads word recall on eleven +of the seventeen registers. The other six go to Calfa's `hye-paddle`, and +five of them are classical: + +- **Abovyan's collected works and Khatisian's memoirs:** the two classical + registers v7 reads worst, and `hye-paddle` is well ahead on both, by + 0.12 and 0.10 of word recall. These are the registers to study before + the next run. +- **Aghbalyan's criticism, Aram Manukyan's documents and Baronian's + *Azgayin jojer*:** `hye-paddle` ahead by between 0.006 and 0.02, within + the run-to-run noise on the last two. - **Faustus of Byzantium:** the index and notes are set in a bold italic whose digits the recogniser confuses, and `hye-paddle` reads it better. - **The medical encyclopedia, on character similarity:** EasyOCR's detector draws no box around the en dash its index prints between each term and its page number, so no recogniser behind it can read one. +`hye-paddle`'s character-similarity mean is a long way below its word +recall because the metric is order-sensitive: on the dictionary and the +encyclopedias its stock detector reads multi-column pages partly straight +across, and the characters are right in the wrong order. + v7 also reads the Russian that Soviet editions quote in their apparatus: 61 of the 81 Russian words on the Tumanyan pages, where v6, with no Cyrillic in its charset, read none. On five of the eight registers v6 was