v3.0.0a2
Pre-release
Pre-release
Changed:
- 馃敟
OcrdPageas proxy ofPcGtsTypeinstead of alias; also containsetreeandmappingnow - 馃敟
Processor.zip_input_filesnow can throwocrd.NonUniqueInputFileandocrd.MissingInputFile
(the latter only ifOCRD_MISSING_INPUT=ABORT) - 馃敟
Processor.zip_input_filesdoes not by default userequire_firstanymore
(so the first file in any input file tuple per page can beNoneas well) - 馃敟 no more
Workspace.overwrite_mode, merely delegate toOCRD_EXISTING_OUTPUT=OVERWRITE - 馃帹 improve on docs result for
ocrd_utils.config
Added:
- 馃憠
OCRD_DOWNLOAD_INPUTfor whether input files should be downloaded before processing - 馃憠
OCRD_MISSING_INPUTfor how to handle missing input files (SKIPorABORT) - 馃憠
OCRD_MISSING_OUTPUTfor how to handle processing failures (SKIPorABORTorCOPY)
the latter behaves like ocrd-dummy for the failed page(s) - 馃憠
OCRD_EXISTING_OUTPUTfor how to handle existing output files (SKIPorABORTorOVERWRITE) - new CLI option
--debugas short-hand forABORTchoices above Processor.loggerset up by constructor already (for re-use by processor implementors)default-expand and validateocrd_tool.jsoninProcessorconstructor, log invalidities- handle JSON
deprecationinocrd_tool.jsonby reporting warnings