Datasets:
Update metadata
Browse files- README.md +14 -7
- un_multi.py +3 -1
README.md
CHANGED
|
@@ -23,7 +23,7 @@ task_categories:
|
|
| 23 |
- translation
|
| 24 |
task_ids: []
|
| 25 |
paperswithcode_id: multiun
|
| 26 |
-
pretty_name: Multilingual Corpus from United Nation Documents
|
| 27 |
dataset_info:
|
| 28 |
- config_name: ar-de
|
| 29 |
features:
|
|
@@ -343,7 +343,7 @@ config_names:
|
|
| 343 |
- ru-zh
|
| 344 |
---
|
| 345 |
|
| 346 |
-
# Dataset Card for MultiUN
|
| 347 |
|
| 348 |
## Table of Contents
|
| 349 |
- [Dataset Description](#dataset-description)
|
|
@@ -391,22 +391,29 @@ The underlying task is machine translation.
|
|
| 391 |
|
| 392 |
### Languages
|
| 393 |
|
| 394 |
-
Parallel texts are present in all six official languages
|
| 395 |
-
|
| 396 |
|
| 397 |
## Dataset Structure
|
| 398 |
|
| 399 |
### Data Instances
|
| 400 |
|
| 401 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 402 |
|
| 403 |
### Data Fields
|
| 404 |
|
| 405 |
-
|
| 406 |
|
| 407 |
### Data Splits
|
| 408 |
|
| 409 |
-
|
| 410 |
|
| 411 |
## Dataset Creation
|
| 412 |
|
|
|
|
| 23 |
- translation
|
| 24 |
task_ids: []
|
| 25 |
paperswithcode_id: multiun
|
| 26 |
+
pretty_name: MultiUN (Multilingual Corpus from United Nation Documents)
|
| 27 |
dataset_info:
|
| 28 |
- config_name: ar-de
|
| 29 |
features:
|
|
|
|
| 343 |
- ru-zh
|
| 344 |
---
|
| 345 |
|
| 346 |
+
# Dataset Card for OPUS MultiUN
|
| 347 |
|
| 348 |
## Table of Contents
|
| 349 |
- [Dataset Description](#dataset-description)
|
|
|
|
| 391 |
|
| 392 |
### Languages
|
| 393 |
|
| 394 |
+
Parallel texts are present in all six official languages: Arabic (`ar`), Chinese (`zh`), English (`en`), French (`fr`),
|
| 395 |
+
Russian (`ru`) and Spanish (`es`), with a small part of the documents available also in German (`de`).
|
| 396 |
|
| 397 |
## Dataset Structure
|
| 398 |
|
| 399 |
### Data Instances
|
| 400 |
|
| 401 |
+
```
|
| 402 |
+
{
|
| 403 |
+
"translation": {
|
| 404 |
+
"ar": "قرار اتخذته الجمعية العامة",
|
| 405 |
+
"de": "Resolution der Generalversammlung"
|
| 406 |
+
}
|
| 407 |
+
}
|
| 408 |
+
```
|
| 409 |
|
| 410 |
### Data Fields
|
| 411 |
|
| 412 |
+
- `translation` (`dict`): Parallel sentences for the pair of languages.
|
| 413 |
|
| 414 |
### Data Splits
|
| 415 |
|
| 416 |
+
The dataset contains a single "train" split for each language pair.
|
| 417 |
|
| 418 |
## Dataset Creation
|
| 419 |
|
un_multi.py
CHANGED
|
@@ -57,7 +57,9 @@ consisting of around 300 million words per language
|
|
| 57 |
"""
|
| 58 |
|
| 59 |
|
| 60 |
-
|
|
|
|
|
|
|
| 61 |
|
| 62 |
_LANGUAGES = ["ar", "de", "en", "es", "fr", "ru", "zh"]
|
| 63 |
_LANGUAGE_PAIRS = list(itertools.combinations(_LANGUAGES, 2))
|
|
|
|
| 57 |
"""
|
| 58 |
|
| 59 |
|
| 60 |
+
# Original:
|
| 61 |
+
# _HOMEPAGE = "http://www.euromatrixplus.net/multi-un/"
|
| 62 |
+
_HOMEPAGE = "https://opus.nlpl.eu/MultiUN/corpus/version/MultiUN"
|
| 63 |
|
| 64 |
_LANGUAGES = ["ar", "de", "en", "es", "fr", "ru", "zh"]
|
| 65 |
_LANGUAGE_PAIRS = list(itertools.combinations(_LANGUAGES, 2))
|