✎ Edit this page

Preparing a digital edition from a template repo

Owner: Sitar. Written from Sitar’s description in the BuddhistAI team call of 2026-11-17; Sitar has not yet reviewed this page.

Who it is for

Teams that turn many Tibetan texts into structured digital editions and want every new text project to start with the same skills, scripts, formats and rules.

How the project is set up

Each text gets its own git repo made from a shared template with a standard layout:

Skills are made generic before they go into the template, so every new repo inherits them. Fixes for one text’s edge cases (for example, block IDs that follow an Abhidharma text’s own numbering) stay in that text’s repo.

Steps

# Step What happens Task AI today
1 Bring in the text Put the raw e-text in inbox/, clean it into source/. text-cleanup, spell-check skills, unmeasured
2 Give blocks IDs Assign stable IDs to each block, following the source’s numbering when it has one. block-id-assignment skills, unmeasured
3 Segment Split blocks into sentences or translation units. segmentation skills, unmeasured
4 Find annotations Detect interlinear notes and annotations and separate them from the main text. annotation-detection skills, unmeasured
5 Outline Extract the table of contents (sa bcad). toc-extraction measured
6 Root text and commentary Separate root text from commentary and link each passage to its explanation. text-commentary-alignment skills, unmeasured
7 Names Detect author names and other entities. entity-extraction skills, unmeasured
8 Translate Draft a translation of each unit. translation skills, unmeasured
9 Check Run linters and parsers over every output. — scripts

Notes

✎ Edit this page · History · Discuss