Datasets:
Commit
•
10937c7
0
Parent(s):
Update files from the datasets library (from 1.2.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.2.0
- .gitattributes +27 -0
- README.md +188 -0
- dataset_infos.json +1 -0
- dummy/ar_to_en/2.0.0/dummy_data.zip +3 -0
- dummy/ar_to_es/2.0.0/dummy_data.zip +3 -0
- dummy/ar_to_fr/2.0.0/dummy_data.zip +3 -0
- dummy/ar_to_ru/2.0.0/dummy_data.zip +3 -0
- dummy/ar_to_zh/2.0.0/dummy_data.zip +3 -0
- dummy/en_to_es/2.0.0/dummy_data.zip +3 -0
- dummy/en_to_fr/2.0.0/dummy_data.zip +3 -0
- dummy/en_to_ru/2.0.0/dummy_data.zip +3 -0
- dummy/en_to_zh/2.0.0/dummy_data.zip +3 -0
- dummy/es_to_fr/2.0.0/dummy_data.zip +3 -0
- dummy/es_to_ru/2.0.0/dummy_data.zip +3 -0
- dummy/es_to_zh/2.0.0/dummy_data.zip +3 -0
- dummy/fr_to_ru/2.0.0/dummy_data.zip +3 -0
- dummy/fr_to_zh/2.0.0/dummy_data.zip +3 -0
- dummy/ru_to_zh/2.0.0/dummy_data.zip +3 -0
- un_ga.py +155 -0
.gitattributes
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
20 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
+
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
annotations_creators:
|
3 |
+
- found
|
4 |
+
language_creators:
|
5 |
+
- found
|
6 |
+
languages:
|
7 |
+
ar-to-en:
|
8 |
+
- ar
|
9 |
+
- en
|
10 |
+
ar-to-es:
|
11 |
+
- ar
|
12 |
+
- es
|
13 |
+
ar-to-fr:
|
14 |
+
- ar
|
15 |
+
- fr
|
16 |
+
ar-to-ru:
|
17 |
+
- ar
|
18 |
+
- ru
|
19 |
+
ar-to-zh:
|
20 |
+
- ar
|
21 |
+
- zh
|
22 |
+
en-to-es:
|
23 |
+
- en
|
24 |
+
- es
|
25 |
+
en-to-fr:
|
26 |
+
- en
|
27 |
+
- fr
|
28 |
+
en-to-ru:
|
29 |
+
- en
|
30 |
+
- ru
|
31 |
+
en-to-zh:
|
32 |
+
- en
|
33 |
+
- zh
|
34 |
+
es-to-fr:
|
35 |
+
- es
|
36 |
+
- fr
|
37 |
+
es-to-ru:
|
38 |
+
- es
|
39 |
+
- ru
|
40 |
+
es-to-zh:
|
41 |
+
- es
|
42 |
+
- zh
|
43 |
+
fr-to-ru:
|
44 |
+
- fr
|
45 |
+
- ru
|
46 |
+
fr-to-zh:
|
47 |
+
- fr
|
48 |
+
- zh
|
49 |
+
ru-to-zh:
|
50 |
+
- ru
|
51 |
+
- zh
|
52 |
+
licenses:
|
53 |
+
- unknown
|
54 |
+
multilinguality:
|
55 |
+
- translation
|
56 |
+
size_categories:
|
57 |
+
- n>10M
|
58 |
+
source_datasets:
|
59 |
+
- original
|
60 |
+
task_categories:
|
61 |
+
- conditional-text-generation
|
62 |
+
task_ids:
|
63 |
+
- machine-translation
|
64 |
+
---
|
65 |
+
|
66 |
+
# Dataset Card for [Dataset Name]
|
67 |
+
|
68 |
+
## Table of Contents
|
69 |
+
- [Dataset Description](#dataset-description)
|
70 |
+
- [Dataset Summary](#dataset-summary)
|
71 |
+
- [Supported Tasks](#supported-tasks-and-leaderboards)
|
72 |
+
- [Languages](#languages)
|
73 |
+
- [Dataset Structure](#dataset-structure)
|
74 |
+
- [Data Instances](#data-instances)
|
75 |
+
- [Data Fields](#data-instances)
|
76 |
+
- [Data Splits](#data-instances)
|
77 |
+
- [Dataset Creation](#dataset-creation)
|
78 |
+
- [Curation Rationale](#curation-rationale)
|
79 |
+
- [Source Data](#source-data)
|
80 |
+
- [Annotations](#annotations)
|
81 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
82 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
83 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
84 |
+
- [Discussion of Biases](#discussion-of-biases)
|
85 |
+
- [Other Known Limitations](#other-known-limitations)
|
86 |
+
- [Additional Information](#additional-information)
|
87 |
+
- [Dataset Curators](#dataset-curators)
|
88 |
+
- [Licensing Information](#licensing-information)
|
89 |
+
- [Citation Information](#citation-information)
|
90 |
+
|
91 |
+
## Dataset Description
|
92 |
+
|
93 |
+
- **Homepage:** http://opus.nlpl.eu/UN.php
|
94 |
+
- **Repository:**
|
95 |
+
- **Paper:** https://www.researchgate.net/publication/228579662_United_nations_general_assembly_resolutions_A_six-language_parallel_corpus
|
96 |
+
- **Leaderboard:**
|
97 |
+
- **Point of Contact:**
|
98 |
+
|
99 |
+
### Dataset Summary
|
100 |
+
This is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).
|
101 |
+
|
102 |
+
|
103 |
+
### Supported Tasks and Leaderboards
|
104 |
+
|
105 |
+
[More Information Needed]
|
106 |
+
|
107 |
+
### Languages
|
108 |
+
|
109 |
+
[More Information Needed]
|
110 |
+
|
111 |
+
## Dataset Structure
|
112 |
+
|
113 |
+
### Data Instances
|
114 |
+
|
115 |
+
[More Information Needed]
|
116 |
+
|
117 |
+
### Data Fields
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
### Data Splits
|
122 |
+
|
123 |
+
[More Information Needed]
|
124 |
+
|
125 |
+
## Dataset Creation
|
126 |
+
|
127 |
+
### Curation Rationale
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
### Source Data
|
132 |
+
|
133 |
+
#### Initial Data Collection and Normalization
|
134 |
+
|
135 |
+
[More Information Needed]
|
136 |
+
|
137 |
+
#### Who are the source language producers?
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
### Annotations
|
142 |
+
|
143 |
+
#### Annotation process
|
144 |
+
|
145 |
+
[More Information Needed]
|
146 |
+
|
147 |
+
#### Who are the annotators?
|
148 |
+
|
149 |
+
[More Information Needed]
|
150 |
+
|
151 |
+
### Personal and Sensitive Information
|
152 |
+
|
153 |
+
[More Information Needed]
|
154 |
+
|
155 |
+
## Considerations for Using the Data
|
156 |
+
|
157 |
+
### Social Impact of Dataset
|
158 |
+
|
159 |
+
[More Information Needed]
|
160 |
+
|
161 |
+
### Discussion of Biases
|
162 |
+
|
163 |
+
[More Information Needed]
|
164 |
+
|
165 |
+
### Other Known Limitations
|
166 |
+
|
167 |
+
[More Information Needed]
|
168 |
+
|
169 |
+
## Additional Information
|
170 |
+
|
171 |
+
### Dataset Curators
|
172 |
+
|
173 |
+
[More Information Needed]
|
174 |
+
|
175 |
+
### Licensing Information
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
### Citation Information
|
180 |
+
|
181 |
+
@inproceedings{title = "United Nations General Assembly Resolutions: a six-language parallel corpus",
|
182 |
+
abstract = "In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.",
|
183 |
+
author = "Alexandre Rafalovitch and Robert Dale",
|
184 |
+
year = "2009",
|
185 |
+
language = "English",
|
186 |
+
booktitle = "MT Summit XII proceedings",
|
187 |
+
publisher = "International Association of Machine Translation",
|
188 |
+
}
|
dataset_infos.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"ar_to_en": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ar", "en"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "ar_to_en", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 53122872, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-en.txt.zip": {"num_bytes": 10584906, "checksum": "0b1b1182ba335875269ee2e0d40ecbefcdbb761fc22de16b674e0a0f79bd6060"}}, "download_size": 10584906, "post_processing_size": null, "dataset_size": 53122872, "size_in_bytes": 63707778}, "ar_to_es": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ar", "es"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "ar_to_es", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 55728711, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-es.txt.zip": {"num_bytes": 11084275, "checksum": "7e1809a2a02bab91ed18a8b8cbfee6bce7f87b678c4d19064a733fa455dace6d"}}, "download_size": 11084275, "post_processing_size": null, "dataset_size": 55728711, "size_in_bytes": 66812986}, "ar_to_fr": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ar", "fr"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "ar_to_fr", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 55930898, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-fr.txt.zip": {"num_bytes": 11248563, "checksum": "3f566fa222d63451febb4ce24567eb2860055e97bf1090c4002650b371897cd0"}}, "download_size": 11248563, "post_processing_size": null, "dataset_size": 55930898, "size_in_bytes": 67179461}, "ar_to_ru": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ar", "ru"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "ar_to_ru", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 72657721, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-ru.txt.zip": {"num_bytes": 12852834, "checksum": "ae745d9af4eeb45bba73070cb3f1fdfdd15ac79f16e4dda0fd25bc5879622406"}}, "download_size": 12852834, "post_processing_size": null, "dataset_size": 72657721, "size_in_bytes": 85510555}, "ar_to_zh": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ar", "zh"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "ar_to_zh", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 48217675, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-zh.txt.zip": {"num_bytes": 10254078, "checksum": "aa86f28b09caaaea39465f92e006401c48929b301c2f7612427e12043d1d6614"}}, "download_size": 10254078, "post_processing_size": null, "dataset_size": 48217675, "size_in_bytes": 58471753}, "en_to_es": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "es"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "en_to_es", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 45358866, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-es.txt.zip": {"num_bytes": 9850684, "checksum": "f5e79e3bd0b53430ce970b2ba6e0dab2c29c0c13a781e73319b7eb2e6ebd5fe1"}}, "download_size": 9850684, "post_processing_size": null, "dataset_size": 45358866, "size_in_bytes": 55209550}, "en_to_fr": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "fr"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "en_to_fr", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 45561053, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-fr.txt.zip": {"num_bytes": 10014972, "checksum": "d2d5d2b08509b7ecce87be5ceac3a6bf7cc74e0aabc8bc1af09dda58558d6375"}}, "download_size": 10014972, "post_processing_size": null, "dataset_size": 45561053, "size_in_bytes": 55576025}, "en_to_ru": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "ru"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "en_to_ru", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 62287876, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-ru.txt.zip": {"num_bytes": 11619243, "checksum": "a5a739378d277f3229c852d79126bdba969ae44a91df4bed70ab24a85da12767"}}, "download_size": 11619243, "post_processing_size": null, "dataset_size": 62287876, "size_in_bytes": 73907119}, "en_to_zh": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "zh"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "en_to_zh", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 37847830, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-zh.txt.zip": {"num_bytes": 9020487, "checksum": "3b7723bc5bb77403d04b33ce6e35636e43578168ac587c65fba922e0d36258e1"}}, "download_size": 9020487, "post_processing_size": null, "dataset_size": 37847830, "size_in_bytes": 46868317}, "es_to_fr": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["es", "fr"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "es_to_fr", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 48166892, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/es-fr.txt.zip": {"num_bytes": 10514341, "checksum": "8143cc758e0639da0f360f96173b75c52793a815a6927bf86849a9a728f56895"}}, "download_size": 10514341, "post_processing_size": null, "dataset_size": 48166892, "size_in_bytes": 58681233}, "es_to_ru": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["es", "ru"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "es_to_ru", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 64893715, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/es-ru.txt.zip": {"num_bytes": 12118612, "checksum": "0071936ae42e07066c8a4cdf85dbaa01cd68abc1dd384f4a06ed63d70dce0392"}}, "download_size": 12118612, "post_processing_size": null, "dataset_size": 64893715, "size_in_bytes": 77012327}, "es_to_zh": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["es", "zh"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "es_to_zh", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 40453669, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/es-zh.txt.zip": {"num_bytes": 9519856, "checksum": "fc6f1322e7716c8a80ae16d1c7a8920b929d22b09fd9b7d100a357ace433ebd3"}}, "download_size": 9519856, "post_processing_size": null, "dataset_size": 40453669, "size_in_bytes": 49973525}, "fr_to_ru": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["fr", "ru"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "fr_to_ru", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 65095902, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/fr-ru.txt.zip": {"num_bytes": 12282900, "checksum": "73830e021af28b341eabd45a5a427dad4d3a4bafa0c013d152ce204b45b81853"}}, "download_size": 12282900, "post_processing_size": null, "dataset_size": 65095902, "size_in_bytes": 77378802}, "fr_to_zh": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["fr", "zh"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "fr_to_zh", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 40655856, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/fr-zh.txt.zip": {"num_bytes": 9684144, "checksum": "39410331ac8c160cc8815028a283fdbbe4f2b2be3925704fc2883c04e04dd52f"}}, "download_size": 9684144, "post_processing_size": null, "dataset_size": 40655856, "size_in_bytes": 50340000}, "ru_to_zh": {"description": "United nations general assembly resolutions: A six-language parallel corpus.\nThis is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).\n6 languages, 15 bitexts\ntotal number of files: 6\ntotal number of tokens: 18.87M\ntotal number of sentence fragments: 0.44M\n", "citation": "@inproceedings{title = \"United Nations General Assembly Resolutions: a six-language parallel corpus\",\nabstract = \"In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.\",\nauthor = \"Alexandre Rafalovitch and Robert Dale\",\nyear = \"2009\",\nlanguage = \"English\",\nbooktitle = \"MT Summit XII proceedings\",\npublisher = \"International Association of Machine Translation\",\n}", "homepage": "http://opus.nlpl.eu/UN.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ru", "zh"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "un_ga", "config_name": "ru_to_zh", "version": {"version_str": "2.0.0", "description": "", "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 57382679, "num_examples": 74067, "dataset_name": "un_ga"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ru-zh.txt.zip": {"num_bytes": 11288415, "checksum": "acbc404d900f3c159f6d7d73616f368309f8cc22cc9e16060cfd5bf9db9dd33b"}}, "download_size": 11288415, "post_processing_size": null, "dataset_size": 57382679, "size_in_bytes": 68671094}}
|
dummy/ar_to_en/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f2de246d3566f1f1d5a00b55e47dd31b71658fa5a6a759b2db0e020e6ab722e
|
3 |
+
size 5178
|
dummy/ar_to_es/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9918174b301e29fdffab914d0532f025b6f6063a97aa63256896c54f2a73246
|
3 |
+
size 5335
|
dummy/ar_to_fr/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70e33c0992d9cf1add1b1477a5ad4a42ab911990a40f99934044915f1f47fb77
|
3 |
+
size 5457
|
dummy/ar_to_ru/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b350dc13e4a50de58adb24f1997372dedcd261fdb3994e28fcd9f9351f056ada
|
3 |
+
size 5894
|
dummy/ar_to_zh/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6825d8b4da9cbf387f601dbf0c5bf37a482b0911c176013eaf9819e9c5734cf
|
3 |
+
size 5282
|
dummy/en_to_es/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef0854abfff8840e605a75ce5cfe146ef2a958edb67ccdde8da67ef45b9bdf25
|
3 |
+
size 5039
|
dummy/en_to_fr/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48c976586cd8af157768d65403d3a4837bcc255ef1c3b321027066eea37e752d
|
3 |
+
size 5161
|
dummy/en_to_ru/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fa54be6f66d5abfd6b8a5be89105d5da4d7b0b4cae3eeb1b2fe9fe40bd5b30f
|
3 |
+
size 5598
|
dummy/en_to_zh/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc29acd39d1169de76d8094f5de915b3376546b33eba71e9f78b76184df9f7ea
|
3 |
+
size 4986
|
dummy/es_to_fr/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4fb664c158899854a6523461d8c5063fc45dc4703662b3d65d440524d259b1f
|
3 |
+
size 5318
|
dummy/es_to_ru/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efb202c101cf8efbd69d966c5b3eb547ede899f2545f565df0ca1d9844830417
|
3 |
+
size 5755
|
dummy/es_to_zh/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2305dca03e03e19c1243a6d148e0627b1bcec9e419f3e63ee7a6253037ba789
|
3 |
+
size 5143
|
dummy/fr_to_ru/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f546d8cfe0d3f5d90fb9fad347f76efcae6e987e6d8d35f6bf2b783a958e680
|
3 |
+
size 5877
|
dummy/fr_to_zh/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc070c44254d7cdb775db11ee1ad54abedcc2f947eb1c8124dc8578748bbd925
|
3 |
+
size 5265
|
dummy/ru_to_zh/2.0.0/dummy_data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af5234417ea88460fe95880c7a7fac245cad7e693dffd873b491ba818ad3b3b9
|
3 |
+
size 5702
|
un_ga.py
ADDED
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# coding=utf-8
|
2 |
+
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
3 |
+
#
|
4 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
+
# you may not use this file except in compliance with the License.
|
6 |
+
# You may obtain a copy of the License at
|
7 |
+
#
|
8 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
+
#
|
10 |
+
# Unless required by applicable law or agreed to in writing, software
|
11 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
+
# See the License for the specific language governing permissions and
|
14 |
+
# limitations under the License.
|
15 |
+
"""United nations general assembly resolutions: A six-language parallel corpus"""
|
16 |
+
|
17 |
+
from __future__ import absolute_import, division, print_function
|
18 |
+
|
19 |
+
import os
|
20 |
+
|
21 |
+
import datasets
|
22 |
+
|
23 |
+
|
24 |
+
_CITATION = """\
|
25 |
+
@inproceedings{title = "United Nations General Assembly Resolutions: a six-language parallel corpus",
|
26 |
+
abstract = "In this paper we describe a six-ways parallel public-domain corpus consisting of 2100 United Nations General Assembly Resolutions with translations in the six official languages of the United Nations, with an average of around 3 million tokens per language. The corpus is available in a preprocessed, formatting-normalized TMX format with paragraphs aligned across multiple languages. We describe the background to the corpus and its content, the process of its construction, and some of its interesting properties.",
|
27 |
+
author = "Alexandre Rafalovitch and Robert Dale",
|
28 |
+
year = "2009",
|
29 |
+
language = "English",
|
30 |
+
booktitle = "MT Summit XII proceedings",
|
31 |
+
publisher = "International Association of Machine Translation",
|
32 |
+
}"""
|
33 |
+
|
34 |
+
_HOMEPAGE = "http://opus.nlpl.eu/UN.php"
|
35 |
+
|
36 |
+
|
37 |
+
_LICENSE = ""
|
38 |
+
|
39 |
+
_VALID_LANGUAGE_PAIRS = {
|
40 |
+
("ar", "en"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-en.txt.zip",
|
41 |
+
("ar", "es"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-es.txt.zip",
|
42 |
+
("ar", "fr"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-fr.txt.zip",
|
43 |
+
("ar", "ru"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-ru.txt.zip",
|
44 |
+
("ar", "zh"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ar-zh.txt.zip",
|
45 |
+
("en", "es"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-es.txt.zip",
|
46 |
+
("en", "fr"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-fr.txt.zip",
|
47 |
+
("en", "ru"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-ru.txt.zip",
|
48 |
+
("en", "zh"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/en-zh.txt.zip",
|
49 |
+
("es", "fr"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/es-fr.txt.zip",
|
50 |
+
("es", "ru"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/es-ru.txt.zip",
|
51 |
+
("es", "zh"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/es-zh.txt.zip",
|
52 |
+
("fr", "ru"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/fr-ru.txt.zip",
|
53 |
+
("fr", "zh"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/fr-zh.txt.zip",
|
54 |
+
("ru", "zh"): "http://opus.nlpl.eu/download.php?f=UN/v20090831/moses/ru-zh.txt.zip",
|
55 |
+
}
|
56 |
+
|
57 |
+
_VERSION = "2.0.0"
|
58 |
+
|
59 |
+
_DESCRIPTION = """\
|
60 |
+
United nations general assembly resolutions: A six-language parallel corpus.
|
61 |
+
This is a collection of translated documents from the United Nations originally compiled into a translation memory by Alexandre Rafalovitch, Robert Dale (see http://uncorpora.org).
|
62 |
+
6 languages, 15 bitexts
|
63 |
+
total number of files: 6
|
64 |
+
total number of tokens: 18.87M
|
65 |
+
total number of sentence fragments: 0.44M
|
66 |
+
"""
|
67 |
+
|
68 |
+
_BASE_NAME = "UN.{}-{}.{}"
|
69 |
+
|
70 |
+
|
71 |
+
class UnGaConfig(datasets.BuilderConfig):
|
72 |
+
"""BuilderConfig for United nations general assembly resolutions: A six-language parallel corpus"""
|
73 |
+
|
74 |
+
def __init__(self, language_pair=(None, None), **kwargs):
|
75 |
+
"""BuilderConfig for United nations general assembly resolutions: A six-language parallel corpus.
|
76 |
+
The first language in `language_pair` should consist of two strings joined by
|
77 |
+
an underscore (e.g. "en-tr").
|
78 |
+
Args:
|
79 |
+
language_pair: pair of languages that will be used for translation.
|
80 |
+
**kwargs: keyword arguments forwarded to super.
|
81 |
+
"""
|
82 |
+
name = "%s_to_%s" % (language_pair[0], language_pair[1])
|
83 |
+
|
84 |
+
description = ("Translation dataset from %s to %s or %s to %s.") % (
|
85 |
+
language_pair[0],
|
86 |
+
language_pair[1],
|
87 |
+
language_pair[1],
|
88 |
+
language_pair[0],
|
89 |
+
)
|
90 |
+
super(UnGaConfig, self).__init__(
|
91 |
+
name=name, description=description, version=datasets.Version(_VERSION, ""), **kwargs
|
92 |
+
)
|
93 |
+
|
94 |
+
# Validate language pair.
|
95 |
+
assert language_pair in _VALID_LANGUAGE_PAIRS, (
|
96 |
+
"Config language pair (%s, " "%s) not supported"
|
97 |
+
) % language_pair
|
98 |
+
|
99 |
+
self.language_pair = language_pair
|
100 |
+
|
101 |
+
|
102 |
+
class UnGa(datasets.GeneratorBasedBuilder):
|
103 |
+
|
104 |
+
BUILDER_CONFIGS = [
|
105 |
+
UnGaConfig(
|
106 |
+
language_pair=pair,
|
107 |
+
)
|
108 |
+
for pair in _VALID_LANGUAGE_PAIRS.keys()
|
109 |
+
]
|
110 |
+
|
111 |
+
BUILDER_CONFIG_CLASS = UnGaConfig
|
112 |
+
|
113 |
+
def _info(self):
|
114 |
+
return datasets.DatasetInfo(
|
115 |
+
description=_DESCRIPTION,
|
116 |
+
features=datasets.Features(
|
117 |
+
{
|
118 |
+
"id": datasets.Value("string"),
|
119 |
+
"translation": datasets.Translation(languages=tuple(self.config.language_pair)),
|
120 |
+
},
|
121 |
+
),
|
122 |
+
supervised_keys=None,
|
123 |
+
homepage=_HOMEPAGE,
|
124 |
+
citation=_CITATION,
|
125 |
+
)
|
126 |
+
|
127 |
+
def _split_generators(self, dl_manager):
|
128 |
+
download_url = _VALID_LANGUAGE_PAIRS.get(tuple(self.config.language_pair))
|
129 |
+
path = dl_manager.download_and_extract(download_url)
|
130 |
+
return [
|
131 |
+
datasets.SplitGenerator(
|
132 |
+
name=datasets.Split.TRAIN,
|
133 |
+
gen_kwargs={"datapath": path},
|
134 |
+
)
|
135 |
+
]
|
136 |
+
|
137 |
+
def _generate_examples(self, datapath):
|
138 |
+
lang1, lang2 = self.config.language_pair
|
139 |
+
lang1_file = _BASE_NAME.format(lang1, lang2, lang1)
|
140 |
+
lang2_file = _BASE_NAME.format(lang1, lang2, lang2)
|
141 |
+
lang1_path = os.path.join(datapath, lang1_file)
|
142 |
+
lang2_path = os.path.join(datapath, lang2_file)
|
143 |
+
|
144 |
+
with open(lang1_path, encoding="utf-8") as f1, open(lang2_path, encoding="utf-8") as f2:
|
145 |
+
for sentence_counter, (x, y) in enumerate(zip(f1, f2)):
|
146 |
+
x = x.strip()
|
147 |
+
y = y.strip()
|
148 |
+
result = (
|
149 |
+
sentence_counter,
|
150 |
+
{
|
151 |
+
"id": str(sentence_counter),
|
152 |
+
"translation": {lang1: x, lang2: y},
|
153 |
+
},
|
154 |
+
)
|
155 |
+
yield result
|