Datasets:

Multilinguality:
multilingual
Size Categories:
10M<n<100M
Language Creators:
found
Annotations Creators:
other
Source Datasets:
original
ArXiv:
License:
joelniklaus commited on
Commit
f66af21
1 Parent(s): 4d2c440

added jurisdiction default value and added more datasets to dataset_loader script

Browse files
Files changed (1) hide show
  1. Multi_Legal_Pile.py +5 -3
Multi_Legal_Pile.py CHANGED
@@ -34,20 +34,21 @@ _DATA_NAME = {
34
  "legislation": ["denmark_ddsc"],
35
  },
36
  "de": {
37
- "caselaw": ["germany_openlegaldata"],
38
  "legislation": ["germany_openlegaldata", "switzerland_lexfind"],
39
  },
40
  "en": {
41
  "legislation": ["switzerland_lexfind"],
42
  },
43
  "fr": {
44
- "caselaw": ["belgium_jurportal", "france_cass", "luxembourg_judoc"],
45
  "legislation": ["belgium_ejustice", "switzerland_lexfind"],
46
  },
47
  "hu": {
48
- "caselaw": ["hungary_marcell"],
49
  },
50
  "it": {
 
51
  "legislation": ["switzerland_lexfind"],
52
  },
53
  "nl": {
@@ -244,6 +245,7 @@ class MultiLegalPile(datasets.GeneratorBasedBuilder):
244
  # add native MultiLegalPile data
245
  if language in _DATA_NAME and type in _DATA_NAME[language]: # if we actually have something there
246
  for data_name in _DATA_NAME[language][type]:
 
247
  info["filepath"] = download_url("joelito/Multi_Legal_Pile", f"{language}/{type}/{data_name}")
248
  data_infos.append(info.copy())
249
 
 
34
  "legislation": ["denmark_ddsc"],
35
  },
36
  "de": {
37
+ "caselaw": ["germany_openlegaldata", "switzerland_entscheidsuche"],
38
  "legislation": ["germany_openlegaldata", "switzerland_lexfind"],
39
  },
40
  "en": {
41
  "legislation": ["switzerland_lexfind"],
42
  },
43
  "fr": {
44
+ "caselaw": ["belgium_jurportal", "france_cass", "luxembourg_judoc", "switzerland_entscheidsuche"],
45
  "legislation": ["belgium_ejustice", "switzerland_lexfind"],
46
  },
47
  "hu": {
48
+ "legislation": ["hungary_marcell"],
49
  },
50
  "it": {
51
+ "caselaw": ["switzerland_entscheidsuche"],
52
  "legislation": ["switzerland_lexfind"],
53
  },
54
  "nl": {
 
245
  # add native MultiLegalPile data
246
  if language in _DATA_NAME and type in _DATA_NAME[language]: # if we actually have something there
247
  for data_name in _DATA_NAME[language][type]:
248
+ info["jurisdiction"] = data_name.split("_")[0].capitalize()
249
  info["filepath"] = download_url("joelito/Multi_Legal_Pile", f"{language}/{type}/{data_name}")
250
  data_infos.append(info.copy())
251