Dataset Viewer
Auto-converted to Parquet Duplicate
page_id
stringlengths
26
26
image
imagewidth (px)
1.03k
1.03k
width
int32
1.03k
1.03k
height
int32
1.03k
1.03k
doc_category
stringclasses
6 values
collection
stringclasses
27 values
original_filename
stringlengths
7
118
page_no
int32
0
6.23k
page_hash
stringlengths
64
64
layout_prompt
stringclasses
1 value
layout
stringlengths
1.02k
27.3k
ocr_format
stringclasses
2 values
ocr_prompt
stringlengths
120
170
⌀
ocr
stringlengths
1
27.2k
⌀
doclaynet_000000c264503f54
1,025
1,025
government_tenders
eu_tenders
EN-Declaration on Honour.pdf
2
000000c264503f54eea3adfd8fabafe47248c76f7d688cb8f26b4d24876fccbe
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"specification","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025]},...
json
Analyse document doclaynet_000000c264503f54 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "table", "bbox": { "x": 82.6, "y": 128.1, "w": 841.5, "h": 411.6 }, "text": "g) it has been established by a final judgment or final administrative decision that the\nperson has created an entity under a different jurisdiction with the i...
doclaynet_0003579dd4c3ad07
1,025
1,025
financial_reports
ann_reports_00_04_fancy
TSX_TRP_2001.pdf
19
0003579dd4c3ad0771c971afa45e38e60b3d21930113213974ed835198408e0b
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"financial_report","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025...
text
Transcribe all the text in this image exactly as written, preserving diacritics and punctuation. Output plain text only.
MANAGEMENT ’ SDISCUSSIONANDANAL YSIS TRANSMISSION RESULTS-AT-A-GLANCE Year ended December 31 (millions of dollars) 2001 2000 1999 Wholly-Owned Pipelines Alberta System 204 219 219 Canadian Mainline 274 281 285 BC System 5 6 6 483 506 510 North American Pipeline Ventures Great Lakes 56 52 55 TC PipeLines, LP 15 11 7 ...
doclaynet_00058abe155df18b
1,025
1,025
manuals
manuals
refman-8.0-en.pdf
2,399
00058abe155df18b34a492150ca9dac8da2f9904888abd40ac31d04e48899c47
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_mono_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":2,"page_size_px":[1025,1025...
json
Analyse document doclaynet_00058abe155df18b into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 362.5, "y": 48.4, "w": 269.9, "h": 12.0 }, "text": "Functions That Modify JSON Values" }, { "id": "elem_0001_02_01", "kind": "body_text", "bbox": { "x": 157.4, "y": 95.3, "w": 67...
doclaynet_00073b00f3fbd33e
1,025
1,025
manuals
manuals
refman-8.0-en.pdf
4,282
00073b00f3fbd33ef92f0c4902c5c7397c89f07f6a5528c5c97af53c67c4dcc7
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025...
json
Analyse document doclaynet_00073b00f3fbd33e into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 345.1, "y": 48.4, "w": 367.5, "h": 12.0 }, "text": "ndbinfo_select_all — Select From ndbinfo Tables" }, { "id": "elem_0001_02_01", "kind": "table", "bbox": { "x": 187.9, "y": 91.7, ...
doclaynet_000a870b4b735c51
1,025
1,025
manuals
manuals
refman-8.0-en.pdf
1,770
000a870b4b735c5113595d1d5ee6c65b0c8e21d67ead5de8eba2636660109280
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":2,"page_size_px":[1025,1025...
text
Transcribe all the text in this image exactly as written, preserving diacritics and punctuation. Output plain text only.
Limits on Number of Databases and Tables storage format applies when the TempTable storage engine exceeds the temptable_max_ram limit and starts allocating space from disk as memory-mapped files or InnoDB on-disk internal temporary tables. When in-memory internal temporary tables are managed by the MEMORY storage eng...
doclaynet_000c99be085dcee2
1,025
1,025
manuals
manuals
python_reference.pdf
50
000c99be085dcee2bb0b74f9f64d4fdbf4848d3dfc5ae2802226ce8cc6637157
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_serif_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,102...
json
Analyse document doclaynet_000c99be085dcee2 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 817.4, "y": 111.9, "w": 83.6, "h": 42.3 }, "text": "CHAPTER\nFOUR" }, { "id": "elem_0001_02_01", "kind": "heading", "bbox": { "x": 124.0, "y": 281.1, "w": 316.6, "h": 17.5 ...
doclaynet_00124382f76831f1
1,025
1,025
manuals
manuals
OpenShift_Container_Platform-4.5-Applications-en-US.pdf
101
00124382f76831f167b1769d8cf02d292eb44c96d3b48294071bf4ed5a4a383e
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":2,"page_size_px":[1025,1025...
json
Analyse document doclaynet_00124382f76831f1 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 73.3, "y": 7.5, "w": 362.0, "h": 15.3 }, "text": "OpenShift Container Platform 4.5 Applications" }, { "id": "elem_0001_02_01", "kind": "list", "bbox": { "x": 93.1, "y": 49.2, "w"...
doclaynet_0013686ae9460493
1,025
1,025
manuals
manuals
refman-8.0-en.pdf
3,017
0013686ae9460493ba5d3334429b357297122a66571155e7506634d19938765a
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_mono_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025...
json
Analyse document doclaynet_0013686ae9460493 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 439.7, "y": 48.4, "w": 115.4, "h": 12.0 }, "text": "USE Statement" }, { "id": "elem_0001_02_01", "kind": "table", "bbox": { "x": 155.6, "y": 92.2, "w": 548.0, "h": 151.6 ...
doclaynet_0016a916b9fb9540
1,025
1,025
financial_reports
ann_reports_00_04_fancy
NYSE_ATI_2003.pdf
41
0016a916b9fb9540ef5b6e5393951ea6970937809f574e2e87475c1037ef0fdc
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"financial_report","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025...
json
Analyse document doclaynet_0016a916b9fb9540 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "body_text", "bbox": { "x": 92.1, "y": 81.5, "w": 840.1, "h": 100.7 }, "text": "In July 2002, the FASB issued Statement of Financial Accounting Standards No. 146, “Accounting for Costs\nAssociated with Exit or Disposal Activities” (“SFAS...
doclaynet_001805fb51c12c7e
1,025
1,025
manuals
manuals
Pascal - Manual & Report.pdf
149
001805fb51c12c7eb41832c2ea73e41c1c25999a90629fccdbf4f484fded4f04
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_serif_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":2,"page_size_px":[1025,102...
text
Transcribe all the text in this image exactly as written, preserving diacritics and punctuation. Output plain text only.
Textfile Input and Output 133 program PromptExample(Input,Output); var Guess: Integer; begin { Implicit Reset (Input) occurs here. } Writeln('Please enter an integer from 1 and 10.'); Read(Guess) A Pascal implementation not employing the delayed evaluation of Input i will cause a request or wait for data before the ...
doclaynet_001be94613c0016c
1,025
1,025
financial_reports
ann_reports_10_14_fancy
NYSE_AEG_2013.pdf
270
001be94613c0016cdc1dadc399effb005c7c59ffefca45378bc7b2812c100754
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"financial_report","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":4,"page_size_px":[1025,1025...
json
Analyse document doclaynet_001be94613c0016c into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 71.5, "y": 30.2, "w": 529.4, "h": 14.6 }, "text": "270 Notes to the consolidated financial statements of Aegon N.V. Note 50" }, { "id": "elem_0001_02_01", "kind": "heading", "bbox": { "x": 1...
doclaynet_001cd2527fc98483
1,025
1,025
laws_and_regulations
faa_regulations
aim_basic_w_chg_1_2_3_dtd_12-31-20.pdf
626
001cd2527fc98483dd042717b563871742d695f6cd23c8c107bb6e8958965660
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"regulation","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_serif_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025]},"r...
json
Analyse document doclaynet_001cd2527fc98483 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "header", "bbox": { "x": 108.4, "y": 39.6, "w": 36.6, "h": 15.2 }, "text": "AIM" }, { "id": "elem_0001_01_02", "kind": "header", "bbox": { "x": 864.9, "y": 39.6, "w": 51.2, "h": 15.2 }, "te...
doclaynet_001d64aebc759730
1,025
1,025
laws_and_regulations
faa_regulations
FAA-H-8083-1.pdf
72
001d64aebc759730b2a841828fe728781dc0e3b0d124296aaa5d30ec58ee35c7
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"regulation","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_serif_latin","estimated_century":"21st","paper_color":"ivory","ink_color":"black","readability":5,"complexity":1,"page_size_px":[1025,1025]},"r...
json
Analyse document doclaynet_001d64aebc759730 into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "title", "bbox": { "x": 134.6, "y": 96.7, "w": 753.1, "h": 203.7 }, "text": "Chapter 9\nWeight and Balance Control—\nCommuter Category and\nLarge Aircraft" }, { "id": "elem_0001_01_02", "kind": "heading", "bbox": { ...
doclaynet_001f3f378933ff21
1,025
1,025
manuals
manuals
Pascal - Manual & Report.pdf
150
001f3f378933ff21c9313bf70786f3baa72c1afe5e86dc2d84a93f6d0f7578d5
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"technical_manual","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_serif_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":2,"page_size_px":[1025,102...
text
Transcribe all the text in this image exactly as written, preserving diacritics and punctuation. Output plain text only.
134 Pascal User Manual 5. If Ch is a variable of type Cd: or subrange of Char, then Read (F, Ch) assigns the chal Icier at the current position of file F or the value of Fi to I. followed by a Get (F), the choice being implementation- dependent. 6. If a parameter v is of tYll' I nteger or a subrange of Integer then R...
doclaynet_0020677364fcbb2e
1,025
1,025
financial_reports
ann_reports_00_04_fancy
NYSE_DRI_2004.pdf
36
0020677364fcbb2efe8dddc7b7ecc23b2f8686873d709a566bfeaded3f0f21e3
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"financial_report","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_sans_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025...
text
Transcribe all the text in this image exactly as written, preserving diacritics and punctuation. Output plain text only.
Financial Review 2004 Consolidated Statements of Cash Flows Fiscal Year Ended (In thousands) May 30, 2004 May 25, 2003 May 26, 2002 Cash flows – operating activities Net earnings $ 231,462 $ 232,260 $ 237,788 Adjustments to reconcile net earnings to cash flows: Depreciation and amortization 210,004 191,218 165,829 As...
doclaynet_0020bca07097aeae
1,025
1,025
laws_and_regulations
faa_regulations
pilot_handbook.pdf
213
0020bca07097aeae5d0fd9470d74f1ba108768e10e240eb6e5ed5dae8b1f35fa
Detect the ADIP elements on this document page using the ADIP (Arabic Document Intelligence Platform) element taxonomy and give their metadata and structure: the document type and visual metadata; every ADIP element as a hierarchy, i.e. the page, its ADIP regions (slots such as main_text_region, header_region, footer_r...
{"document":{"type":"regulation","script":{"primary":"en","direction":"ltr","diacritics":"none","ligatures":"none","numerals":"western","kashida":"none"},"script_style":"system_serif_latin","estimated_century":"21st","paper_color":"white","ink_color":"black","readability":5,"complexity":3,"page_size_px":[1025,1025]},"r...
json
Analyse document doclaynet_0020bca07097aeae into its content, structure and layout using ADIP elements, giving the id and bounding box of every element. Output JSON only.
[ { "id": "elem_0001_01_01", "kind": "list", "bbox": { "x": 77.6, "y": 56.9, "w": 400.8, "h": 131.1 }, "text": "• Design maneuvering speed (V$_{A}$)—the maximum\nspeed at which the structural design’s limit load can\nbe imposed (either by gusts or full deflection of the\nco...
End of preview. Expand in Data Studio

ADIP-DocLayNet-English

80,544 English document pages from DocLayNet v1.2, re-annotated in the ADIP (Arabic Document Intelligence Platform) document-parsing format. Each page has two supervised records:

  • ADIP layout parsing: the page's document metadata, every element as a hierarchy (page → regions → ADIP element kinds) with boxes on a 0–1000 grid, the reading order, and the relations between elements.
  • Transcription: the page text in reading order, either as ADIP element JSON (id, kind, pixel box, text) or as plain text.

The element kinds, categories and document types come from the ADIP-Naqsh taxonomy (162 element kinds in 9 categories). The records use the same fields and value conventions as ADIP's Arabic document annotations, so English and Arabic pages can be mixed in one training set or evaluated with one parser.

Split Pages ADIP layout records Transcription records (JSON / plain text)
train 69,076 69,076 34,138 / 34,554
validation 6,477 6,477 3,186 / 3,260
test 4,991 4,991 2,493 / 2,458

The splits are DocLayNet's own. A page whose box has no text (for example, a page that is one picture) has a layout record but no transcription. 41 pages whose layout record exceeded about 12k tokens were left out.

Loading

import json
from datasets import load_dataset

ds = load_dataset("ADIP-QCRI/ADIP-DocLayNet-English", split="validation")
row = ds[0]
row["image"]                    # PIL image of the page (JPEG, 1025 x 1025)
layout = json.loads(row["layout"])
row["ocr_format"], row["ocr"]   # "json" or "text"

Columns

Column Content
page_id doclaynet_<first 16 hex digits of the DocLayNet page hash>
image the page image, as in DocLayNet (1025 × 1025 px)
width, height image size in pixels
doc_category, collection, original_filename, page_no, page_hash DocLayNet source metadata
layout_prompt, layout the ADIP layout-parsing instruction and its answer (compact JSON string)
ocr_format, ocr_prompt, ocr json or text, the transcription instruction and its answer

The ADIP layout record

{
  "document": {
    "type": "financial_report",
    "script": {"primary": "en", "direction": "ltr", "diacritics": "none", "ligatures": "none",
               "numerals": "western", "kashida": "none"},
    "script_style": "system_serif_latin", "estimated_century": "21st",
    "paper_color": "white", "ink_color": "black", "readability": 5, "complexity": 3,
    "page_size_px": [1025, 1025]
  },
  "reading_order": ["elem_0001_01", "elem_0001_02"],
  "reading_order_elements": ["elem_0001", "elem_0001_01", "elem_0001_01_01", "..."],
  "elements": [{
    "id": "elem_0001", "slot": "page", "kind": "page", "bbox_2d": [0, 0, 1000, 1000], "level": 0, "...": "...",
    "children": [{
      "id": "elem_0001_01", "slot": "main_text_region", "kind": "body", "bbox_2d": [116, 115, 942, 743],
      "level": 1, "parent": "elem_0001", "script": "en", "direction": "ltr", "layer": 1,
      "filled": true, "fill_ratio": 0.97, "order": 2,
      "children": [{
        "id": "elem_0001_01_01", "kind": "body_text", "category": "structural_body",
        "bbox_2d": [147, 88, 837, 118], "level": 2, "parent": "elem_0001_01",
        "font": "system_serif_latin", "ink": "black", "script": "en", "direction": "ltr",
        "layer": 2, "lines": 2, "order": 3
      }]
    }]
  }],
  "relations": [{"type": "next", "from": "elem_0001_01_01", "to": "elem_0001_01_02"}]
}
  • document: ADIP document type, script profile, script style, estimated century, paper and ink colour, readability (1–5), complexity (1–5) and page size.
  • elements: the page; its regions (header_region, main_text_region, footer_region); and the ADIP elements inside them. Each element has its id, slot or kind, ADIP category, bbox_2d = [x0, y0, x1, y1] on a 0–1000 grid of the page, level, parent, font class, ink colour, script, direction, layer, number of text lines and position in the reading order.
  • reading_order lists the region ids in reading order. reading_order_elements lists every element id in reading order.
  • relations: next between consecutive elements in reading order, and inside for an element whose box lies at least 90% inside a larger element of another region.

The transcription record

  • json: [{"id", "kind", "bbox": {"x", "y", "w", "h"} in pixels, "text"}, ...], one entry per text-bearing element, in reading order. The text comes from the PDF text cells of the element's box, grouped into lines.
  • text: the same text as plain text, one element per paragraph, in reading order.

DocLayNet classes → ADIP element kinds

DocLayNet ADIP kind ADIP category Region
Text body_text structural_body main_text_region
Section-header heading structural_body main_text_region
List-item list structural_body main_text_region
Caption caption structural_body main_text_region
Title title metadata main_text_region
Table table block_assets main_text_region
Picture figure block_assets main_text_region
Formula math_block block_assets main_text_region
Page-header header navigation_reference header_region
Page-footer page_number if the text is a page number, else footer navigation_reference footer_region
Footnote footnote navigation_reference footer_region

DocLayNet document categories map to ADIP document types: financial reports → financial_report, manuals → technical_manual, scientific articles → scientific_article, laws and regulations → regulation, patents → patent, government tenders → specification.

Element counts over all splits: body_text 510,377; list 185,660; heading 142,884; header 58,022; figure 45,976; page_number 39,758; table 34,733; footer 31,120; math_block 25,027; caption 22,524; footnote 6,318; title 5,071.

Derived values

Boxes, classes and text are DocLayNet's own annotations. DocLayNet has no reading order and no visual metadata, so these values are derived by fixed rules. Treat them as estimates:

  • Reading order: the header region left to right, then the main region, then the footer region (footnotes first, then page footers). In the main region, a block wider than 60% of the text area is read on its own; the blocks between such blocks are read column by column, with the column taken from the box centre.
  • Fonts (script_style, element font): system_serif_latin, system_sans_latin or system_mono_latin, from the PDF font names. ADIP's font taxonomy covers Arabic script, and these are the Latin counterparts of its system_serif_arabic and system_sans_arabic classes.
  • Colours: paper_color comes from the page background pixels. ink_color and element ink come from the colour of the PDF text cells.
  • estimated_century: from a year in the source file name, otherwise 21st.
  • readability is 5 (born-digital pages). complexity (1–5) comes from the number of blocks, the number of columns and the number of tables, figures and formulas.
  • Lines: the number of text lines in the element, from its PDF text cells.

License and attribution

This dataset is a modified version of DocLayNet v1.2 and is distributed under the same license, CDLA-Permissive-1.0 (full text in LICENSE). The page images, boxes, classes, text cells and source metadata are © the DocLayNet authors and data providers. The modifications are the ADIP re-annotation described above. If you use this dataset, please cite DocLayNet:

@inproceedings{pfitzmann2022doclaynet,
  title     = {DocLayNet: A Large Human-Annotated Dataset for Document-Layout Segmentation},
  author    = {Pfitzmann, Birgit and Auer, Christoph and Dolfi, Michele and Nassar, Ahmed S. and Staar, Peter},
  booktitle = {Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  pages     = {3743--3751},
  year      = {2022},
  doi       = {10.1145/3534678.3539043}
}

Contact

Ehsan Asgari, easgari@hbku.edu.qa

Downloads last month
-