Datasets:
Commit
•
c58a186
1
Parent(s):
858a490
fix languages
Browse files- voxpopuli.py +1 -1
voxpopuli.py
CHANGED
@@ -109,7 +109,7 @@ class Voxpopuli(datasets.GeneratorBasedBuilder):
|
|
109 |
|
110 |
years = _CONFIG_TO_YEARS[self.config.name]
|
111 |
# urls = [_DATA_URL.format(lang=language, year=year) for language in ["hr", "et"] for year in [2020]] # , "et"]
|
112 |
-
urls = [_DATA_URL.format(lang=language, year=year) for language in self.languages for year in years]
|
113 |
dl_manager.download_config.num_proc = len(urls)
|
114 |
data_dirs = dl_manager.download_and_extract(urls)
|
115 |
|
|
|
109 |
|
110 |
years = _CONFIG_TO_YEARS[self.config.name]
|
111 |
# urls = [_DATA_URL.format(lang=language, year=year) for language in ["hr", "et"] for year in [2020]] # , "et"]
|
112 |
+
urls = [_DATA_URL.format(lang=language, year=year) for language in self.config.languages for year in years]
|
113 |
dl_manager.download_config.num_proc = len(urls)
|
114 |
data_dirs = dl_manager.download_and_extract(urls)
|
115 |
|