OPF is an open-directory file format containing a text and its annotations in an easy to parse, metadata and optionally the source of the text.
Metadata structure in OpenPecha is based on the BibFrame2 model, while annotations follow the TEI standard as much as possible.
There are two types of .opf documents, the Work files and the Pecha files. Works are BibFrame2 works and Pechas correspond to BibFrame2 Instances. Thus a Work can have multiple Pechas. Exact digital duplicates are recorded as Items in the Work metadata.
As a policy, we don't try to avoid duplication but try to record all instances (Pechas) of a given text in the corresponding work.
- scr : # link to source documents
- images IIIF work
- ocr output like Google's jsons
- manual input in epub, pdf, docx, txt
- layers: # description of layers
- the base directory contains raw text, 1 file per volume
- the base directory contains raw text, 1 file per volume
- UTF-8
- base contains line returns matchinng lines from source images, or random segmentation for other formats
- base layer doesn't contain metadata like page numbers, page titles, footnotes and the like. These are encoded in layers
- layers
- UTF-8