albertvillanova HF staff commited on
Commit
7ed59db
1 Parent(s): e44dc6c
Files changed (2) hide show
  1. README.md +1 -1
  2. un_pc.py +2 -2
README.md CHANGED
@@ -280,7 +280,7 @@ config_names:
280
 
281
  ## Dataset Description
282
 
283
- - **Homepage:**[UNPC](http://opus.nlpl.eu/UNPC.php)
284
  - **Repository:**
285
  - **Paper:**
286
  - **Leaderboard:**
 
280
 
281
  ## Dataset Description
282
 
283
+ - **Homepage:** https://opus.nlpl.eu/UNPC/corpus/version/UNPC
284
  - **Repository:**
285
  - **Paper:**
286
  - **Leaderboard:**
un_pc.py CHANGED
@@ -45,12 +45,12 @@ for the six official UN languages, Arabic, Chinese, English, French, Russian, an
45
  """
46
 
47
 
48
- _HOMEPAGE = "http://opus.nlpl.eu/UNPC.php"
49
 
50
  _LANGUAGES = ["ar", "en", "es", "fr", "ru", "zh"]
51
  _LANGUAGE_PAIRS = list(itertools.combinations(_LANGUAGES, 2))
52
 
53
- _BASE_URL = "http://opus.nlpl.eu/download.php?f=UNPC/v1.0/moses"
54
  _URLS = {f"{l1}-{l2}": f"{_BASE_URL}/{l1}-{l2}.txt.zip" for l1, l2 in _LANGUAGE_PAIRS}
55
 
56
 
 
45
  """
46
 
47
 
48
+ _HOMEPAGE = "https://opus.nlpl.eu/UNPC/corpus/version/UNPC"
49
 
50
  _LANGUAGES = ["ar", "en", "es", "fr", "ru", "zh"]
51
  _LANGUAGE_PAIRS = list(itertools.combinations(_LANGUAGES, 2))
52
 
53
+ _BASE_URL = "https://object.pouta.csc.fi/OPUS-UNPC/v1.0/moses"
54
  _URLS = {f"{l1}-{l2}": f"{_BASE_URL}/{l1}-{l2}.txt.zip" for l1, l2 in _LANGUAGE_PAIRS}
55
 
56