Skip to content

feat(armenian): read with v8, v7 fine-tuned on italic books - #115

Merged
stephen-masters merged 1 commit into
mainfrom
feat/armenian-v8
Nov 18, 2026
Merged

stephen-masters merged 1 commit into
mainfrom
feat/armenian-v8

Conversation

@stephen-masters

Copy link
Copy Markdown
Contributor

Moves easyocr-hy onto v8 of the Armenian recogniser, released today as tetrak-easyocr-armenian 0.13.0.

What changes for a reader of Armenian

v8 is v7 fine-tuned on crops from three books set in italics. Over the seventeen evaluation registers, through this pipeline:

v7 v8
Mean word recall 0.895 0.906
Mean character similarity 0.956 0.960
Khatisian, memoirs 0.762 0.838
Abovyan, vol. 1 0.835 0.856
Registers led on word recall 11 12, level on one

Fifteen registers gain. The Armenian Soviet Encyclopedia slips by 0.008 and Tumanyan by 0.002. v8 also reads fewer of the Russian words on the Tumanyan pages, 53 of 81 against v7's 61; the engines page says so.

What changed here

  • [armenian] floor raised to tetrak-easyocr-armenian>=0.13, with uv.lock relocked.
  • evaluation/ocr/registers.csv regenerated from v8's readings; the row is now labelled tetrak-hy v8 (ours). The other engines' columns are unchanged.
  • site/content/ocr/reference/engines.md: the commentary under the table rewritten for v8.

The two articles that embed the register table render it live, so they now show v8's row, as they did when v7 replaced v6.

Checks

  • pytest: 526 passed (the macOS Vision tests deselected, as they need ocrmac). ruff check and uv lock --check clean.
  • Site: npm run lint, npm run build and all 37 Playwright tests pass.
  • The released library, installed from PyPI, was read against the cached spans on three pages (Khatisian, Tumanyan, Abovyan): identical span for span.
  • Read without the paddle extra, as The paddle extra installs a second OpenCV that changes what EasyOCR reads #111 requires.

🤖 Generated with Claude Code

Brief 023 Stage 4. The [armenian] extra's floor moves to
tetrak-easyocr-armenian 0.13, which ships the v8 weights.

- registers.csv is regenerated from v8's readings of the seventeen
  registers. Mean word recall goes 0.895 to 0.906; Khatisian's
  memoirs 0.762 to 0.838.
- The engines page says what v8 leads and what it does not: twelve
  registers, level on one, behind Calfa's hye-paddle on four.
- It also records the cost: 53 of the 81 Russian words on the
  Tumanyan pages are read where v7 read 61.

The released library was checked against the cached readings on
three pages: identical span for span.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Deploying tetrak with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0926917
Status: ✅  Deploy successful!
Preview URL: https://8d04e308.tetrak.pages.dev
Branch Preview URL: https://feat-armenian-v8.tetrak.pages.dev

View logs

@stephen-masters
stephen-masters merged commit fe5405f into main Nov 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant