Repository navigation
feat(armenian): fold each region with the page as context - #104
Merged
Merged
Conversation
Closes #103. tetrak-easyocr-armenian 0.9 taught fold_script to write a token with no Armenian letter in the one script, Latin or Cyrillic, it belongs to, and to decide a token made only of shared glyphs (роог for poor) by the text around it. The backend folds per detected region, so a one-word region had nothing to decide it; every region now goes in with the whole page's text as context. The [armenian] extra pins 0.11, the release with the three-way script decision, so no guard for an older library is needed. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying tetrak with
|
| Latest commit: |
c787514
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c5b282e5.tetrak.pages.dev |
| Branch Preview URL: | https://feat-fold-page-context.tetrak.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #103 (brief 014, Stage 3).
tetrak-easyocr-armenian0.9 taughtfold_scriptto write a token with no Armenian letter in the one script, Latin or Cyrillic, it belongs to, and to decide a token made only of glyphs the two share (роогforpoor) by the text around it. The Armenian backend folds per detected region in_spans(), so a one-word region had nothing to decide it. Every region is now folded with the whole page's text ascontext=.The
[armenian]extra pinstetrak-easyocr-armenian>=0.11, the release with the three-way script decision and theեւ/ևrule (library PRs #27 and #30), anduv.lockmoves with it. With the floor raised, a guard for an older library without the argument would be dead code, so there is none.The stub in the tests now takes
contextand records it; a new test checks every region receives the page. 15 backend tests and the full suite pass; ruff anduv lock --checkclean. Afeat, so a minor release.🤖 Generated with Claude Code