ocrd 3.0.3__py3-none-any.whl → 3.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ocrd/cli/ocrd_tool.py +9 -0
- ocrd/cli/resmgr.py +9 -1
- ocrd/mets_server.py +12 -12
- ocrd/processor/base.py +1 -4
- ocrd/processor/helpers.py +2 -2
- {ocrd-3.0.3.dist-info → ocrd-3.1.0.dist-info}/METADATA +6 -6
- {ocrd-3.0.3.dist-info → ocrd-3.1.0.dist-info}/RECORD +13 -13
- {ocrd-3.0.3.dist-info → ocrd-3.1.0.dist-info}/WHEEL +1 -1
- ocrd_models/ocrd_page_generateds.py +3 -3
- ocrd_validators/ocrd_tool.schema.yml +5 -0
- {ocrd-3.0.3.dist-info → ocrd-3.1.0.dist-info}/LICENSE +0 -0
- {ocrd-3.0.3.dist-info → ocrd-3.1.0.dist-info}/entry_points.txt +0 -0
- {ocrd-3.0.3.dist-info → ocrd-3.1.0.dist-info}/top_level.txt +0 -0
ocrd/cli/ocrd_tool.py
CHANGED
|
@@ -95,6 +95,15 @@ def ocrd_tool_list(ctx):
|
|
|
95
95
|
for tool in ctx.json['tools']:
|
|
96
96
|
print(tool)
|
|
97
97
|
|
|
98
|
+
# ----------------------------------------------------------------------
|
|
99
|
+
# ocrd ocrd-tool dump-tools
|
|
100
|
+
# ----------------------------------------------------------------------
|
|
101
|
+
|
|
102
|
+
@ocrd_tool_cli.command('dump-tools', help="Dump tools")
|
|
103
|
+
@pass_ocrd_tool
|
|
104
|
+
def ocrd_tool_dump(ctx):
|
|
105
|
+
print(dumps(ctx.json['tools'], indent=True))
|
|
106
|
+
|
|
98
107
|
# ----------------------------------------------------------------------
|
|
99
108
|
# ocrd ocrd-tool tool
|
|
100
109
|
# ----------------------------------------------------------------------
|
ocrd/cli/resmgr.py
CHANGED
|
@@ -13,7 +13,15 @@ from yaml import safe_load, safe_dump
|
|
|
13
13
|
import requests
|
|
14
14
|
import click
|
|
15
15
|
|
|
16
|
-
from ocrd_utils import
|
|
16
|
+
from ocrd_utils import (
|
|
17
|
+
directory_size,
|
|
18
|
+
getLogger,
|
|
19
|
+
get_moduledir,
|
|
20
|
+
get_ocrd_tool_json,
|
|
21
|
+
resource_filename,
|
|
22
|
+
initLogging,
|
|
23
|
+
RESOURCE_LOCATIONS,
|
|
24
|
+
)
|
|
17
25
|
from ocrd.constants import RESOURCE_USER_LIST_COMMENT
|
|
18
26
|
|
|
19
27
|
from ..resource_manager import OcrdResourceManager
|
ocrd/mets_server.py
CHANGED
|
@@ -474,7 +474,7 @@ class OcrdMetsServer:
|
|
|
474
474
|
"""
|
|
475
475
|
workspace.save_mets()
|
|
476
476
|
response = Response(content="The Mets Server is writing changes to disk.", media_type='text/plain')
|
|
477
|
-
self.log.
|
|
477
|
+
self.log.debug(f"PUT / -> {response.__dict__}")
|
|
478
478
|
return response
|
|
479
479
|
|
|
480
480
|
@app.delete(path='/')
|
|
@@ -485,7 +485,7 @@ class OcrdMetsServer:
|
|
|
485
485
|
workspace.save_mets()
|
|
486
486
|
response = Response(content="The Mets Server will shut down soon...", media_type='text/plain')
|
|
487
487
|
self.shutdown()
|
|
488
|
-
self.log.
|
|
488
|
+
self.log.debug(f"DELETE / -> {response.__dict__}")
|
|
489
489
|
return response
|
|
490
490
|
|
|
491
491
|
@app.post(path='/reload')
|
|
@@ -495,25 +495,25 @@ class OcrdMetsServer:
|
|
|
495
495
|
"""
|
|
496
496
|
workspace.reload_mets()
|
|
497
497
|
response = Response(content=f"Reloaded from {workspace.directory}", media_type='text/plain')
|
|
498
|
-
self.log.
|
|
498
|
+
self.log.debug(f"POST /reload -> {response.__dict__}")
|
|
499
499
|
return response
|
|
500
500
|
|
|
501
501
|
@app.get(path='/unique_identifier', response_model=str)
|
|
502
502
|
async def unique_identifier():
|
|
503
503
|
response = Response(content=workspace.mets.unique_identifier, media_type='text/plain')
|
|
504
|
-
self.log.
|
|
504
|
+
self.log.debug(f"GET /unique_identifier -> {response.__dict__}")
|
|
505
505
|
return response
|
|
506
506
|
|
|
507
507
|
@app.get(path='/workspace_path', response_model=str)
|
|
508
508
|
async def workspace_path():
|
|
509
509
|
response = Response(content=workspace.directory, media_type="text/plain")
|
|
510
|
-
self.log.
|
|
510
|
+
self.log.debug(f"GET /workspace_path -> {response.__dict__}")
|
|
511
511
|
return response
|
|
512
512
|
|
|
513
513
|
@app.get(path='/physical_pages', response_model=OcrdPageListModel)
|
|
514
514
|
async def physical_pages():
|
|
515
515
|
response = {'physical_pages': workspace.mets.physical_pages}
|
|
516
|
-
self.log.
|
|
516
|
+
self.log.debug(f"GET /physical_pages -> {response}")
|
|
517
517
|
return response
|
|
518
518
|
|
|
519
519
|
@app.get(path='/physical_pages', response_model=OcrdPageListModel)
|
|
@@ -523,13 +523,13 @@ class OcrdMetsServer:
|
|
|
523
523
|
@app.get(path='/file_groups', response_model=OcrdFileGroupListModel)
|
|
524
524
|
async def file_groups():
|
|
525
525
|
response = {'file_groups': workspace.mets.file_groups}
|
|
526
|
-
self.log.
|
|
526
|
+
self.log.debug(f"GET /file_groups -> {response}")
|
|
527
527
|
return response
|
|
528
528
|
|
|
529
529
|
@app.get(path='/agent', response_model=OcrdAgentListModel)
|
|
530
530
|
async def agents():
|
|
531
531
|
response = OcrdAgentListModel.create(workspace.mets.agents)
|
|
532
|
-
self.log.
|
|
532
|
+
self.log.debug(f"GET /agent -> {response.__dict__}")
|
|
533
533
|
return response
|
|
534
534
|
|
|
535
535
|
@app.post(path='/agent', response_model=OcrdAgentModel)
|
|
@@ -538,7 +538,7 @@ class OcrdMetsServer:
|
|
|
538
538
|
kwargs['_type'] = kwargs.pop('type')
|
|
539
539
|
workspace.mets.add_agent(**kwargs)
|
|
540
540
|
response = agent
|
|
541
|
-
self.log.
|
|
541
|
+
self.log.debug(f"POST /agent -> {response.__dict__}")
|
|
542
542
|
return response
|
|
543
543
|
|
|
544
544
|
@app.get(path="/file", response_model=OcrdFileListModel)
|
|
@@ -557,14 +557,14 @@ class OcrdMetsServer:
|
|
|
557
557
|
fileGrp=file_grp, ID=file_id, pageId=page_id, mimetype=mimetype, local_filename=local_filename, url=url
|
|
558
558
|
)
|
|
559
559
|
response = OcrdFileListModel.create(found)
|
|
560
|
-
self.log.
|
|
560
|
+
self.log.debug(f"GET /file -> {response.__dict__}")
|
|
561
561
|
return response
|
|
562
562
|
|
|
563
563
|
@app.post(path='/file', response_model=OcrdFileModel)
|
|
564
564
|
async def add_file(
|
|
565
565
|
file_grp: str = Form(),
|
|
566
566
|
file_id: str = Form(),
|
|
567
|
-
page_id: Optional[str] = Form(),
|
|
567
|
+
page_id: Optional[str] = Form(None),
|
|
568
568
|
mimetype: str = Form(),
|
|
569
569
|
url: Optional[str] = Form(None),
|
|
570
570
|
local_filename: Optional[str] = Form(None),
|
|
@@ -582,7 +582,7 @@ class OcrdMetsServer:
|
|
|
582
582
|
kwargs = file_resource.dict()
|
|
583
583
|
workspace.add_file(**kwargs, force=force)
|
|
584
584
|
response = file_resource
|
|
585
|
-
self.log.
|
|
585
|
+
self.log.debug(f"POST /file -> {response.__dict__}")
|
|
586
586
|
return response
|
|
587
587
|
|
|
588
588
|
# ------------- #
|
ocrd/processor/base.py
CHANGED
|
@@ -306,7 +306,6 @@ class Processor():
|
|
|
306
306
|
input_file_grp=None,
|
|
307
307
|
output_file_grp=None,
|
|
308
308
|
page_id=None,
|
|
309
|
-
download_files=config.OCRD_DOWNLOAD_INPUT,
|
|
310
309
|
version=None
|
|
311
310
|
):
|
|
312
311
|
"""
|
|
@@ -331,8 +330,6 @@ class Processor():
|
|
|
331
330
|
(or empty for all pages). \
|
|
332
331
|
Deprecated since version 3.0: Should be ``None`` here, but then needs to be set \
|
|
333
332
|
before processing.
|
|
334
|
-
download_files (boolean): Whether input files will be downloaded prior to processing, \
|
|
335
|
-
defaults to :py:attr:`ocrd_utils.config.OCRD_DOWNLOAD_INPUT` which is ``True`` by default
|
|
336
333
|
"""
|
|
337
334
|
if ocrd_tool is not None:
|
|
338
335
|
deprecation_warning("Passing 'ocrd_tool' as keyword argument to Processor is deprecated - "
|
|
@@ -361,7 +358,7 @@ class Processor():
|
|
|
361
358
|
deprecation_warning("Passing a page_id kwarg other than 'None' to Processor "
|
|
362
359
|
"is deprecated - pass as argument to process_workspace instead")
|
|
363
360
|
self.page_id = page_id or None
|
|
364
|
-
self.download =
|
|
361
|
+
self.download = config.OCRD_DOWNLOAD_INPUT
|
|
365
362
|
#: The logger to be used by processor implementations.
|
|
366
363
|
# `ocrd.processor.base` internals should use :py:attr:`self._base_logger`
|
|
367
364
|
self.logger = getLogger(f'ocrd.processor.{self.__class__.__name__}')
|
ocrd/processor/helpers.py
CHANGED
|
@@ -143,7 +143,7 @@ def run_processor(
|
|
|
143
143
|
t1_cpu,
|
|
144
144
|
processor.input_file_grp or '',
|
|
145
145
|
processor.output_file_grp or '',
|
|
146
|
-
json.dumps(processor.parameter
|
|
146
|
+
json.dumps(dict(processor.parameter or {})),
|
|
147
147
|
processor.page_id or ''
|
|
148
148
|
)
|
|
149
149
|
workspace.mets.add_agent(
|
|
@@ -154,7 +154,7 @@ def run_processor(
|
|
|
154
154
|
otherrole=otherrole,
|
|
155
155
|
notes=[({'option': 'input-file-grp'}, processor.input_file_grp or ''),
|
|
156
156
|
({'option': 'output-file-grp'}, processor.output_file_grp or ''),
|
|
157
|
-
({'option': 'parameter'}, json.dumps(processor.parameter or
|
|
157
|
+
({'option': 'parameter'}, json.dumps(dict(processor.parameter or {}))),
|
|
158
158
|
({'option': 'page-id'}, processor.page_id or '')]
|
|
159
159
|
)
|
|
160
160
|
workspace.save_mets()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: ocrd
|
|
3
|
-
Version: 3.0
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: OCR-D framework
|
|
5
5
|
Author-email: Konstantin Baierer <unixprog@gmail.com>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -24,15 +24,13 @@ Requires-Dist: Flask
|
|
|
24
24
|
Requires-Dist: frozendict>=2.3.4
|
|
25
25
|
Requires-Dist: gdown
|
|
26
26
|
Requires-Dist: httpx>=0.22.0
|
|
27
|
-
Requires-Dist: importlib_metadata; python_version < "3.8"
|
|
28
|
-
Requires-Dist: importlib_resources; python_version < "3.10"
|
|
29
27
|
Requires-Dist: jsonschema>=4
|
|
30
28
|
Requires-Dist: loky
|
|
31
29
|
Requires-Dist: lxml
|
|
32
30
|
Requires-Dist: memory-profiler>=0.58.0
|
|
33
31
|
Requires-Dist: numpy
|
|
34
32
|
Requires-Dist: ocrd-fork-bagit>=1.8.1.post2
|
|
35
|
-
Requires-Dist: ocrd-fork-
|
|
33
|
+
Requires-Dist: ocrd-fork-bagit-profile>=1.3.0.post1
|
|
36
34
|
Requires-Dist: opencv-python-headless
|
|
37
35
|
Requires-Dist: paramiko
|
|
38
36
|
Requires-Dist: pika>=1.2.0
|
|
@@ -42,10 +40,12 @@ Requires-Dist: python-magic
|
|
|
42
40
|
Requires-Dist: python-multipart
|
|
43
41
|
Requires-Dist: pyyaml
|
|
44
42
|
Requires-Dist: requests
|
|
45
|
-
Requires-Dist:
|
|
43
|
+
Requires-Dist: requests-unixsocket2
|
|
46
44
|
Requires-Dist: shapely
|
|
47
45
|
Requires-Dist: uvicorn
|
|
48
46
|
Requires-Dist: uvicorn>=0.17.6
|
|
47
|
+
Requires-Dist: importlib-resources; python_version < "3.10"
|
|
48
|
+
Requires-Dist: importlib-metadata; python_version < "3.8"
|
|
49
49
|
|
|
50
50
|
# OCR-D/core
|
|
51
51
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ocrd/__init__.py,sha256=ZswMVmlqFhAEIzMR3my6IKPq9XLH21aDPC_m_8Jh4dA,1076
|
|
2
2
|
ocrd/constants.py,sha256=6dn3mG54WqHsKInmLZp4kJjNqqPtBoFoSuLUuRbOps0,740
|
|
3
3
|
ocrd/lib.bash,sha256=le6XqAOEacdjP3JNSlPkxwRH1y0oVjNQM2tX5d6QFO4,10901
|
|
4
|
-
ocrd/mets_server.py,sha256=
|
|
4
|
+
ocrd/mets_server.py,sha256=EL6CMtVjmVPs9--3Vn-JyhU2VDMNw-6QN_XWRKFp6uk,22451
|
|
5
5
|
ocrd/ocrd-all-tool.json,sha256=9bX2VYnUwhTAzAvKaoT77BFzbgBGgyIt7qBqARpwWNc,586
|
|
6
6
|
ocrd/resolver.py,sha256=Ba9ALQbTXz6_mla4VqN9tAfHoj6aKuNJAU4tIDnjcHE,14952
|
|
7
7
|
ocrd/resource_list.yml,sha256=82-PiqkZnka1kTj3MQqNn4wXWKHHtoFchsQuetWuqFs,2633
|
|
@@ -14,9 +14,9 @@ ocrd/cli/__init__.py,sha256=-BiwIakeCkWx0Jd2yX9_ahfdV4VKz_5yqGEJ_2zKakQ,2734
|
|
|
14
14
|
ocrd/cli/bashlib.py,sha256=ypFBM3-IULz_IEBx0Y04eGt9VbQWwEWm4ujm9g_hPWY,6009
|
|
15
15
|
ocrd/cli/log.py,sha256=6_FrVmTKIIVNUaNLkuOJx8pvPhensHMuayJ0PA7T-XA,1562
|
|
16
16
|
ocrd/cli/network.py,sha256=oWBHFEURxfUdb_t-F4svP_ri7o5mqBoNQnLZLbsZLTA,602
|
|
17
|
-
ocrd/cli/ocrd_tool.py,sha256=
|
|
17
|
+
ocrd/cli/ocrd_tool.py,sha256=EyD5VdLm2WTzQnR-hZKpn-D4-dsWr2PIE5IoY1O3mfE,7357
|
|
18
18
|
ocrd/cli/process.py,sha256=8KD0i7LT01H9u5CC1vktYMEVpS67da_rp_09_EOECmw,1233
|
|
19
|
-
ocrd/cli/resmgr.py,sha256=
|
|
19
|
+
ocrd/cli/resmgr.py,sha256=mk8KZweC_7ENAFnC6FvFf7Zv_W1wqJTmk0EMd9XSvf4,10132
|
|
20
20
|
ocrd/cli/validate.py,sha256=nvageDaHCETcE71X5lu7i_4JKpgo9MrvJKinVPLYUTI,5727
|
|
21
21
|
ocrd/cli/workspace.py,sha256=KTbSzIUrba5WoYETvM9ElRZVsDUHCGVvjoFgBGZS2nU,40468
|
|
22
22
|
ocrd/cli/zip.py,sha256=MMJLw3OXWiJVfVtrdJcBkbB8vA1IzSautluazZRuCQ0,5910
|
|
@@ -26,8 +26,8 @@ ocrd/decorators/mets_find_options.py,sha256=d4oATKMP6bFQHNqOK6nLqgUiWF2FYdkPvzkT
|
|
|
26
26
|
ocrd/decorators/ocrd_cli_options.py,sha256=lIvtE8re1VmpHm45u71ltE0QJS8nyd28HhLC7zGSvlo,2691
|
|
27
27
|
ocrd/decorators/parameter_option.py,sha256=n8hYw7XVTd3i3tvpK8F1Jx_CqRp6EGF9qJVH95yj92Q,1076
|
|
28
28
|
ocrd/processor/__init__.py,sha256=39ymNwYRdc-b_OJzzKmWCvo2ga3KdsGSYDHE1Hzkn_w,274
|
|
29
|
-
ocrd/processor/base.py,sha256=
|
|
30
|
-
ocrd/processor/helpers.py,sha256=
|
|
29
|
+
ocrd/processor/base.py,sha256=GcfVrgCvfHbrxngwl1VzcaZ5z7QV2e1Cn7CIjBYdcHc,59480
|
|
30
|
+
ocrd/processor/helpers.py,sha256=gIc6PdvOS1sR0UkYlrdZopImAXxXglDBNpgNZGWHO7Y,10987
|
|
31
31
|
ocrd/processor/ocrd_page_result.py,sha256=eDkpyVHcpaBzTHXiGrcNk9PP9Xr-XZru2w_uoX_ZeNA,510
|
|
32
32
|
ocrd/processor/builtin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
33
|
ocrd/processor/builtin/dummy_processor.py,sha256=a-4kKJ1JeXQuBIyyN8w2R3s7ov-wAfyEdEz3nxrf0sU,3479
|
|
@@ -43,7 +43,7 @@ ocrd_models/ocrd_exif.py,sha256=wRSprHxCy9LCXw41Fi9kp-CbFc5NFX9ZFIFNszB41qk,4585
|
|
|
43
43
|
ocrd_models/ocrd_file.py,sha256=7lyHezuNnl2FEYV1lV35-QTCrgYAL-3wO2ulFUNq2Ak,9717
|
|
44
44
|
ocrd_models/ocrd_mets.py,sha256=cRBEnvRNmRUhcrKouqygTQqYA-XdgyA-FNLwt86V0vg,42878
|
|
45
45
|
ocrd_models/ocrd_page.py,sha256=TTCnvpKGyZx1dqH8LnDiVVVPjU6emWGVLO_4o9rQHtw,6233
|
|
46
|
-
ocrd_models/ocrd_page_generateds.py,sha256=
|
|
46
|
+
ocrd_models/ocrd_page_generateds.py,sha256=IWoN3V-v3C4JgyPaFh9OQC87ob__wUP1Q6ELBxhLA1w,841794
|
|
47
47
|
ocrd_models/ocrd_xml_base.py,sha256=OW57mXLlwm1nH8CNefvXmwLRws9KL9zSrb-3vH--mX8,1641
|
|
48
48
|
ocrd_models/report.py,sha256=luZxvzAAQyGYOlRNSJQUIUIANG81iGmBW5ag-uXxKCA,2026
|
|
49
49
|
ocrd_models/utils.py,sha256=0_WHf5NEn1WC8MKJc6X_RK8gW-70Z09_mslkKOj7uF8,2369
|
|
@@ -106,7 +106,7 @@ ocrd_validators/message_processing.schema.yml,sha256=HL7o96-7ejslVMXcp16sbo5IjfU
|
|
|
106
106
|
ocrd_validators/message_result.schema.yml,sha256=G6vt_JgIU7OGSaHj-2Jna6KWQ3bFWol5tnBArWEiVjM,681
|
|
107
107
|
ocrd_validators/mets.xsd,sha256=0Wrs9bObn0n-yEEIWyguIcUUuuP6KMEjD4I_p1_UlwY,138290
|
|
108
108
|
ocrd_validators/ocrd_network_message_validator.py,sha256=oafNWOjieBmTHFfYeCtyFFpW1gI0lDT6ycRr5Kvmfq0,561
|
|
109
|
-
ocrd_validators/ocrd_tool.schema.yml,sha256=
|
|
109
|
+
ocrd_validators/ocrd_tool.schema.yml,sha256=BQkRIRDbn9B8gFeVxz_EpNdleh_x2dCtIpJEC4HqFHw,10125
|
|
110
110
|
ocrd_validators/ocrd_tool_validator.py,sha256=CvfUHC0vJsPnmFBNf4ndQMXX6pcERCjJMAWk2L-T_ww,747
|
|
111
111
|
ocrd_validators/ocrd_zip_validator.py,sha256=udAImFFliJY3y1FcKwZ52rhpjYB2Iv491hWDxdet8w0,3685
|
|
112
112
|
ocrd_validators/page.xsd,sha256=abQ8C3gRLPMFm8lH62aTCfvTIWI23TpgEDcaW9YCt7I,85770
|
|
@@ -120,9 +120,9 @@ ocrd_validators/xlink.xsd,sha256=8fW7YAMWXN2PbB_MMvj9H5ZeFoEBDzuYBtlGC8_6ijw,318
|
|
|
120
120
|
ocrd_validators/xsd_mets_validator.py,sha256=4GWfLyqkmca0x7osDuXuExYuM0HWVrKoqn0S35sFhHU,467
|
|
121
121
|
ocrd_validators/xsd_page_validator.py,sha256=BNz_9u-Ek4UCeyZu3KxSQoolfW9lvuaSR9nIu1XXxeE,467
|
|
122
122
|
ocrd_validators/xsd_validator.py,sha256=6HrVAf6SzCvfUIuQdIzz9bOq4V-zhyii9yrUPoK2Uvo,2094
|
|
123
|
-
ocrd-3.0.
|
|
124
|
-
ocrd-3.0.
|
|
125
|
-
ocrd-3.0.
|
|
126
|
-
ocrd-3.0.
|
|
127
|
-
ocrd-3.0.
|
|
128
|
-
ocrd-3.0.
|
|
123
|
+
ocrd-3.1.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
124
|
+
ocrd-3.1.0.dist-info/METADATA,sha256=IAFV_u_0lEtvLnjHznVBweeEEBfBbe32FfbnM6EEdhc,10442
|
|
125
|
+
ocrd-3.1.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
126
|
+
ocrd-3.1.0.dist-info/entry_points.txt,sha256=4hcJ2LkK_OlIabHnKgFit35Ap7b5Lz1Gb4hzkxV0Kiw,152
|
|
127
|
+
ocrd-3.1.0.dist-info/top_level.txt,sha256=pUgiN42t4KXC5rvpi6V8atza31XP4SCznXpXlVlvomM,75
|
|
128
|
+
ocrd-3.1.0.dist-info/RECORD,,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# -*- coding: utf-8 -*-
|
|
3
3
|
|
|
4
4
|
#
|
|
5
|
-
# Generated
|
|
5
|
+
# Generated Mon Feb 17 10:32:54 2025 by generateDS.py version 2.44.1.
|
|
6
6
|
# Python 3.8.17+ (heads/3.8-dirty:1663f8ba84, Aug 15 2023, 18:13:01) [GCC 8.3.0]
|
|
7
7
|
#
|
|
8
8
|
# Command line options:
|
|
@@ -7112,7 +7112,7 @@ class OrderedGroupIndexedType(GeneratedsSuper):
|
|
|
7112
7112
|
else:
|
|
7113
7113
|
cleaned.append(entry)
|
|
7114
7114
|
for entry in cleaned:
|
|
7115
|
-
entry.export(outfile, level,
|
|
7115
|
+
entry.export(outfile, level, namespaceprefix_, namespacedef_='', name_=entry.__class__.__name__[:-4], pretty_print=pretty_print)
|
|
7116
7116
|
# end class OrderedGroupIndexedType
|
|
7117
7117
|
|
|
7118
7118
|
|
|
@@ -8075,7 +8075,7 @@ class OrderedGroupType(GeneratedsSuper):
|
|
|
8075
8075
|
else:
|
|
8076
8076
|
cleaned.append(entry)
|
|
8077
8077
|
for entry in cleaned:
|
|
8078
|
-
entry.export(outfile, level,
|
|
8078
|
+
entry.export(outfile, level, namespaceprefix_, namespacedef_='', name_=entry.__class__.__name__[:-4], pretty_print=pretty_print)
|
|
8079
8079
|
# end class OrderedGroupType
|
|
8080
8080
|
|
|
8081
8081
|
|
|
@@ -175,6 +175,7 @@ properties:
|
|
|
175
175
|
items:
|
|
176
176
|
type: string
|
|
177
177
|
enum:
|
|
178
|
+
- preprocessing/format-conversion
|
|
178
179
|
- preprocessing/characterization
|
|
179
180
|
- preprocessing/optimization
|
|
180
181
|
- preprocessing/optimization/cropping
|
|
@@ -193,6 +194,10 @@ properties:
|
|
|
193
194
|
- layout/segmentation/word
|
|
194
195
|
- layout/segmentation/classification
|
|
195
196
|
- layout/analysis
|
|
197
|
+
- postprocessing/format-conversion
|
|
198
|
+
- postprocessing/archival
|
|
199
|
+
- evaluation/layout
|
|
200
|
+
- evaluation/text
|
|
196
201
|
resource_locations:
|
|
197
202
|
type: array
|
|
198
203
|
description: The locations in the filesystem this processor supports for resource lookup
|
|
File without changes
|
|
File without changes
|
|
File without changes
|