Datasets:
Commit
•
7ed59db
1
Parent(s):
e44dc6c
Fix OPUS URLs (#3)
Browse files- Fix OPUS URLs (b7f3a43cba047f12362f8e2a905274e647226ec4)
README.md
CHANGED
@@ -280,7 +280,7 @@ config_names:
|
|
280 |
|
281 |
## Dataset Description
|
282 |
|
283 |
-
- **Homepage:**
|
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 = "
|
49 |
|
50 |
_LANGUAGES = ["ar", "en", "es", "fr", "ru", "zh"]
|
51 |
_LANGUAGE_PAIRS = list(itertools.combinations(_LANGUAGES, 2))
|
52 |
|
53 |
-
_BASE_URL = "
|
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 |
|