EVA Exemplar Atlas - Method

Source images

Transcription

Line detection & alignment

Per-letter selection

Known caveats a human should double-check

  1. Line detection can split/merge wrapped text near figures, and can miss the first line of a paragraph if it begins with a drop-cap-like glyph.
  2. Order-based pairing fails silently if the detector dropped any line.
  3. Rare digraphs (cfh, cph, ckh) appear only a handful of times; a light exemplar count is expected and honest.
  4. No per-character bounding box: to find the actual glyph inside a line crop, read the EVA caption beneath the crop and eyeball left-to-right.
  5. Folio numbering for foldouts (f67r1, f68r1, f86v4, etc.) depends on Beinecke label matching; see REPORT.md for actually-fetched folios.

Fallback disclosure

This atlas is a line-level exemplar book, not a glyph-crop atlas. A per-glyph alignment was not attempted because no cached glyph-coordinate corpus was found on disk. The deliverable is intentionally honest about this: you get authentic line contexts with the target token highlighted, across multiple folios.

Complete source text and line addresses
# EVA Exemplar Atlas - Method

## Source images
- `f1r.jpg` from local disk (`../../../../assets/readers/0d/0dec17193df396c44fc415b48c1fe7302b670526ccb171651ff5d5bd0a8dd57f.jpg`).
- Other folios fetched from the Beinecke IIIF image server
  (`https://collections.library.yale.edu/iiif/2/...`) at 2000px width via
  the public IIIF manifest `https://collections.library.yale.edu/manifests/2002046`.
- Cached under `atlas/folios/`.

## Transcription
- `transcriptions/ZL_ivtff_2b.txt` (Takahashi / ZL IVTFF Eva- 1.7, v2b).
- Inline codes, bracket-alternates (`[a:b]` -> first), `{...}`, and
  `<...>` tags are stripped before tokenization. `.` and `,` are treated as
  word breaks.

## Line detection & alignment
- Per folio, a horizontal projection profile is computed on a grayscale,
  thresholded, margin-trimmed band (8%-92% of image width). Rows whose
  dark-pixel count exceeds 10% of the peak are grouped into line runs
  (min 10 px tall, merged if within 6 px). The resulting row runs are the
  detected text lines.
- Detected lines are paired *in order* with the non-empty transcription
  lines for the folio. The shorter of the two lists determines how many
  lines are used.
- THIS IS APPROXIMATE. Drop caps, figure interruptions, marginal keys,
  non-text doodles, and foldout panels can cause misalignment. A human
  reviewer should sanity-check each exemplar's caption (folio + line
  number) against the visible image.

## Per-letter selection
- EVA units tokenized by longest-match against the set
  `['a', 'o', 'y', 'e', 'ee', 'i', 'ii', 'iin', 'n', 'm', 'ch', 'sh', 'd', 'l', 'r', 's', 'q', 'k', 't', 'p', 'f', 'cth', 'ckh', 'cph', 'cfh']`.
- For each unit, lines whose EVA text contains that token (inside any
  word) are collected. Up to 8 exemplars per unit are kept, preferring
  diversity across folios (<=2 per folio when possible).
- Words containing the target unit are bolded in the per-exemplar caption.

## Known caveats a human should double-check
1. Line detection can split/merge wrapped text near figures, and can miss
   the first line of a paragraph if it begins with a drop-cap-like glyph.
2. Order-based pairing fails silently if the detector dropped any line.
3. Rare digraphs (`cfh`, `cph`, `ckh`) appear only a handful of times; a
   light exemplar count is expected and honest.
4. No per-character bounding box: to find the actual glyph inside a line
   crop, read the EVA caption beneath the crop and eyeball left-to-right.
5. Folio numbering for foldouts (f67r1, f68r1, f86v4, etc.) depends on
   Beinecke label matching; see REPORT.md for actually-fetched folios.

## Fallback disclosure
This atlas is a **line-level** exemplar book, not a glyph-crop atlas. A
per-glyph alignment was not attempted because no cached glyph-coordinate
corpus was found on disk. The deliverable is intentionally honest about
this: you get authentic line contexts with the target token highlighted,
across multiple folios.