-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathocrd-tool.json
More file actions
29 lines (29 loc) · 986 Bytes
/
ocrd-tool.json
File metadata and controls
29 lines (29 loc) · 986 Bytes
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
{
"version": "0.0.2",
"git_url": "https://github.com/bertsky/docstruct",
"dockerhub": "ocrd/docstruct",
"tools": {
"ocrd-docstruct": {
"executable": "ocrd-docstruct",
"categories": ["Layout analysis"],
"description": "Parsing page-level text regions with headings and reading order, create a dummy logical structMap",
"steps": ["layout/analysis"],
"input_file_grp_cardinality": 1,
"output_file_grp_cardinality": 0,
"parameters": {
"mode": {
"type": "string",
"enum": ["enmap", "dfg"],
"default": "dfg",
"description": "representational convention to use in the METS; either ENMAP profile (using mets:area) or DFG profile (using only mets:structLink)"
},
"type": {
"type": "string",
"enum": ["chapter", "section", "article"],
"default": "article",
"description": "mets:div type to use for headings"
}
}
}
}
}