Datasets:
Commit
•
3476ae7
1
Parent(s):
8ac1acc
fix configs for v2
Browse files- voxpopuli.py +8 -7
voxpopuli.py
CHANGED
@@ -13,22 +13,23 @@ _LANGUAGES = sorted(
|
|
13 |
"sk", "sl", "et", "lt", "pt", "bg", "el", "lv", "mt", "sv", "da"
|
14 |
]
|
15 |
)
|
16 |
-
_LANGUAGES_V2 = [f"{x}_v2" for x in _LANGUAGES]
|
17 |
|
18 |
_YEARS = list(range(2009, 2020 + 1))
|
19 |
|
20 |
# unnecessary
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
|
27 |
_CONFIG_TO_YEARS = {
|
28 |
"400k": _YEARS + [f"{y}_2" for y in _YEARS],
|
29 |
"100k": _YEARS,
|
30 |
"10k": [2019, 2020],
|
31 |
-
|
32 |
}
|
33 |
for lang in _LANGUAGES:
|
34 |
_CONFIG_TO_YEARS[lang] = _YEARS
|
|
|
13 |
"sk", "sl", "et", "lt", "pt", "bg", "el", "lv", "mt", "sv", "da"
|
14 |
]
|
15 |
)
|
16 |
+
_LANGUAGES_V2 = [f"{x}_v2" for x in _LANGUAGES]
|
17 |
|
18 |
_YEARS = list(range(2009, 2020 + 1))
|
19 |
|
20 |
# unnecessary
|
21 |
+
_CONFIG_TO_LANGS = {
|
22 |
+
"400k": _LANGUAGES,
|
23 |
+
"100k": _LANGUAGES,
|
24 |
+
"10k": _LANGUAGES,
|
25 |
+
"asr": ["original"],
|
26 |
+
}
|
27 |
|
28 |
_CONFIG_TO_YEARS = {
|
29 |
"400k": _YEARS + [f"{y}_2" for y in _YEARS],
|
30 |
"100k": _YEARS,
|
31 |
"10k": [2019, 2020],
|
32 |
+
"asr": _YEARS,
|
33 |
}
|
34 |
for lang in _LANGUAGES:
|
35 |
_CONFIG_TO_YEARS[lang] = _YEARS
|