Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -55,3 +55,91 @@ configs:
|
|
55 |
- split: train
|
56 |
path: data/train-*
|
57 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
- split: train
|
56 |
path: data/train-*
|
57 |
---
|
58 |
+
|
59 |
+
# Dataset Card for "domsdatabasen
|
60 |
+
|
61 |
+
## Dataset Description
|
62 |
+
|
63 |
+
- **Point of Contact:** [Oliver Kinch](mailto:[email protected])
|
64 |
+
- **Size of dataset:** 199 MB
|
65 |
+
|
66 |
+
### Dataset Summary
|
67 |
+
|
68 |
+
[Domsdatabasen](https://domsdatabasen.dk/) is a database where you can find and read selected judgments delivered by the Danish Courts.
|
69 |
+
Each judgment/case is paired with tabular data and a case-descriptive PDF.
|
70 |
+
|
71 |
+
This dataset is a collection of all these cases, with each sample describing a specific judgment/case.
|
72 |
+
|
73 |
+
|
74 |
+
### Languages
|
75 |
+
|
76 |
+
The dataset is available in Danish (`da`).
|
77 |
+
|
78 |
+
## Dataset Structure
|
79 |
+
|
80 |
+
An example from the dataset looks as follows.
|
81 |
+
|
82 |
+
```
|
83 |
+
{
|
84 |
+
"case_id": "id of case/judgment",
|
85 |
+
"tabular_data": {
|
86 |
+
"Overskift": "some title",
|
87 |
+
"Sagstype": "type of case",
|
88 |
+
...
|
89 |
+
}
|
90 |
+
"text": "pdf text",
|
91 |
+
"text_anon": "anonymized pdf text"
|
92 |
+
"text_len": <number of chars in text>,
|
93 |
+
"text_anon_len": <number of chars in anonymized text>
|
94 |
+
}
|
95 |
+
```
|
96 |
+
|
97 |
+
### Data Fields
|
98 |
+
|
99 |
+
- `case_id`: a `string` feature.
|
100 |
+
- `tabular_data`: a `dict` feature.
|
101 |
+
- `text`: a `string` feature.
|
102 |
+
- `text_anon`: a `string` feature.
|
103 |
+
- `text_len`: an `int` feature.
|
104 |
+
- `text_anon_len`: an `int` feature.
|
105 |
+
|
106 |
+
|
107 |
+
### Dataset Statistics
|
108 |
+
|
109 |
+
#### Number of samples
|
110 |
+
|
111 |
+
- 3919
|
112 |
+
|
113 |
+
#### PDF Text Length Distribution
|
114 |
+
|
115 |
+
- Minimum length: 192
|
116 |
+
- Maximum length: 2101736
|
117 |
+
|
118 |
+

|
119 |
+
|
120 |
+
## Potential Dataset Issues
|
121 |
+
|
122 |
+
See [open issues](https://github.com/oliverkinch/doms_databasen/issues)
|
123 |
+
|
124 |
+
|
125 |
+
## Dataset Creation
|
126 |
+
|
127 |
+
### Curation Rationale
|
128 |
+
|
129 |
+
There are not many large-scale law datasets in Danish.
|
130 |
+
|
131 |
+
### Source Data
|
132 |
+
|
133 |
+
The dataset has been scraped from [Domsdatabasen](https://domsdatabasen.dk/)
|
134 |
+
|
135 |
+
## Additional Information
|
136 |
+
|
137 |
+
### Dataset Curators
|
138 |
+
|
139 |
+
[Oliver Kinch](https://huggingface.co/oliverkinch) from the [The Alexandra
|
140 |
+
Institute](https://alexandra.dk/)
|
141 |
+
|
142 |
+
### Licensing Information
|
143 |
+
|
144 |
+
The dataset is licensed under the [CC0
|
145 |
+
license](https://creativecommons.org/share-your-work/public-domain/cc0/).
|