gsarti commited on
Commit
66d19d8
1 Parent(s): 559c814

Fix wmt20 incongruency

Browse files
Files changed (1) hide show
  1. 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