mirror of
https://github.com/docling-project/docling-core.git
synced 2026-11-18 20:27:00 +00:00
OpenCV's imencode defaults to compression level 1 while PIL's PNG encoder defaults to 6, so PNGs from the cv2 path were 30-60% larger for identical pixels. Regenerated the affected test ground truth. Fixes #758 Signed-off-by: Yiorgis Gozadinos <ggozadinos@gmail.com>
1118 lines
22 KiB
Plaintext
1118 lines
22 KiB
Plaintext
body:
|
|
children:
|
|
- $ref: '#/groups/0'
|
|
- $ref: '#/texts/1'
|
|
- $ref: '#/groups/1'
|
|
- $ref: '#/texts/14'
|
|
- $ref: '#/tables/0'
|
|
- $ref: '#/texts/15'
|
|
- $ref: '#/pictures/0'
|
|
- $ref: '#/texts/16'
|
|
- $ref: '#/pictures/1'
|
|
- $ref: '#/groups/5'
|
|
- $ref: '#/groups/6'
|
|
- $ref: '#/groups/7'
|
|
- $ref: '#/groups/8'
|
|
- $ref: '#/texts/31'
|
|
- $ref: '#/texts/32'
|
|
- $ref: '#/texts/33'
|
|
- $ref: '#/texts/34'
|
|
- $ref: '#/key_value_items/0'
|
|
- $ref: '#/form_items/0'
|
|
- $ref: '#/groups/12'
|
|
- $ref: '#/groups/13'
|
|
- $ref: '#/groups/16'
|
|
- $ref: '#/texts/55'
|
|
content_layer: body
|
|
label: unspecified
|
|
name: _root_
|
|
self_ref: '#/body'
|
|
form_items:
|
|
- captions: []
|
|
children: []
|
|
content_layer: body
|
|
footnotes: []
|
|
graph:
|
|
cells:
|
|
- cell_id: 0
|
|
label: key
|
|
orig: '#'
|
|
text: number
|
|
- cell_id: 1
|
|
label: value
|
|
orig: '1'
|
|
text: '1'
|
|
links:
|
|
- label: to_value
|
|
source_cell_id: 0
|
|
target_cell_id: 1
|
|
- label: to_key
|
|
source_cell_id: 1
|
|
target_cell_id: 0
|
|
label: form
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/form_items/0'
|
|
furniture:
|
|
children: []
|
|
content_layer: furniture
|
|
label: unspecified
|
|
name: _root_
|
|
self_ref: '#/furniture'
|
|
groups:
|
|
- children:
|
|
- $ref: '#/texts/0'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/0'
|
|
- children:
|
|
- $ref: '#/texts/4'
|
|
- $ref: '#/texts/5'
|
|
- $ref: '#/groups/2'
|
|
content_layer: body
|
|
label: chapter
|
|
name: Introduction
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/1'
|
|
- children:
|
|
- $ref: '#/texts/6'
|
|
- $ref: '#/texts/7'
|
|
- $ref: '#/texts/8'
|
|
- $ref: '#/texts/13'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/groups/1'
|
|
self_ref: '#/groups/2'
|
|
- children:
|
|
- $ref: '#/texts/9'
|
|
- $ref: '#/texts/10'
|
|
- $ref: '#/texts/11'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/texts/8'
|
|
self_ref: '#/groups/3'
|
|
- children:
|
|
- $ref: '#/texts/12'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/texts/11'
|
|
self_ref: '#/groups/4'
|
|
- children:
|
|
- $ref: '#/texts/17'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/5'
|
|
- children: []
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/6'
|
|
- children:
|
|
- $ref: '#/texts/18'
|
|
- $ref: '#/texts/19'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/7'
|
|
- children:
|
|
- $ref: '#/texts/20'
|
|
- $ref: '#/texts/21'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/8'
|
|
- children:
|
|
- $ref: '#/texts/22'
|
|
- $ref: '#/texts/23'
|
|
- $ref: '#/texts/27'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/texts/21'
|
|
self_ref: '#/groups/9'
|
|
- children:
|
|
- $ref: '#/texts/24'
|
|
- $ref: '#/texts/25'
|
|
- $ref: '#/texts/26'
|
|
content_layer: body
|
|
label: inline
|
|
name: group
|
|
parent:
|
|
$ref: '#/texts/23'
|
|
self_ref: '#/groups/10'
|
|
- children:
|
|
- $ref: '#/texts/28'
|
|
- $ref: '#/texts/29'
|
|
- $ref: '#/texts/30'
|
|
content_layer: body
|
|
label: inline
|
|
name: group
|
|
parent:
|
|
$ref: '#/texts/27'
|
|
self_ref: '#/groups/11'
|
|
- children:
|
|
- $ref: '#/texts/35'
|
|
- $ref: '#/texts/36'
|
|
- $ref: '#/texts/37'
|
|
- $ref: '#/texts/38'
|
|
- $ref: '#/texts/39'
|
|
- $ref: '#/texts/40'
|
|
- $ref: '#/texts/41'
|
|
- $ref: '#/texts/42'
|
|
- $ref: '#/texts/43'
|
|
- $ref: '#/texts/44'
|
|
content_layer: body
|
|
label: inline
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/12'
|
|
- children:
|
|
- $ref: '#/texts/45'
|
|
- $ref: '#/texts/46'
|
|
- $ref: '#/texts/47'
|
|
- $ref: '#/texts/53'
|
|
content_layer: body
|
|
label: list
|
|
name: list A
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/13'
|
|
- children:
|
|
- $ref: '#/texts/48'
|
|
- $ref: '#/texts/49'
|
|
- $ref: '#/texts/52'
|
|
content_layer: body
|
|
label: list
|
|
name: list B
|
|
parent:
|
|
$ref: '#/texts/47'
|
|
self_ref: '#/groups/14'
|
|
- children:
|
|
- $ref: '#/texts/50'
|
|
- $ref: '#/texts/51'
|
|
content_layer: body
|
|
label: list
|
|
name: list C
|
|
parent:
|
|
$ref: '#/texts/49'
|
|
self_ref: '#/groups/15'
|
|
- children:
|
|
- $ref: '#/texts/54'
|
|
content_layer: body
|
|
label: list
|
|
name: group
|
|
parent:
|
|
$ref: '#/body'
|
|
self_ref: '#/groups/16'
|
|
key_value_items:
|
|
- captions: []
|
|
children: []
|
|
content_layer: body
|
|
footnotes: []
|
|
graph:
|
|
cells:
|
|
- cell_id: 0
|
|
label: key
|
|
orig: '#'
|
|
text: number
|
|
- cell_id: 1
|
|
label: value
|
|
orig: '1'
|
|
text: '1'
|
|
links:
|
|
- label: to_value
|
|
source_cell_id: 0
|
|
target_cell_id: 1
|
|
- label: to_key
|
|
source_cell_id: 1
|
|
target_cell_id: 0
|
|
label: key_value_region
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/key_value_items/0'
|
|
name: Untitled 1
|
|
pages: {}
|
|
pictures:
|
|
- annotations: []
|
|
captions:
|
|
- $ref: '#/texts/15'
|
|
children: []
|
|
content_layer: body
|
|
footnotes: []
|
|
label: picture
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/pictures/0'
|
|
- annotations: []
|
|
captions:
|
|
- $ref: '#/texts/16'
|
|
children: []
|
|
content_layer: body
|
|
footnotes: []
|
|
image:
|
|
dpi: 72
|
|
mimetype: image/png
|
|
size:
|
|
height: 64.0
|
|
width: 64.0
|
|
uri: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAAIklEQVRoge3BAQ0AAADCoPdPbQ8HFAAAAAAAAAAAAAAA8G4wQAAB9qDgAAAAAABJRU5ErkJggg==
|
|
label: picture
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/pictures/1'
|
|
schema_name: DoclingDocument
|
|
tables:
|
|
- annotations: []
|
|
captions:
|
|
- $ref: '#/texts/14'
|
|
children: []
|
|
content_layer: body
|
|
data:
|
|
grid:
|
|
- - col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 1
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 2
|
|
start_col_offset_idx: 0
|
|
start_row_offset_idx: 0
|
|
text: Product
|
|
- col_span: 2
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 1
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 0
|
|
text: Years
|
|
- col_span: 2
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 1
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 0
|
|
text: Years
|
|
- - col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 1
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 2
|
|
start_col_offset_idx: 0
|
|
start_row_offset_idx: 0
|
|
text: Product
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 2
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 1
|
|
text: '2016'
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 2
|
|
start_row_offset_idx: 1
|
|
text: '2017'
|
|
- - col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 1
|
|
end_row_offset_idx: 3
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 0
|
|
start_row_offset_idx: 2
|
|
text: Apple
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 2
|
|
end_row_offset_idx: 3
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 2
|
|
text: '49823'
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 3
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 2
|
|
start_row_offset_idx: 2
|
|
text: '695944'
|
|
num_cols: 3
|
|
num_rows: 3
|
|
orientation: rot_0
|
|
table_cells:
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 1
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 2
|
|
start_col_offset_idx: 0
|
|
start_row_offset_idx: 0
|
|
text: Product
|
|
- col_span: 2
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 1
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 0
|
|
text: Years
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 2
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 1
|
|
text: '2016'
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 2
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 2
|
|
start_row_offset_idx: 1
|
|
text: '2017'
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 1
|
|
end_row_offset_idx: 3
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 0
|
|
start_row_offset_idx: 2
|
|
text: Apple
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 2
|
|
end_row_offset_idx: 3
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 1
|
|
start_row_offset_idx: 2
|
|
text: '49823'
|
|
- col_span: 1
|
|
column_header: false
|
|
end_col_offset_idx: 3
|
|
end_row_offset_idx: 3
|
|
fillable: false
|
|
row_header: false
|
|
row_section: false
|
|
row_span: 1
|
|
start_col_offset_idx: 2
|
|
start_row_offset_idx: 2
|
|
text: '695944'
|
|
footnotes: []
|
|
label: table
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/tables/0'
|
|
texts:
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: item of leading list
|
|
parent:
|
|
$ref: '#/groups/0'
|
|
prov: []
|
|
self_ref: '#/texts/0'
|
|
text: item of leading list
|
|
- children:
|
|
- $ref: '#/texts/2'
|
|
- $ref: '#/texts/3'
|
|
content_layer: body
|
|
label: title
|
|
orig: Title of the Document
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/1'
|
|
text: Title of the Document
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Author 1
|
|
|
|
Affiliation 1'
|
|
parent:
|
|
$ref: '#/texts/1'
|
|
prov: []
|
|
self_ref: '#/texts/2'
|
|
text: 'Author 1
|
|
|
|
Affiliation 1'
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Author 2
|
|
|
|
Affiliation 2'
|
|
parent:
|
|
$ref: '#/texts/1'
|
|
prov: []
|
|
self_ref: '#/texts/3'
|
|
text: 'Author 2
|
|
|
|
Affiliation 2'
|
|
- children: []
|
|
content_layer: body
|
|
label: section_header
|
|
level: 1
|
|
orig: 1. Introduction
|
|
parent:
|
|
$ref: '#/groups/1'
|
|
prov: []
|
|
self_ref: '#/texts/4'
|
|
text: 1. Introduction
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: This paper introduces the biggest invention ever made. ...
|
|
parent:
|
|
$ref: '#/groups/1'
|
|
prov: []
|
|
self_ref: '#/texts/5'
|
|
text: This paper introduces the biggest invention ever made. ...
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: list item 1
|
|
parent:
|
|
$ref: '#/groups/2'
|
|
prov: []
|
|
self_ref: '#/texts/6'
|
|
text: list item 1
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: list item 2
|
|
parent:
|
|
$ref: '#/groups/2'
|
|
prov: []
|
|
self_ref: '#/texts/7'
|
|
text: list item 2
|
|
- children:
|
|
- $ref: '#/groups/3'
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: list item 3
|
|
parent:
|
|
$ref: '#/groups/2'
|
|
prov: []
|
|
self_ref: '#/texts/8'
|
|
text: list item 3
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: list item 3.a
|
|
parent:
|
|
$ref: '#/groups/3'
|
|
prov: []
|
|
self_ref: '#/texts/9'
|
|
text: list item 3.a
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: list item 3.b
|
|
parent:
|
|
$ref: '#/groups/3'
|
|
prov: []
|
|
self_ref: '#/texts/10'
|
|
text: list item 3.b
|
|
- children:
|
|
- $ref: '#/groups/4'
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: list item 3.c
|
|
parent:
|
|
$ref: '#/groups/3'
|
|
prov: []
|
|
self_ref: '#/texts/11'
|
|
text: list item 3.c
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: list item 3.c.i
|
|
parent:
|
|
$ref: '#/groups/4'
|
|
prov: []
|
|
self_ref: '#/texts/12'
|
|
text: list item 3.c.i
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: list item 4
|
|
parent:
|
|
$ref: '#/groups/2'
|
|
prov: []
|
|
self_ref: '#/texts/13'
|
|
text: list item 4
|
|
- children: []
|
|
content_layer: body
|
|
label: caption
|
|
orig: This is the caption of table 1.
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/14'
|
|
text: This is the caption of table 1.
|
|
- children: []
|
|
content_layer: body
|
|
label: caption
|
|
orig: This is the caption of figure 1.
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/15'
|
|
text: This is the caption of figure 1.
|
|
- children: []
|
|
content_layer: body
|
|
label: caption
|
|
orig: This is the caption of figure 2.
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/16'
|
|
text: This is the caption of figure 2.
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: item 1 of list
|
|
parent:
|
|
$ref: '#/groups/5'
|
|
prov: []
|
|
self_ref: '#/texts/17'
|
|
text: item 1 of list
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: '*'
|
|
orig: item 1 of list after empty list
|
|
parent:
|
|
$ref: '#/groups/7'
|
|
prov: []
|
|
self_ref: '#/texts/18'
|
|
text: item 1 of list after empty list
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: ''
|
|
orig: item 2 of list after empty list
|
|
parent:
|
|
$ref: '#/groups/7'
|
|
prov: []
|
|
self_ref: '#/texts/19'
|
|
text: item 2 of list after empty list
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: item 1 of neighboring list
|
|
parent:
|
|
$ref: '#/groups/8'
|
|
prov: []
|
|
self_ref: '#/texts/20'
|
|
text: item 1 of neighboring list
|
|
- children:
|
|
- $ref: '#/groups/9'
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A0"
|
|
orig: item 2 of neighboring list
|
|
parent:
|
|
$ref: '#/groups/8'
|
|
prov: []
|
|
self_ref: '#/texts/21'
|
|
text: item 2 of neighboring list
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A1"
|
|
orig: item 1 of sub list
|
|
parent:
|
|
$ref: '#/groups/9'
|
|
prov: []
|
|
self_ref: '#/texts/22'
|
|
text: item 1 of sub list
|
|
- children:
|
|
- $ref: '#/groups/10'
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A1"
|
|
orig: ''
|
|
parent:
|
|
$ref: '#/groups/9'
|
|
prov: []
|
|
self_ref: '#/texts/23'
|
|
text: ''
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Here a code snippet:'
|
|
parent:
|
|
$ref: '#/groups/10'
|
|
prov: []
|
|
self_ref: '#/texts/24'
|
|
text: 'Here a code snippet:'
|
|
- captions: []
|
|
children: []
|
|
code_language: Python
|
|
content_layer: body
|
|
footnotes: []
|
|
label: code
|
|
orig: print("Hello world")
|
|
parent:
|
|
$ref: '#/groups/10'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/texts/25'
|
|
text: print("Hello world")
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: (to be displayed inline)
|
|
parent:
|
|
$ref: '#/groups/10'
|
|
prov: []
|
|
self_ref: '#/texts/26'
|
|
text: (to be displayed inline)
|
|
- children:
|
|
- $ref: '#/groups/11'
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: "\u25A1"
|
|
orig: ''
|
|
parent:
|
|
$ref: '#/groups/9'
|
|
prov: []
|
|
self_ref: '#/texts/27'
|
|
text: ''
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Here a formula:'
|
|
parent:
|
|
$ref: '#/groups/11'
|
|
prov: []
|
|
self_ref: '#/texts/28'
|
|
text: 'Here a formula:'
|
|
- children: []
|
|
content_layer: body
|
|
label: formula
|
|
orig: E=mc^2
|
|
parent:
|
|
$ref: '#/groups/11'
|
|
prov: []
|
|
self_ref: '#/texts/29'
|
|
text: E=mc^2
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: (to be displayed inline)
|
|
parent:
|
|
$ref: '#/groups/11'
|
|
prov: []
|
|
self_ref: '#/texts/30'
|
|
text: (to be displayed inline)
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Here a code block:'
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/31'
|
|
text: 'Here a code block:'
|
|
- captions: []
|
|
children: []
|
|
code_language: Python
|
|
content_layer: body
|
|
footnotes: []
|
|
label: code
|
|
orig: print("Hello world")
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
references: []
|
|
self_ref: '#/texts/32'
|
|
text: print("Hello world")
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Here a formula block:'
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/33'
|
|
text: 'Here a formula block:'
|
|
- children: []
|
|
content_layer: body
|
|
label: formula
|
|
orig: E=mc^2
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/34'
|
|
text: E=mc^2
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: 'Some formatting chops:'
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/35'
|
|
text: 'Some formatting chops:'
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: true
|
|
italic: false
|
|
script: baseline
|
|
strikethrough: false
|
|
underline: false
|
|
label: text
|
|
orig: bold
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/36'
|
|
text: bold
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: false
|
|
italic: true
|
|
script: baseline
|
|
strikethrough: false
|
|
underline: false
|
|
label: text
|
|
orig: italic
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/37'
|
|
text: italic
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: false
|
|
italic: false
|
|
script: baseline
|
|
strikethrough: false
|
|
underline: true
|
|
label: text
|
|
orig: underline
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/38'
|
|
text: underline
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: false
|
|
italic: false
|
|
script: baseline
|
|
strikethrough: true
|
|
underline: false
|
|
label: text
|
|
orig: strikethrough
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/39'
|
|
text: strikethrough
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: false
|
|
italic: false
|
|
script: sub
|
|
strikethrough: false
|
|
underline: false
|
|
label: text
|
|
orig: subscript
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/40'
|
|
text: subscript
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: false
|
|
italic: false
|
|
script: super
|
|
strikethrough: false
|
|
underline: false
|
|
label: text
|
|
orig: superscript
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/41'
|
|
text: superscript
|
|
- children: []
|
|
content_layer: body
|
|
hyperlink: .
|
|
label: text
|
|
orig: hyperlink
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/42'
|
|
text: hyperlink
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: '&'
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/43'
|
|
text: '&'
|
|
- children: []
|
|
content_layer: body
|
|
formatting:
|
|
bold: true
|
|
italic: true
|
|
script: baseline
|
|
strikethrough: true
|
|
underline: true
|
|
hyperlink: https://github.com/DS4SD/docling
|
|
label: text
|
|
orig: everything at the same time.
|
|
parent:
|
|
$ref: '#/groups/12'
|
|
prov: []
|
|
self_ref: '#/texts/44'
|
|
text: everything at the same time.
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: (i)
|
|
orig: Item 1 in A
|
|
parent:
|
|
$ref: '#/groups/13'
|
|
prov: []
|
|
self_ref: '#/texts/45'
|
|
text: Item 1 in A
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: (ii)
|
|
orig: Item 2 in A
|
|
parent:
|
|
$ref: '#/groups/13'
|
|
prov: []
|
|
self_ref: '#/texts/46'
|
|
text: Item 2 in A
|
|
- children:
|
|
- $ref: '#/groups/14'
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: (iii)
|
|
orig: Item 3 in A
|
|
parent:
|
|
$ref: '#/groups/13'
|
|
prov: []
|
|
self_ref: '#/texts/47'
|
|
text: Item 3 in A
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: Item 1 in B
|
|
parent:
|
|
$ref: '#/groups/14'
|
|
prov: []
|
|
self_ref: '#/texts/48'
|
|
text: Item 1 in B
|
|
- children:
|
|
- $ref: '#/groups/15'
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: '42.'
|
|
orig: Item 2 in B
|
|
parent:
|
|
$ref: '#/groups/14'
|
|
prov: []
|
|
self_ref: '#/texts/49'
|
|
text: Item 2 in B
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: Item 1 in C
|
|
parent:
|
|
$ref: '#/groups/15'
|
|
prov: []
|
|
self_ref: '#/texts/50'
|
|
text: Item 1 in C
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: Item 2 in C
|
|
parent:
|
|
$ref: '#/groups/15'
|
|
prov: []
|
|
self_ref: '#/texts/51'
|
|
text: Item 2 in C
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: ''
|
|
orig: Item 3 in B
|
|
parent:
|
|
$ref: '#/groups/14'
|
|
prov: []
|
|
self_ref: '#/texts/52'
|
|
text: Item 3 in B
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: true
|
|
label: list_item
|
|
marker: (iv)
|
|
orig: Item 4 in A
|
|
parent:
|
|
$ref: '#/groups/13'
|
|
prov: []
|
|
self_ref: '#/texts/53'
|
|
text: Item 4 in A
|
|
- children: []
|
|
content_layer: body
|
|
enumerated: false
|
|
label: list_item
|
|
marker: ''
|
|
orig: List item without parent list group
|
|
parent:
|
|
$ref: '#/groups/16'
|
|
prov: []
|
|
self_ref: '#/texts/54'
|
|
text: List item without parent list group
|
|
- children: []
|
|
content_layer: body
|
|
label: text
|
|
orig: The end.
|
|
parent:
|
|
$ref: '#/body'
|
|
prov: []
|
|
self_ref: '#/texts/55'
|
|
text: The end.
|
|
version: 1.10.0
|