Datasets:
Update sd-nlp-non-tokenized.py
Browse files- sd-nlp-non-tokenized.py +2 -2
sd-nlp-non-tokenized.py
CHANGED
@@ -168,11 +168,11 @@ class SourceDataNLP(datasets.GeneratorBasedBuilder):
|
|
168 |
if self.config.name in ["NER", "GENEPROD_ROLES", "SMALL_MOL_ROLES", "BORING"]:
|
169 |
url = self._URLS["NER"]
|
170 |
data_dir = dl_manager.download_and_extract(url)
|
171 |
-
data_dir += "/
|
172 |
elif self.config.name == "PANELIZATION":
|
173 |
url = self._URLS[self.config.name]
|
174 |
data_dir = dl_manager.download_and_extract(url)
|
175 |
-
data_dir += "/
|
176 |
else:
|
177 |
raise ValueError(f"unkonwn config name: {self.config.name}")
|
178 |
|
|
|
168 |
if self.config.name in ["NER", "GENEPROD_ROLES", "SMALL_MOL_ROLES", "BORING"]:
|
169 |
url = self._URLS["NER"]
|
170 |
data_dir = dl_manager.download_and_extract(url)
|
171 |
+
data_dir += "/"
|
172 |
elif self.config.name == "PANELIZATION":
|
173 |
url = self._URLS[self.config.name]
|
174 |
data_dir = dl_manager.download_and_extract(url)
|
175 |
+
data_dir += "/"
|
176 |
else:
|
177 |
raise ValueError(f"unkonwn config name: {self.config.name}")
|
178 |
|