Aakanksha Naik
commited on
Commit
•
739825f
1
Parent(s):
1975f5d
Adding default configuration to reader
Browse files
udpos.py
CHANGED
@@ -272,6 +272,8 @@ class Udpos(datasets.GeneratorBasedBuilder):
|
|
272 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
273 |
urls = _URLS
|
274 |
data_dir = dl_manager.download_and_extract(urls)
|
|
|
|
|
275 |
|
276 |
return [
|
277 |
datasets.SplitGenerator(
|
|
|
272 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
273 |
urls = _URLS
|
274 |
data_dir = dl_manager.download_and_extract(urls)
|
275 |
+
if self.config.name == 'default':
|
276 |
+
self.config.name = 'en'
|
277 |
|
278 |
return [
|
279 |
datasets.SplitGenerator(
|