Fix style
Browse files- cantemist.py +4 -4
cantemist.py
CHANGED
@@ -39,7 +39,7 @@ from .bigbiohub import parse_brat_file
|
|
39 |
from .bigbiohub import brat_parse_to_bigbio_kb
|
40 |
|
41 |
|
42 |
-
_LANGUAGES = [
|
43 |
_PUBMED = False
|
44 |
_LOCAL = False
|
45 |
_CITATION = """\
|
@@ -81,10 +81,10 @@ For further information, please visit https://temu.bsc.es/cantemist or send an e
|
|
81 |
|
82 |
_HOMEPAGE = "https://temu.bsc.es/cantemist/?p=4338"
|
83 |
|
84 |
-
_LICENSE =
|
85 |
|
86 |
_URLS = {
|
87 |
-
|
88 |
}
|
89 |
|
90 |
_SUPPORTED_TASKS = [
|
@@ -231,7 +231,7 @@ class CantemistDataset(datasets.GeneratorBasedBuilder):
|
|
231 |
call `this._generate_examples` with the keyword arguments in `gen_kwargs`.
|
232 |
"""
|
233 |
|
234 |
-
data_dir = dl_manager.download_and_extract(_URLS[
|
235 |
|
236 |
return [
|
237 |
datasets.SplitGenerator(
|
|
|
39 |
from .bigbiohub import brat_parse_to_bigbio_kb
|
40 |
|
41 |
|
42 |
+
_LANGUAGES = ["Spanish"]
|
43 |
_PUBMED = False
|
44 |
_LOCAL = False
|
45 |
_CITATION = """\
|
|
|
81 |
|
82 |
_HOMEPAGE = "https://temu.bsc.es/cantemist/?p=4338"
|
83 |
|
84 |
+
_LICENSE = "Creative Commons Attribution 4.0 International"
|
85 |
|
86 |
_URLS = {
|
87 |
+
_DATASETNAME: "https://zenodo.org/record/3978041/files/cantemist.zip?download=1",
|
88 |
}
|
89 |
|
90 |
_SUPPORTED_TASKS = [
|
|
|
231 |
call `this._generate_examples` with the keyword arguments in `gen_kwargs`.
|
232 |
"""
|
233 |
|
234 |
+
data_dir = dl_manager.download_and_extract(_URLS[_DATASETNAME])
|
235 |
|
236 |
return [
|
237 |
datasets.SplitGenerator(
|