Commit ac7fdd7
committed
ogar-vocab: declare the tesseract-rs OCR capability surface as the authoritative action table
tesseract-rs's pure-Rust OCR transcode has no source AST to lift ActionDefs
from (unlike every other producer in this workspace), so its eight
capabilities (recognize_line / recognize_page / extract_text_layer /
extract_page_image / render_text / render_tsv / render_hocr /
render_searchable_pdf) are declared directly in a new ocr_actions module —
real ActionDef values (identity/predicate/object_class/kausal) targeting
the already-minted 0x08XX class_ids concepts (textline/page_image/
ocr_renderer), plus a dependency-free OcrActionParam mirror of
ogar-from-schema's arago-parity ActionParam (kept local to avoid a cyclic
dep, since ogar-from-schema already depends on ogar-vocab).
No codebook/class_ids entries were added or changed — this table
consumes the existing 0x0805/0x0808/0x0809 mints from PR #172.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p11 parent 68d85f0 commit ac7fdd7
2 files changed
Lines changed: 427 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
0 commit comments