Datasets:
License:
Fix wmt20 incongruency
Browse files- wmt_vat.py +2 -2
wmt_vat.py
CHANGED
@@ -61,8 +61,8 @@ _CONFIGS = {
|
|
61 |
|
62 |
_PATHS = {
|
63 |
f"{year}_{pair}": {
|
64 |
-
"src" : os.path.join(_BASE_URL, year, f"vat_newstest20{year[3:]}-{pair.replace('_', '')}-src.{pair.split('_')[0]}"),
|
65 |
-
"ref" : os.path.join(_BASE_URL, year, f"vat_newstest20{year[3:]}-{pair.replace('_', '')}-ref.{pair.split('_')[1]}")
|
66 |
} for year, pairs in _CONFIGS.items() for pair in pairs
|
67 |
}
|
68 |
|
|
|
61 |
|
62 |
_PATHS = {
|
63 |
f"{year}_{pair}": {
|
64 |
+
"src" : os.path.join(_BASE_URL, year, f"vat_newstest20{year[3:]}-{pair.replace('_', '')}-src.{pair.split('_')[0]}{'.txt' if year == 'wmt20' else ''}"),
|
65 |
+
"ref" : os.path.join(_BASE_URL, year, f"vat_newstest20{year[3:]}-{pair.replace('_', '')}-ref.{pair.split('_')[1]}{'.txt' if year == 'wmt20' else ''}")
|
66 |
} for year, pairs in _CONFIGS.items() for pair in pairs
|
67 |
}
|
68 |
|