tetrak_ocr.manifest¶
The batch’s CSV manifest: one row per file, for a spreadsheet or an import.
Not the triage manifest, the per-file report batch writes beside a triaged scan; this is one table for the whole workspace.
Beta. The columns may change before this is declared stable; the header row is what to rely on, never a column’s position.
Where the telemetry log is for watching a run and measuring it, the manifest is for the people who receive its output. A small archive keeps its catalogue in a spreadsheet; a collections system imports a CSV (Omeka S’s CSV Import, among others). Either way the question is the same: for each scan, what was read, by which engine, did it pass the quality gate, and where are the files now. A triaged or failed file gets a row too, so the manifest is also the list of what still needs a person.
The file is appended to, one row per file as it finishes, so it grows with the workspace across runs, as workspace/processed/ does. The header is written when the file is new. A file whose header is not this version’s is refused before any scan is touched, rather than given rows that do not line up with its columns.
UTF-8 without a byte-order mark, which is what import tools expect. Excel reads a UTF-8 file without a BOM as the local code page when it is double-clicked; import it through Data > From Text/CSV instead to keep non-Latin transcripts intact.
Module Attributes
|
The manifest's columns, in order. |
Classes
|
Appends rows to a manifest CSV, writing its header when it is new. |
Exceptions
|
The manifest cannot be appended to as it stands. |