Datasets:
File size: 3,780 Bytes
5fc7ea6 49684dc 5fc7ea6 49684dc 5fc7ea6 49684dc 5fc7ea6 49684dc 5fc7ea6 59525a8 5fc7ea6 f228089 8082349 f228089 374b2b2 f228089 374b2b2 da052e1 374b2b2 f228089 c1134ec f228089 da052e1 f228089 da052e1 f228089 da052e1 f228089 da052e1 f228089 da052e1 f228089 da052e1 f228089 96b6aa7 |
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
---
dataset_info:
features:
- name: case_id
dtype: string
- name: Overskrift
dtype: string
- name: Afgørelsesstatus
dtype: string
- name: Faggruppe
dtype: string
- name: Ret
dtype: string
- name: Rettens sagsnummer
dtype: string
- name: Sagstype
dtype: string
- name: Instans
dtype: string
- name: Domsdatabasens sagsnummer
dtype: string
- name: Sagsemner
dtype: string
- name: Særlige retsskridt
dtype: string
- name: Sagsdeltagere
dtype: string
- name: Dørlukning
dtype: string
- name: Løftet ud af småsagsprocessen
dtype: string
- name: Anerkendelsespåstand
dtype: string
- name: Politiets journalnummer
dtype: string
- name: Påstandsbeløb
dtype: string
- name: Sagskomplekser
dtype: string
- name: text
dtype: string
- name: text_anonymized
dtype: string
- name: text_len
dtype: int64
- name: text_anon_len
dtype: int64
splits:
- name: train
num_bytes: 193593176
num_examples: 3917
download_size: 96435472
dataset_size: 193593176
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
language:
- da
task_categories:
- text-generation
size_categories:
- 1K<n<10K
---
# Dataset Card for "domsdatabasen"
## Dataset Description
- **Point of Contact:** [Oliver Kinch](mailto:[email protected])
- **Size of dataset:** 199 MB
### Dataset Summary
[Domsdatabasen](https://domsdatabasen.dk/) is a database where you can find and read selected judgments delivered by the Danish Courts.
Each judgment/case consists of tabular data and a case-descriptive PDF. This dataset collects all these cases, with each sample describing a specific judgment/case.
The PDFs are anonymized to protect sensitive information. Therefore, each sample includes two text versions:
- `text_anon` (with anonymization tags: \<anonym\>"Some sensitive text"\</anonym\>).
- `text` (without anonymization tags).
`text_anon` is read with [Easyocr](https://github.com/JaidedAI/EasyOCR).
`text` is read with [Easyocr](https://github.com/JaidedAI/EasyOCR) or [Tika-python](https://github.com/chrismattmann/tika-python)
depending on the PDF and the anonymization method used.
`text_anon` will be empty if no anonymization is detected in the PDF.
### Languages
The dataset is available in Danish (`da`).
## Dataset Structure
An example from the dataset looks as follows.
```
{
"case_id": "id of case/judgment",
... The tabualar string data ...,
"text": "pdf text",
"text_anon": "anonymized pdf text"
"text_len": <number of chars in text>,
"text_anon_len": <number of chars in anonymized text>
}
```
### Data Fields
- `case_id`: a `string` feature.
- `text`: a `string` feature.
- `text_anon`: a `string` feature.
- `text_len`: an `int` feature.
- `text_anon_len`: an `int` feature.
### Dataset Statistics
#### Size of dataset
With the PDF texts being provided in two versions, `text` and `text_anon`, the total size of all PDF texts is approximately ~199//2 MB.
#### Number of samples
- 3919
#### PDF Text Length Distribution
Statistics based on `text`.
- Minimum length: 192
- Maximum length: 2101736
![image/png](https://cdn-uploads.huggingface.co/production/uploads/61e0713ac50610f535ed2c88/YTBH-nSHd2b4z6LIjeMF-.png)
## Potential Dataset Issues
See [open issues](https://github.com/oliverkinch/doms_databasen/issues).
## Dataset Creation
### Curation Rationale
There are not many large-scale law datasets in Danish.
### Source Data
The dataset has been scraped from [Domsdatabasen](https://domsdatabasen.dk/).
## Additional Information
### Dataset Curators
[Oliver Kinch](https://huggingface.co/oliverkinch) from the [The Alexandra
Institute](https://alexandra.dk/) |