File size: 2,950 Bytes
7301adc
 
 
4366aa4
7301adc
 
 
 
 
e266e3c
1202885
 
e266e3c
1202885
7301adc
e266e3c
1202885
4366aa4
e266e3c
7301adc
 
 
 
 
1202885
 
7301adc
 
e266e3c
 
 
 
 
 
 
 
 
 
7301adc
e266e3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
dataset_info:
  features:
  - name: image
    dtype: image
  - name: gt_json
    dtype: string
  splits:
  - name: train
    num_bytes: 112840658
    num_examples: 109
  - name: val
    num_bytes: 10941585
    num_examples: 10
  - name: test
    num_bytes: 27477418
    num_examples: 26
  download_size: 150586805
  dataset_size: 151259661
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: val
    path: data/val-*
  - split: test
    path: data/test-*
license: apache-2.0
task_categories:
- text-generation
language:
- pl
tags:
- legal
pretty_name: Polish Insurance Terms Structuring
size_categories:
- n<1K
---


A dataset for the task of document structuring (parsing) Polish legal documents with nested lists.


The dataset contains 2 columns:
- `image`: pdf pages converted to 1080x1440 images,
- `gt_json`: a json containing a list of detected objects under `gt_parse` key.


The detected objects in the `gt_json` column are specified as follows:

| Object Type | Keys | Description |
|-------------|------|-------------|
| Heading | content | Represents a heading-like loose block of text. |
| List | title, items | A collection of items, which can be an element, an overflowing element, or another list. |
| Element | content | A basic unit of content within a list (along with the list prefix, *e.g.* "1.") or a loose block of text. |
| Overflowing Element | content | Content that continues from the main list or element, but isn't part of the standard list flow. |
| Element Continuation | content | Content that continues from an element on the previous page. |
| List Continuation | items | List continuation from the previous page; items can be an element, an overflowing element, or another list. |


All images were obtained from Polish insurance companies official websites. All sources are provided below:

- [01-OWU-Compensa-Komunikacja](https://www.compensa.pl/app/owu/fileadmin/user_upload/OWU/OWU_Compensa_Komunikacja.pdf)
- [03-OWU-PZU-Wojazer](https://www.pzu.pl/_fileserver/item/1538261)
- [04-OWU-PZU-Jachty](https://www.pzu.pl/_fileserver/item/1513488)
- [05-OWU-PZU-Auto](https://www.pzu.pl/_fileserver/item/1553025)
- [06-OWU-Compensa-Rodzina](https://www.compensa.pl/app/uploads/2024/06/OWU-Compensa-Rodzina-IV-wersja-jednolita-z-aneksem-nr-3_dla-umow-zawieranych-od-15.06.23_nowy-kapital.pdf)
- [07-OWU-Compensa-Zdrowie](https://www.compensa.pl/app/uploads/2022/11/OWU-Compensa-Zdrowie-270-2022-1.pdf)
- [08-OWU-Compensa-NNW](https://www.compensa.pl/app/uploads/2024/06/OWU_NNW-2024.pdf)
- [10-OWU-PZU-NNW](https://www.pzu.pl/_fileserver/item/1513529)
- [11-OWU-ErgoHestia-Zycie](https://cdn.bsbox.pl/files/hestia/NTc7MDA_/90a42ad9b4f9165e24d889ebba6c0afc_documents-c10b63ff-85aa-4f33-975d-3b06b14caea8.pdf)
- [12-OWU-ErgoHestia-Motopakiet](https://cdn.bsbox.pl/files/hestia/ODQ7MDA_/c11b39b09cfcf3f33eb4b5595e7dd088_documents-2cc88278-bd70-49d1-8d8b-0e72101d2e72.pdf)