File size: 7,924 Bytes
36124e0 809308d 88941de 36124e0 a45391e 36124e0 a45391e 36124e0 19fd74e a45391e 19fd74e a45391e 80d5774 a45391e 88941de a45391e 88941de a45391e 88941de a45391e 88941de a45391e 88941de a45391e a2ecd8a a45391e a2ecd8a a45391e 88941de a45391e 36124e0 809308d 36124e0 a45391e 36124e0 a45391e 80d5774 a45391e 88941de a2ecd8a a45391e 3755a1a |
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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 |
---
dataset_info:
- config_name: constitution
features:
- name: article_n
dtype: int64
- name: article_commas
struct:
- name: '1'
dtype: string
- name: '10'
dtype: string
- name: '11'
dtype: string
- name: '12'
dtype: string
- name: '2'
dtype: string
- name: '3'
dtype: string
- name: '4'
dtype: string
- name: '5'
dtype: string
- name: '6'
dtype: string
- name: '7'
dtype: string
- name: '8'
dtype: string
- name: '9'
dtype: string
splits:
- name: it
num_bytes: 70944
num_examples: 139
- name: en
num_bytes: 69749
num_examples: 139
- name: fr
num_bytes: 77000
num_examples: 139
- name: es
num_bytes: 76072
num_examples: 139
download_size: 225640
dataset_size: 293765
- config_name: en
features:
- name: id
dtype: string
- name: ruling_type
dtype: int64
- name: epigraph
dtype: string
- name: body
dtype: string
- name: decision
dtype: string
- name: maxims_text
dtype: string
- name: maxims_title
dtype: string
- name: full_text
dtype: string
- name: num_maxims
dtype: int64
- name: maxims_len
dtype: int64
- name: full_text_len
dtype: int64
- name: judgment_type
dtype: int64
- name: constitutional_parameters
dtype: string
- name: maxims
dtype: string
splits:
- name: train
num_bytes: 555145830
num_examples: 12600
- name: test
num_bytes: 30737608
num_examples: 700
- name: validation
num_bytes: 31671019
num_examples: 700
download_size: 278441383
dataset_size: 617554457
- config_name: es
features:
- name: id
dtype: string
- name: ruling_type
dtype: int64
- name: epigraph
dtype: string
- name: body
dtype: string
- name: decision
dtype: string
- name: maxims_text
dtype: string
- name: maxims_title
dtype: string
- name: full_text
dtype: string
- name: num_maxims
dtype: int64
- name: maxims_len
dtype: int64
- name: full_text_len
dtype: int64
- name: judgment_type
dtype: int64
- name: constitutional_parameters
dtype: string
- name: maxims
dtype: string
splits:
- name: train
num_bytes: 575679719
num_examples: 12600
- name: test
num_bytes: 31896832
num_examples: 700
- name: validation
num_bytes: 32827830
num_examples: 700
download_size: 300803577
dataset_size: 640404381
- config_name: fr
features:
- name: id
dtype: string
- name: ruling_type
dtype: int64
- name: epigraph
dtype: string
- name: body
dtype: string
- name: decision
dtype: string
- name: maxims_text
dtype: string
- name: maxims_title
dtype: string
- name: full_text
dtype: string
- name: num_maxims
dtype: int64
- name: maxims_len
dtype: int64
- name: full_text_len
dtype: int64
- name: judgment_type
dtype: int64
- name: constitutional_parameters
dtype: string
- name: maxims
dtype: string
splits:
- name: train
num_bytes: 580985816
num_examples: 12600
- name: test
num_bytes: 32177379
num_examples: 700
- name: validation
num_bytes: 33152939
num_examples: 700
download_size: 306338176
dataset_size: 646316134
- config_name: it
features:
- name: id
dtype: string
- name: ruling_type
dtype: int64
- name: epigraph
dtype: string
- name: body
dtype: string
- name: decision
dtype: string
- name: maxims_text
dtype: string
- name: maxims_title
dtype: string
- name: full_text
dtype: string
- name: num_maxims
dtype: int64
- name: maxims_len
dtype: int64
- name: full_text_len
dtype: int64
- name: judgment_type
dtype: int64
- name: constitutional_parameters
dtype: string
- name: maxims
dtype: string
splits:
- name: train
num_bytes: 557553146
num_examples: 12600
- name: test
num_bytes: 30850184
num_examples: 700
- name: validation
num_bytes: 31775341
num_examples: 700
download_size: 293523614
dataset_size: 620178671
configs:
- config_name: constitution
data_files:
- split: it
path: constitution/it-*
- split: en
path: constitution/en-*
- split: fr
path: constitution/fr-*
- split: es
path: constitution/es-*
- config_name: en
data_files:
- split: train
path: en/train-*
- split: test
path: en/test-*
- split: validation
path: en/validation-*
- config_name: es
data_files:
- split: train
path: es/train-*
- split: test
path: es/test-*
- split: validation
path: es/validation-*
- config_name: fr
data_files:
- split: train
path: fr/train-*
- split: test
path: fr/test-*
- split: validation
path: fr/validation-*
- config_name: it
data_files:
- split: train
path: it/train-*
- split: test
path: it/test-*
- split: validation
path: it/validation-*
---
### Dataset Summary
COMMA is a constitutional multi-task and multi-lingual archive consisting of 14K CCIR rulings with expert-authored annotations. It embodies distinctive features that render it a valuable object of study for broader NLP research.
### Languages
Italian, English, Spanish, French
## Dataset
### Data Fields
The dataset contains a list of instances (rulings); each instance contains the following data:
| Field | Description |
|-------------------------: | ------------------------------------------------: |
| id | `(str)` The ruling ID |
| ruling_type | `(int)` The ruling type |
| epigraph | `(str)` The ruling epigraph |
| text | `(str)` The ruling text |
| decision | `(str)` The ruling decision |
| maxims_text | `(str)` The text of ruling maxims |
| maxims_title | `(str)` The title of ruling maxims |
| full_text | `(str)` The ruling full_text |
| num_maxims | `(int)` The number of maxims |
| maxims_len | `(int)` The length of maxims |
| full_text_len | `(int)` The length of the full text |
| judgment_type | `(int)` The judgment type |
| constitutional_parameters | `(List[List[str]])` The constitutional parameters |
| maxims | `(dict)` The maxims' numbers, texts, and titles |
Please check the exemplar usage below for loading the data:
```python
from datasets import load_dataset
comma_en = load_dataset("disi-unibo-nlp/COMMA", "en")
# Download comma_en locally and load it as a Dataset object.
example = comma_en["validation"][0] # The first instance of the dev set
example["full_text"] # The full text (i.e., epigraph + text + decision) for the ruling
print(example['maxims_title']) # The corresponding maxims title for the ruling
```
### Data Splits
| IT | Instances |
| ----------: | --------: |
| Train (90%) | 12,600 |
| Test (5%) | 700 |
| Dev (5%) | 700 |
| EN | Instances |
| ----------: | --------: |
| Train (90%) | 12,600 |
| Test (5%) | 700 |
| Dev (5%) | 700 |
| ES | Instances |
| ----------: | --------: |
| Train (90%) | 12,600 |
| Test (5%) | 700 |
| Dev (5%) | 700 |
| FR | Instances |
| ----------: | --------: |
| Train (90%) | 12,600 |
| Test (5%) | 700 |
| Dev (5%) | 700 |
|