1
0
Fork 0
mirror of https://github.com/qurator-spk/page2tsv.git synced 2026-03-15 19:52:04 +01:00

install into qurator namespace

This commit is contained in:
Konstantin Baierer 2022-11-08 16:19:23 +01:00
parent abeca0df16
commit e1a440b91c
10 changed files with 17 additions and 12 deletions

View file

@ -0,0 +1,46 @@
{
"version": "0.0.1",
"git_url": "https://github.com/qurator-spk/page2tsv",
"tools": {
"ocrd-neat-export": {
"executable": "ocrd-neat-export",
"description": "Convert PAGE-XML to neat-loadable TSV",
"categories": [ "Format-Conversion" ],
"steps": [ "format-conversion" ],
"input_file_grp": ["INPUT"],
"output_file_grp": ["OUTPUT"],
"parameters": {
"iiif_url_template": {
"type": "string",
"description": "URL template for lookup of images via IIIF based on {{ unique_identifier }}, {{ page_id }}, {{ page_no }} and {{ PPN }}. 'left', 'top', 'right', 'bottom', 'width', and 'height' are replaced by the neat JS.",
"default": "https://content.staatsbibliothek-berlin.de/dc/{{ PPN }}-{{ page_no }}/left,top,width,height/full/0/default.jpg"
},
"scale_filegrp": {
"type": "string",
"description": "If the OCR was run on images with a different resolution thant the 'full' IIIF size, use the images in this file group to scale. Set to empty string to disable",
"default": ""
},
"noproxy": {
"type": "boolean",
"description": "Disable proxy if set",
"default": true
}
}
},
"ocrd-neat-import": {
"executable": "ocrd-neat-export",
"description": "Re-integrate TSV into PAGE-XML",
"categories": [ "Format-Conversion" ],
"steps": [ "format-conversion" ],
"input_file_grp": ["PAGE-GRP,TSV-GRP"],
"output_file_grp": ["OUTPUT"],
"parameters": {
"keep_words": {
"type": "boolean",
"description": "After updating the line TextEquiv, remove (false) or keep (true) existing and probably inconsistent pc:Word",
"default": false
}
}
}
}
}