Datasets:
File size: 12,016 Bytes
946efb6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | # Reading the data
[Archive introduction](README.md) · [Release notes](RELEASE_NOTES.md) · [Rights and credits](RIGHTS_AND_CREDITS.md)
The image shows the prepared public page. OCR is a machine reading of that image. Token annotations describe selected displayed pseudonyms and their associated recorded name-removal areas. Join these materials by `page_id` and verify the image bytes with their SHA-256 value.
## Files and identifiers
Each yearly TAR contains `images/<year>/*.webp`, `ocr/<year>/*.json`, `annotation/<year>/*.json`, and `metadata/<year>.jsonl`. OCR and annotation are grouped by episode, with ordered `pages` arrays; images remain individual pages. `metadata/pages.jsonl` and `metadata/episodes.jsonl` outside the TAR files provide corpus-wide indexes.
| Identifier | Example | Meaning |
|---|---|---|
| `program_unit_id` | `voku_2017_1_crazy_about_travel` | One year, semester, and program grouping. |
| `document_id` | `voku_2017_1_crazy_about_travel_02` | A source episode or separately labeled source bundle. |
| `page_id` | `voku_2017_1_crazy_about_travel_02_page02` | One page within that bundle. |
| `filename` | `voku_2017_1_crazy_about_travel_02_page02.webp` | The English distribution filename. |
| `filename_ko` | `voku_2017_1_여행에_미치다_02_page02.webp` | The matching Korean filename stored as metadata, not a second image file. |
`page` is the stored page number within a bundle, not a globally unique key or a claim about printed pagination. Numeric episode labels identify the stored bundles; they do not by themselves establish broadcast dates. Special labels such as loose-sheet and missing-page bundles retain existing grouping distinctions. Their `episode_number` is `null`.
In episode JSON, `pages[].image` is relative to the root of the extracted yearly TAR. In Parquet and the page index, the same location is `image_relpath`. Index fields `archive` and `parquet` are relative to the dataset root. Index fields `ocr_json` and `annotation_json` identify members inside the specified TAR, or the same paths after extraction. Those episode files are not additional loose files at the dataset root.
## Korean titles and English labels
`program_title_ko` retains the Korean source label in readable form, including mixed Latin text and source uncertainty markers where present. `program_title_en` is an editorial translation or romanization, not an official English program name and not a translation of the script's OCR. The [translation table](metadata/program_translations.json) records `source_program_label_ko`, both titles, both slugs, `translation_status`, and the source episode count for each label.
There are **188 distinct source program labels** and **715 year–semester program units**. These count different things; source spelling variants also prevent interpreting 188 as a deduplicated count of distinct shows. The English `program_slug` uses lowercase ASCII letters, digits, and underscores. `variant02` and later suffixes distinguish source spellings that would otherwise collide; they do not merge their documents.
Distribution names use `voku`, the year, semester `1` or `2`, the program slug, the episode label, and a `page` suffix for images. Numeric episode and page labels use ordinary ASCII digits with at least two digits. Fullwidth numeric episode labels were normalized in both English filenames and Korean filename/episode metadata. Korean filename metadata uses NFC normalization. This naming normalization does not rewrite OCR body text. [Machine-readable filename rules](metadata/filename_rules.json).
## Episode JSON fields
Both episode formats share `schema_version`, `document_id`, `document_id_ko`, `program_unit_id`, `year`, `semester`, `program_title_ko`, `program_title_en`, `program_slug`, `episode`, `episode_label_ko`, `episode_number`, `page_count`, `coordinate_system`, and `pages`.
`episode` is the distribution label; `episode_label_ko` is its Korean label, with numeric normalization applied. `document_id_ko` is the corresponding Korean document identifier. Each page shares `page_id`, `page`, `filename`, `filename_ko`, `image`, `sha256`, `width`, and `height`. The dimensions are pixels of the final WebP, and `sha256` identifies that image's bytes, not the JSON file. Episode JSON hashes are in the episode index.
The OCR format additionally has root `engine` metadata and page fields `generated_at`, `status`, `text`, `lines`, and `refreshed_for_release`. The annotation format adds page `annotations`. The authoritative definitions are [OCR schema](schemas/ocr.schema.json) and [annotation schema](schemas/annotation.schema.json).
## Fresh OCR
This OCR was generated from the final public images, rather than produced by replacing names in an earlier original-reading transcript. It is machine recognition for search, navigation, and subsequent processing. Compare it with the image when reading a particular passage.
The released episode files record **Apple Vision `VNRecognizeTextRequest`, revision 3**, recognition level `accurate`, recognition languages `ko-KR` and `en-US`, and `usesLanguageCorrection: true`. These are the dataset's own recorded settings. The files contain Korean text; the English recognition language and editorial program titles do not make the corpus an English translation.
Each OCR line has `text`, `confidence`, and `boundingBox`. `confidence` is the recognizer's value in the range 0–1, not a measured transcription accuracy or confidence in a person's identity. The recorded coordinate system is `normalized_top_left_xywh`. `boundingBox` uses normalized top-left `x`, `y`, `width`, and `height`, with x increasing rightward and y downward. Multiply horizontal values by image `width` and vertical values by image `height` to locate the box in pixels. OCR boxes locate recognized text; they are not token-placement boxes or approved erasure geometry.
Page `status: "success"` records successful recognition processing. `generated_at` records its timestamp. `refreshed_for_release: true` identifies ten pages refreshed during preparation and the subsequent staff-name correction; `false` does not mean original-reading or intermediate OCR. All pages in this release are intended to correspond to their final images. The refreshes and preserved coordinate exceptions are listed in the [release notes](RELEASE_NOTES.md).
## Token annotations
The normal pseudonym token has **four Hangul characters**, displayed either on one line or as two lines of two characters each. A normal 2+2 display is one token: the annotation's `token` joins the displayed text in reading order, and its `token_box` encloses the placement. It is not two separate people or two separate token identifiers.
Tokens were inserted during preparation of the public version to replace names associated with station production. Repetition of a token is intended to preserve the same producer's participation where the underlying identity decisions support that connection; co-occurrence can help explore production relationships. Tokens are pseudonymous labels, not historical names. They do not guarantee every identity link or every occurrence is complete. Use the role text and document context when interpreting a connection.
Each annotation has exactly three fields:
| Field | Definition |
|---|---|
| `token` | The pseudonym text displayed in the final image, joined in reading order for a normal multiline layout. |
| `name_mask_boxes` | A list of bounding boxes around the name-removal regions in the stored work records associated with this token. Diagonal regions use their minimal axis-aligned bounding rectangles in final-image coordinates. Preserved or restored table lines inside a rectangle are not name-removal pixels. |
| `token_box` | The token's placement region in the final image. It is not an exact glyph-ink segmentation. It encloses the displayed pieces of a split placement; where later erasure clipped a placement, it describes the remaining placement region. |
The annotation coordinate system is `pixel_xyxy_top_left_exclusive`. All annotation boxes are integer `[x_min, y_min, x_max, y_max]` coordinates on the final WebP **without rotating or scaling it**. The origin is the top left. Right and bottom edges are exclusive: width is `x_max - x_min` and height is `y_max - y_min`. Working coordinates from rotated pages were mapped back to this final image coordinate system before annotation export.
For example, the first annotation on the [representative page](assets/voku_2017_1_crazy_about_travel_02_page01.webp) is:
```json
{
"token": "물빛수첩",
"name_mask_boxes": [[171, 431, 231, 452]],
"token_box": [172, 431, 240, 450]
}
```
This is a real released record. The placement box is 68 pixels wide and 19 pixels high on the 1191 × 1684 image. The two geometries describe different operations and need not have identical bounds.
Annotation creation traced explicit token/location records and compared the relevant regions with the final images. It did not perform fresh identity inference. The public fields exclude real-name mappings, internal identity identifiers, and private judgment or review records. Seals, signatures, approval areas, contacts, ordinary-person name masks, separate tokenless erasures, and removed tokens are outside this annotation's scope. Thus, this is neither complete personal-information detection ground truth nor whole-document layout ground truth. An empty `annotations` array is not proof that the image contains no token. The few preserved token-record exceptions are documented only under [known exceptions](RELEASE_NOTES.md#known-exceptions-and-interpretive-limits).
## Page-level Parquet
Each Parquet row contains the same page's identifiers, titles, image, OCR, and token annotations. The `image` feature embeds the original WebP bytes with a relative path, so image decoding does not require separately extracting the TAR. With ordinary Arrow readers it is a struct with `bytes` and `path`; Hugging Face Datasets decodes it as an image. [Full feature definition](schemas/huggingface_features.json).
| Fields | Interpretation |
|---|---|
| `page_id`, `document_id`, `program_unit_id`, `year`, `semester`, `page` | The identity and grouping fields described above. |
| `program_title_ko`, `program_title_en`, `program_slug`, `episode`, `episode_label_ko`, `episode_number` | Source-title and distribution-label metadata; numeric episode values may be null. |
| `filename`, `filename_ko`, `image_relpath`, `image`, `image_sha256`, `width`, `height` | Filename metadata, embedded image, and final-image byte identity and dimensions. `image_sha256` corresponds to episode-page `sha256`. |
| `ocr_text`, `ocr_lines`, `ocr_generated_at`, `ocr_refreshed_for_release` | The equivalent OCR page fields, with their original line objects. Engine settings are in episode OCR JSON. |
| `ocr_empty`, `ocr_line_count`, `ocr_bbox_out_of_bounds` | Recognition/coordinate summary flags. The bounds flag uses tolerance `1e-5`; the stored coordinates themselves are unchanged. |
| `annotations`, `annotation_count` | Token annotation records and their count on this page. |
With the downloaded files under `data/pages/`, this example streams them locally using Hugging Face Datasets and Pillow:
```python
from pathlib import Path
from datasets import load_dataset
files = sorted(str(p) for p in Path("data/pages").glob("*.parquet"))
corpus = load_dataset(
"parquet", data_files={"corpus": files},
split="corpus", streaming=True,
)
row = next(iter(corpus))
print(row["page_id"], row["image"].size)
print(row["ocr_text"])
print(row["annotations"])
```
The `pages` configuration in the dataset card selects those existing Parquet shards, all in one `corpus` split. The TAR files, documentation preview, and indexes are not additional examples or separate training splits. [Hugging Face's configuration reference](https://huggingface.co/docs/hub/datasets-manual-configuration) explains the card metadata syntax.
|