Update DiaMed.py
Browse files
DiaMed.py
CHANGED
@@ -24,14 +24,14 @@ _DESCRIPTION = """\
|
|
24 |
DIAMED
|
25 |
"""
|
26 |
|
27 |
-
_HOMEPAGE = ""
|
28 |
|
29 |
_LICENSE = "Apache License 2.0"
|
30 |
|
31 |
_URL = "https://huggingface.co/datasets/Dr-BERT/DiaMED/resolve/main/data.zip"
|
32 |
|
33 |
_CITATION = """\
|
34 |
-
|
35 |
"""
|
36 |
|
37 |
class DiaMed(datasets.GeneratorBasedBuilder):
|
@@ -148,6 +148,8 @@ class DiaMed(datasets.GeneratorBasedBuilder):
|
|
148 |
|
149 |
for key, d in enumerate(data):
|
150 |
|
|
|
|
|
151 |
if str(d["icd-10"]) == "nan" or d["icd-10"].find("Plusieurs cas cliniques") != -1 or d["icd-10"].find("Aucune annotation") != -1:
|
152 |
continue
|
153 |
|
|
|
24 |
DIAMED
|
25 |
"""
|
26 |
|
27 |
+
_HOMEPAGE = "DIAMED"
|
28 |
|
29 |
_LICENSE = "Apache License 2.0"
|
30 |
|
31 |
_URL = "https://huggingface.co/datasets/Dr-BERT/DiaMED/resolve/main/data.zip"
|
32 |
|
33 |
_CITATION = """\
|
34 |
+
DIAMED
|
35 |
"""
|
36 |
|
37 |
class DiaMed(datasets.GeneratorBasedBuilder):
|
|
|
148 |
|
149 |
for key, d in enumerate(data):
|
150 |
|
151 |
+
print("*"*50)
|
152 |
+
|
153 |
if str(d["icd-10"]) == "nan" or d["icd-10"].find("Plusieurs cas cliniques") != -1 or d["icd-10"].find("Aucune annotation") != -1:
|
154 |
continue
|
155 |
|