Datasets:
Update swiss_legislation.py
Browse files- swiss_legislation.py +2 -2
swiss_legislation.py
CHANGED
@@ -41,7 +41,7 @@ This dataset contains Swiss law articles
|
|
41 |
"""
|
42 |
|
43 |
_URLS = {
|
44 |
-
"
|
45 |
}
|
46 |
|
47 |
|
@@ -56,7 +56,7 @@ class SwissLegilation(datasets.GeneratorBasedBuilder):
|
|
56 |
DEFAULT_CONFIG_NAME = "full" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
57 |
|
58 |
def _info(self):
|
59 |
-
if self.config.name == "full"
|
60 |
features = datasets.Features(
|
61 |
{
|
62 |
"canton": datasets.Value("string"),
|
|
|
41 |
"""
|
42 |
|
43 |
_URLS = {
|
44 |
+
"full": "https://huggingface.co/datasets/rcds/doc2doc/resolve/main/lexfind_v2.jsonl.xz",
|
45 |
}
|
46 |
|
47 |
|
|
|
56 |
DEFAULT_CONFIG_NAME = "full" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
57 |
|
58 |
def _info(self):
|
59 |
+
if self.config.name == "full":
|
60 |
features = datasets.Features(
|
61 |
{
|
62 |
"canton": datasets.Value("string"),
|