Datasets:
Convert dataset to Parquet (#3)
Browse files- Convert dataset to Parquet (05ff186a2c8958522aaacff1aaa312b13c3a3aa0)
- Add de-es data files (f9a113b71450a705c6f589bd65145e138879c820)
- Add de-fr data files (d16c25f960ac0bf757a1cd90e81de8105f798dad)
- Add de-ja data files (bafa2f98063d77914d45c8d09c46918f41a938af)
- Add de-ru data files (63c03f2478141418b8d6315779c17ec0501cf01d)
- Add de-sv data files (7dccccf8026363bfba9010824d4d3a6d788b1bbd)
- Add de-zh_CN data files (ee0686bdf59214bed060c1ee73829c870993888c)
- Add en_GB-es data files (77f8ec1d96e43c0080787d1bae55a881752ff4ff)
- Add en_GB-fr data files (57898c8b0ad28cfa26236415bda43a0ed83573b4)
- Add en_GB-ja data files (34c6989c11d79e26bc46a16d89efb318f836954a)
- Add en_GB-ru data files (9ae197306e1c8048dd9729a726182f4ca53b2393)
- Add en_GB-sv data files (acc021b673d64690163673359d5f61bba0260c53)
- Add en_GB-zh_CN data files (35c2a887d0d4a3f4ef14d4367e528d181e904ae2)
- Add es-fr data files (e17c0b83a2053685f7dbe6eee39508ac1eaccfd9)
- Add es-ja data files (7de0697860fe85fd95886ff223c50fcd0e7eda06)
- Add es-ru data files (baf8f85973134cf86f4ad56e61f1b7109bde1ed2)
- Add es-sv data files (b4aec83ae4b99f2a2dc099a00c04aebff443033c)
- Add es-zh_CN data files (21bd1805ff7f00dcd8101dec5e5190e71999b592)
- Add fr-ja data files (45c72c708fa29afad9c32649d2e4b441ec992c31)
- Add fr-ru data files (590d9be85efca71eaa4199cfc3703c26106e03e4)
- Add fr-sv data files (430f566eaaf330cdc7b1965016e5756cf657b168)
- Add fr-zh_CN data files (4ee3706c65685be01366b69ca956da66c596a0ba)
- Add ja-ru data files (62f87ad224f38d60eefbf590952a18d2bde17a63)
- Add ja-sv data files (6110dae12bd82c476276993ca11c5e06ca40395f)
- Add ja-zh_CN data files (7d9a1a0243c5cec82350e4b40bf0519c84f0385b)
- Add ru-sv data files (e2fb1abb4befff30e4dedd2d98b3cd30e781e5d6)
- Add ru-zh_CN data files (5f9bf214a50369d010015027f5347ab853b0a53b)
- Add sv-zh_CN data files (08c95a7b5a3ac864ed9219217e1350eb5fe92d1a)
- Delete loading script (2be1b1b90b052d540956bed34dd9751007f556cf)
- README.md +141 -28
- de-en_GB/train-00000-of-00001.parquet +3 -0
- de-es/train-00000-of-00001.parquet +3 -0
- de-fr/train-00000-of-00001.parquet +3 -0
- de-ja/train-00000-of-00001.parquet +3 -0
- de-ru/train-00000-of-00001.parquet +3 -0
- de-sv/train-00000-of-00001.parquet +3 -0
- de-zh_CN/train-00000-of-00001.parquet +3 -0
- en_GB-es/train-00000-of-00001.parquet +3 -0
- en_GB-fr/train-00000-of-00001.parquet +3 -0
- en_GB-ja/train-00000-of-00001.parquet +3 -0
- en_GB-ru/train-00000-of-00001.parquet +3 -0
- en_GB-sv/train-00000-of-00001.parquet +3 -0
- en_GB-zh_CN/train-00000-of-00001.parquet +3 -0
- es-fr/train-00000-of-00001.parquet +3 -0
- es-ja/train-00000-of-00001.parquet +3 -0
- es-ru/train-00000-of-00001.parquet +3 -0
- es-sv/train-00000-of-00001.parquet +3 -0
- es-zh_CN/train-00000-of-00001.parquet +3 -0
- fr-ja/train-00000-of-00001.parquet +3 -0
- fr-ru/train-00000-of-00001.parquet +3 -0
- fr-sv/train-00000-of-00001.parquet +3 -0
- fr-zh_CN/train-00000-of-00001.parquet +3 -0
- ja-ru/train-00000-of-00001.parquet +3 -0
- ja-sv/train-00000-of-00001.parquet +3 -0
- ja-zh_CN/train-00000-of-00001.parquet +3 -0
- opus_openoffice.py +0 -108
- ru-sv/train-00000-of-00001.parquet +3 -0
- ru-zh_CN/train-00000-of-00001.parquet +3 -0
- sv-zh_CN/train-00000-of-00001.parquet +3 -0
@@ -69,7 +69,7 @@ dataset_info:
|
|
69 |
- name: train
|
70 |
num_bytes: 6201077
|
71 |
num_examples: 77052
|
72 |
-
download_size:
|
73 |
dataset_size: 6201077
|
74 |
- config_name: de-es
|
75 |
features:
|
@@ -83,7 +83,7 @@ dataset_info:
|
|
83 |
- name: train
|
84 |
num_bytes: 6571615
|
85 |
num_examples: 77000
|
86 |
-
download_size:
|
87 |
dataset_size: 6571615
|
88 |
- config_name: de-fr
|
89 |
features:
|
@@ -97,7 +97,7 @@ dataset_info:
|
|
97 |
- name: train
|
98 |
num_bytes: 6715805
|
99 |
num_examples: 76684
|
100 |
-
download_size:
|
101 |
dataset_size: 6715805
|
102 |
- config_name: de-ja
|
103 |
features:
|
@@ -111,7 +111,7 @@ dataset_info:
|
|
111 |
- name: train
|
112 |
num_bytes: 7084951
|
113 |
num_examples: 69396
|
114 |
-
download_size:
|
115 |
dataset_size: 7084951
|
116 |
- config_name: de-ru
|
117 |
features:
|
@@ -125,7 +125,7 @@ dataset_info:
|
|
125 |
- name: train
|
126 |
num_bytes: 8333241
|
127 |
num_examples: 75511
|
128 |
-
download_size:
|
129 |
dataset_size: 8333241
|
130 |
- config_name: de-sv
|
131 |
features:
|
@@ -139,7 +139,7 @@ dataset_info:
|
|
139 |
- name: train
|
140 |
num_bytes: 6288962
|
141 |
num_examples: 77366
|
142 |
-
download_size:
|
143 |
dataset_size: 6288962
|
144 |
- config_name: de-zh_CN
|
145 |
features:
|
@@ -153,7 +153,7 @@ dataset_info:
|
|
153 |
- name: train
|
154 |
num_bytes: 5836628
|
155 |
num_examples: 68712
|
156 |
-
download_size:
|
157 |
dataset_size: 5836628
|
158 |
- config_name: en_GB-es
|
159 |
features:
|
@@ -167,7 +167,7 @@ dataset_info:
|
|
167 |
- name: train
|
168 |
num_bytes: 6147581
|
169 |
num_examples: 77646
|
170 |
-
download_size:
|
171 |
dataset_size: 6147581
|
172 |
- config_name: en_GB-fr
|
173 |
features:
|
@@ -181,7 +181,7 @@ dataset_info:
|
|
181 |
- name: train
|
182 |
num_bytes: 6297779
|
183 |
num_examples: 77696
|
184 |
-
download_size:
|
185 |
dataset_size: 6297779
|
186 |
- config_name: en_GB-ja
|
187 |
features:
|
@@ -195,7 +195,7 @@ dataset_info:
|
|
195 |
- name: train
|
196 |
num_bytes: 6636722
|
197 |
num_examples: 69149
|
198 |
-
download_size:
|
199 |
dataset_size: 6636722
|
200 |
- config_name: en_GB-ru
|
201 |
features:
|
@@ -209,7 +209,7 @@ dataset_info:
|
|
209 |
- name: train
|
210 |
num_bytes: 7877970
|
211 |
num_examples: 75401
|
212 |
-
download_size:
|
213 |
dataset_size: 7877970
|
214 |
- config_name: en_GB-sv
|
215 |
features:
|
@@ -223,7 +223,7 @@ dataset_info:
|
|
223 |
- name: train
|
224 |
num_bytes: 5861461
|
225 |
num_examples: 77815
|
226 |
-
download_size:
|
227 |
dataset_size: 5861461
|
228 |
- config_name: en_GB-zh_CN
|
229 |
features:
|
@@ -237,7 +237,7 @@ dataset_info:
|
|
237 |
- name: train
|
238 |
num_bytes: 5424865
|
239 |
num_examples: 69400
|
240 |
-
download_size:
|
241 |
dataset_size: 5424865
|
242 |
- config_name: es-fr
|
243 |
features:
|
@@ -251,7 +251,7 @@ dataset_info:
|
|
251 |
- name: train
|
252 |
num_bytes: 6663092
|
253 |
num_examples: 77417
|
254 |
-
download_size:
|
255 |
dataset_size: 6663092
|
256 |
- config_name: es-ja
|
257 |
features:
|
@@ -265,7 +265,7 @@ dataset_info:
|
|
265 |
- name: train
|
266 |
num_bytes: 7005123
|
267 |
num_examples: 68944
|
268 |
-
download_size:
|
269 |
dataset_size: 7005123
|
270 |
- config_name: es-ru
|
271 |
features:
|
@@ -279,7 +279,7 @@ dataset_info:
|
|
279 |
- name: train
|
280 |
num_bytes: 8283703
|
281 |
num_examples: 76461
|
282 |
-
download_size:
|
283 |
dataset_size: 8283703
|
284 |
- config_name: es-sv
|
285 |
features:
|
@@ -293,7 +293,7 @@ dataset_info:
|
|
293 |
- name: train
|
294 |
num_bytes: 6232466
|
295 |
num_examples: 77825
|
296 |
-
download_size:
|
297 |
dataset_size: 6232466
|
298 |
- config_name: es-zh_CN
|
299 |
features:
|
@@ -307,7 +307,7 @@ dataset_info:
|
|
307 |
- name: train
|
308 |
num_bytes: 5776827
|
309 |
num_examples: 68583
|
310 |
-
download_size:
|
311 |
dataset_size: 5776827
|
312 |
- config_name: fr-ja
|
313 |
features:
|
@@ -321,7 +321,7 @@ dataset_info:
|
|
321 |
- name: train
|
322 |
num_bytes: 7160332
|
323 |
num_examples: 69026
|
324 |
-
download_size:
|
325 |
dataset_size: 7160332
|
326 |
- config_name: fr-ru
|
327 |
features:
|
@@ -335,7 +335,7 @@ dataset_info:
|
|
335 |
- name: train
|
336 |
num_bytes: 8432061
|
337 |
num_examples: 76464
|
338 |
-
download_size:
|
339 |
dataset_size: 8432061
|
340 |
- config_name: fr-sv
|
341 |
features:
|
@@ -349,7 +349,7 @@ dataset_info:
|
|
349 |
- name: train
|
350 |
num_bytes: 6373350
|
351 |
num_examples: 77398
|
352 |
-
download_size:
|
353 |
dataset_size: 6373350
|
354 |
- config_name: fr-zh_CN
|
355 |
features:
|
@@ -363,7 +363,7 @@ dataset_info:
|
|
363 |
- name: train
|
364 |
num_bytes: 5918482
|
365 |
num_examples: 68723
|
366 |
-
download_size:
|
367 |
dataset_size: 5918482
|
368 |
- config_name: ja-ru
|
369 |
features:
|
@@ -377,7 +377,7 @@ dataset_info:
|
|
377 |
- name: train
|
378 |
num_bytes: 8781230
|
379 |
num_examples: 68589
|
380 |
-
download_size:
|
381 |
dataset_size: 8781230
|
382 |
- config_name: ja-sv
|
383 |
features:
|
@@ -391,7 +391,7 @@ dataset_info:
|
|
391 |
- name: train
|
392 |
num_bytes: 6709627
|
393 |
num_examples: 69154
|
394 |
-
download_size:
|
395 |
dataset_size: 6709627
|
396 |
- config_name: ja-zh_CN
|
397 |
features:
|
@@ -405,7 +405,7 @@ dataset_info:
|
|
405 |
- name: train
|
406 |
num_bytes: 6397676
|
407 |
num_examples: 68953
|
408 |
-
download_size:
|
409 |
dataset_size: 6397676
|
410 |
- config_name: ru-sv
|
411 |
features:
|
@@ -419,7 +419,7 @@ dataset_info:
|
|
419 |
- name: train
|
420 |
num_bytes: 7966150
|
421 |
num_examples: 75560
|
422 |
-
download_size:
|
423 |
dataset_size: 7966150
|
424 |
- config_name: ru-zh_CN
|
425 |
features:
|
@@ -433,7 +433,7 @@ dataset_info:
|
|
433 |
- name: train
|
434 |
num_bytes: 7393659
|
435 |
num_examples: 66259
|
436 |
-
download_size:
|
437 |
dataset_size: 7393659
|
438 |
- config_name: sv-zh_CN
|
439 |
features:
|
@@ -447,8 +447,121 @@ dataset_info:
|
|
447 |
- name: train
|
448 |
num_bytes: 5492902
|
449 |
num_examples: 68846
|
450 |
-
download_size:
|
451 |
dataset_size: 5492902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
---
|
453 |
|
454 |
# Dataset Card for [Dataset Name]
|
|
|
69 |
- name: train
|
70 |
num_bytes: 6201077
|
71 |
num_examples: 77052
|
72 |
+
download_size: 2983173
|
73 |
dataset_size: 6201077
|
74 |
- config_name: de-es
|
75 |
features:
|
|
|
83 |
- name: train
|
84 |
num_bytes: 6571615
|
85 |
num_examples: 77000
|
86 |
+
download_size: 3145841
|
87 |
dataset_size: 6571615
|
88 |
- config_name: de-fr
|
89 |
features:
|
|
|
97 |
- name: train
|
98 |
num_bytes: 6715805
|
99 |
num_examples: 76684
|
100 |
+
download_size: 3167189
|
101 |
dataset_size: 6715805
|
102 |
- config_name: de-ja
|
103 |
features:
|
|
|
111 |
- name: train
|
112 |
num_bytes: 7084951
|
113 |
num_examples: 69396
|
114 |
+
download_size: 3137719
|
115 |
dataset_size: 7084951
|
116 |
- config_name: de-ru
|
117 |
features:
|
|
|
125 |
- name: train
|
126 |
num_bytes: 8333241
|
127 |
num_examples: 75511
|
128 |
+
download_size: 3585304
|
129 |
dataset_size: 8333241
|
130 |
- config_name: de-sv
|
131 |
features:
|
|
|
139 |
- name: train
|
140 |
num_bytes: 6288962
|
141 |
num_examples: 77366
|
142 |
+
download_size: 3053987
|
143 |
dataset_size: 6288962
|
144 |
- config_name: de-zh_CN
|
145 |
features:
|
|
|
153 |
- name: train
|
154 |
num_bytes: 5836628
|
155 |
num_examples: 68712
|
156 |
+
download_size: 2862703
|
157 |
dataset_size: 5836628
|
158 |
- config_name: en_GB-es
|
159 |
features:
|
|
|
167 |
- name: train
|
168 |
num_bytes: 6147581
|
169 |
num_examples: 77646
|
170 |
+
download_size: 2933203
|
171 |
dataset_size: 6147581
|
172 |
- config_name: en_GB-fr
|
173 |
features:
|
|
|
181 |
- name: train
|
182 |
num_bytes: 6297779
|
183 |
num_examples: 77696
|
184 |
+
download_size: 2952170
|
185 |
dataset_size: 6297779
|
186 |
- config_name: en_GB-ja
|
187 |
features:
|
|
|
195 |
- name: train
|
196 |
num_bytes: 6636722
|
197 |
num_examples: 69149
|
198 |
+
download_size: 2920159
|
199 |
dataset_size: 6636722
|
200 |
- config_name: en_GB-ru
|
201 |
features:
|
|
|
209 |
- name: train
|
210 |
num_bytes: 7877970
|
211 |
num_examples: 75401
|
212 |
+
download_size: 3356420
|
213 |
dataset_size: 7877970
|
214 |
- config_name: en_GB-sv
|
215 |
features:
|
|
|
223 |
- name: train
|
224 |
num_bytes: 5861461
|
225 |
num_examples: 77815
|
226 |
+
download_size: 2839624
|
227 |
dataset_size: 5861461
|
228 |
- config_name: en_GB-zh_CN
|
229 |
features:
|
|
|
237 |
- name: train
|
238 |
num_bytes: 5424865
|
239 |
num_examples: 69400
|
240 |
+
download_size: 2663377
|
241 |
dataset_size: 5424865
|
242 |
- config_name: es-fr
|
243 |
features:
|
|
|
251 |
- name: train
|
252 |
num_bytes: 6663092
|
253 |
num_examples: 77417
|
254 |
+
download_size: 3115129
|
255 |
dataset_size: 6663092
|
256 |
- config_name: es-ja
|
257 |
features:
|
|
|
265 |
- name: train
|
266 |
num_bytes: 7005123
|
267 |
num_examples: 68944
|
268 |
+
download_size: 3075174
|
269 |
dataset_size: 7005123
|
270 |
- config_name: es-ru
|
271 |
features:
|
|
|
279 |
- name: train
|
280 |
num_bytes: 8283703
|
281 |
num_examples: 76461
|
282 |
+
download_size: 3533017
|
283 |
dataset_size: 8283703
|
284 |
- config_name: es-sv
|
285 |
features:
|
|
|
293 |
- name: train
|
294 |
num_bytes: 6232466
|
295 |
num_examples: 77825
|
296 |
+
download_size: 2999454
|
297 |
dataset_size: 6232466
|
298 |
- config_name: es-zh_CN
|
299 |
features:
|
|
|
307 |
- name: train
|
308 |
num_bytes: 5776827
|
309 |
num_examples: 68583
|
310 |
+
download_size: 2815094
|
311 |
dataset_size: 5776827
|
312 |
- config_name: fr-ja
|
313 |
features:
|
|
|
321 |
- name: train
|
322 |
num_bytes: 7160332
|
323 |
num_examples: 69026
|
324 |
+
download_size: 3104825
|
325 |
dataset_size: 7160332
|
326 |
- config_name: fr-ru
|
327 |
features:
|
|
|
335 |
- name: train
|
336 |
num_bytes: 8432061
|
337 |
num_examples: 76464
|
338 |
+
download_size: 3553215
|
339 |
dataset_size: 8432061
|
340 |
- config_name: fr-sv
|
341 |
features:
|
|
|
349 |
- name: train
|
350 |
num_bytes: 6373350
|
351 |
num_examples: 77398
|
352 |
+
download_size: 3020247
|
353 |
dataset_size: 6373350
|
354 |
- config_name: fr-zh_CN
|
355 |
features:
|
|
|
363 |
- name: train
|
364 |
num_bytes: 5918482
|
365 |
num_examples: 68723
|
366 |
+
download_size: 2834942
|
367 |
dataset_size: 5918482
|
368 |
- config_name: ja-ru
|
369 |
features:
|
|
|
377 |
- name: train
|
378 |
num_bytes: 8781230
|
379 |
num_examples: 68589
|
380 |
+
download_size: 3534714
|
381 |
dataset_size: 8781230
|
382 |
- config_name: ja-sv
|
383 |
features:
|
|
|
391 |
- name: train
|
392 |
num_bytes: 6709627
|
393 |
num_examples: 69154
|
394 |
+
download_size: 2983777
|
395 |
dataset_size: 6709627
|
396 |
- config_name: ja-zh_CN
|
397 |
features:
|
|
|
405 |
- name: train
|
406 |
num_bytes: 6397676
|
407 |
num_examples: 68953
|
408 |
+
download_size: 2877818
|
409 |
dataset_size: 6397676
|
410 |
- config_name: ru-sv
|
411 |
features:
|
|
|
419 |
- name: train
|
420 |
num_bytes: 7966150
|
421 |
num_examples: 75560
|
422 |
+
download_size: 3425447
|
423 |
dataset_size: 7966150
|
424 |
- config_name: ru-zh_CN
|
425 |
features:
|
|
|
433 |
- name: train
|
434 |
num_bytes: 7393659
|
435 |
num_examples: 66259
|
436 |
+
download_size: 3224677
|
437 |
dataset_size: 7393659
|
438 |
- config_name: sv-zh_CN
|
439 |
features:
|
|
|
447 |
- name: train
|
448 |
num_bytes: 5492902
|
449 |
num_examples: 68846
|
450 |
+
download_size: 2722340
|
451 |
dataset_size: 5492902
|
452 |
+
configs:
|
453 |
+
- config_name: de-en_GB
|
454 |
+
data_files:
|
455 |
+
- split: train
|
456 |
+
path: de-en_GB/train-*
|
457 |
+
- config_name: de-es
|
458 |
+
data_files:
|
459 |
+
- split: train
|
460 |
+
path: de-es/train-*
|
461 |
+
- config_name: de-fr
|
462 |
+
data_files:
|
463 |
+
- split: train
|
464 |
+
path: de-fr/train-*
|
465 |
+
- config_name: de-ja
|
466 |
+
data_files:
|
467 |
+
- split: train
|
468 |
+
path: de-ja/train-*
|
469 |
+
- config_name: de-ru
|
470 |
+
data_files:
|
471 |
+
- split: train
|
472 |
+
path: de-ru/train-*
|
473 |
+
- config_name: de-sv
|
474 |
+
data_files:
|
475 |
+
- split: train
|
476 |
+
path: de-sv/train-*
|
477 |
+
- config_name: de-zh_CN
|
478 |
+
data_files:
|
479 |
+
- split: train
|
480 |
+
path: de-zh_CN/train-*
|
481 |
+
- config_name: en_GB-es
|
482 |
+
data_files:
|
483 |
+
- split: train
|
484 |
+
path: en_GB-es/train-*
|
485 |
+
- config_name: en_GB-fr
|
486 |
+
data_files:
|
487 |
+
- split: train
|
488 |
+
path: en_GB-fr/train-*
|
489 |
+
- config_name: en_GB-ja
|
490 |
+
data_files:
|
491 |
+
- split: train
|
492 |
+
path: en_GB-ja/train-*
|
493 |
+
- config_name: en_GB-ru
|
494 |
+
data_files:
|
495 |
+
- split: train
|
496 |
+
path: en_GB-ru/train-*
|
497 |
+
- config_name: en_GB-sv
|
498 |
+
data_files:
|
499 |
+
- split: train
|
500 |
+
path: en_GB-sv/train-*
|
501 |
+
- config_name: en_GB-zh_CN
|
502 |
+
data_files:
|
503 |
+
- split: train
|
504 |
+
path: en_GB-zh_CN/train-*
|
505 |
+
- config_name: es-fr
|
506 |
+
data_files:
|
507 |
+
- split: train
|
508 |
+
path: es-fr/train-*
|
509 |
+
- config_name: es-ja
|
510 |
+
data_files:
|
511 |
+
- split: train
|
512 |
+
path: es-ja/train-*
|
513 |
+
- config_name: es-ru
|
514 |
+
data_files:
|
515 |
+
- split: train
|
516 |
+
path: es-ru/train-*
|
517 |
+
- config_name: es-sv
|
518 |
+
data_files:
|
519 |
+
- split: train
|
520 |
+
path: es-sv/train-*
|
521 |
+
- config_name: es-zh_CN
|
522 |
+
data_files:
|
523 |
+
- split: train
|
524 |
+
path: es-zh_CN/train-*
|
525 |
+
- config_name: fr-ja
|
526 |
+
data_files:
|
527 |
+
- split: train
|
528 |
+
path: fr-ja/train-*
|
529 |
+
- config_name: fr-ru
|
530 |
+
data_files:
|
531 |
+
- split: train
|
532 |
+
path: fr-ru/train-*
|
533 |
+
- config_name: fr-sv
|
534 |
+
data_files:
|
535 |
+
- split: train
|
536 |
+
path: fr-sv/train-*
|
537 |
+
- config_name: fr-zh_CN
|
538 |
+
data_files:
|
539 |
+
- split: train
|
540 |
+
path: fr-zh_CN/train-*
|
541 |
+
- config_name: ja-ru
|
542 |
+
data_files:
|
543 |
+
- split: train
|
544 |
+
path: ja-ru/train-*
|
545 |
+
- config_name: ja-sv
|
546 |
+
data_files:
|
547 |
+
- split: train
|
548 |
+
path: ja-sv/train-*
|
549 |
+
- config_name: ja-zh_CN
|
550 |
+
data_files:
|
551 |
+
- split: train
|
552 |
+
path: ja-zh_CN/train-*
|
553 |
+
- config_name: ru-sv
|
554 |
+
data_files:
|
555 |
+
- split: train
|
556 |
+
path: ru-sv/train-*
|
557 |
+
- config_name: ru-zh_CN
|
558 |
+
data_files:
|
559 |
+
- split: train
|
560 |
+
path: ru-zh_CN/train-*
|
561 |
+
- config_name: sv-zh_CN
|
562 |
+
data_files:
|
563 |
+
- split: train
|
564 |
+
path: sv-zh_CN/train-*
|
565 |
---
|
566 |
|
567 |
# Dataset Card for [Dataset Name]
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a94e9791e9e22fef615434230c25c3cebc55af5ddbe0d2efe7696533a788fdda
|
3 |
+
size 2983173
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5c0d9f51bf91f617d5e2fd02e6a75d42dd73f028b183356a5fbfab0de9a3779
|
3 |
+
size 3145841
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d66ae2ca9d7166caa04e7b6baaa0fea819469e5eeb397a5b71edb7bb544c400f
|
3 |
+
size 3167189
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36fda7d92d238053682d1e621f3339341a66eed94642f557aff88eebe74a1dea
|
3 |
+
size 3137719
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d28d55055ca3e92fe0eb11528c5ab9d8ae3620973803062e28743254d9e674a
|
3 |
+
size 3585304
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c95d27cc04b907e409d4e4b6055b0c1ba194b1afbc81d41d4f0db6b7d7d87ec
|
3 |
+
size 3053987
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b312fbb3a7be95e3b8ef39213de86f24676e20e358071a2898868bd88d3e59f9
|
3 |
+
size 2862703
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68b59466d3430ab93fd840d7b714b636a9d12da9ca621593c72b3cfe243d5c78
|
3 |
+
size 2933203
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:721ee67c698a6b3ed340d4747b7368342cc5b3ce369165b78044fece0acb5597
|
3 |
+
size 2952170
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8f405708573b43c3eb6d5199b386089cc16c127b9167e2ff9845c3a2731da5f
|
3 |
+
size 2920159
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d0775007f7445ac5d94049c6839a34686dd667a10e8646988ebcaff4b1bf836
|
3 |
+
size 3356420
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:862437c12bf9b7f351a5a1fa0d7f354134142cac3f921c58530f7bc97402d3de
|
3 |
+
size 2839624
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b660bdd6ce8bae1fbe59a85b8b46f4731ab6e004e87b27a553a014b4fb4183e
|
3 |
+
size 2663377
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea156470b130443a95201407c4d3c3ed26ded9ca55836678ac7b87f9c1e1f952
|
3 |
+
size 3115129
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1eb11289a5b60f85eddad89791b385b85c714ef14298558583f197640cb75c02
|
3 |
+
size 3075174
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0990ef427e4c999a3403e33290d7558af2e6f546990de11cf4744cd81b1d9d7d
|
3 |
+
size 3533017
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19e789d1b5c52534a9df08630a04002df5286ebe345d7289e835cd0384e8ccf0
|
3 |
+
size 2999454
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a0cda10e12363f2ac2a95de0b4350a4d7ac30f793404b213fe55c9c2f4aa178
|
3 |
+
size 2815094
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:353491fe058cdfead877750ba8c45a92926d869a49623ecd514f12d7751d528b
|
3 |
+
size 3104825
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:344e5a6f9815b58e679f345bd56fb0517359906f233f5f3709f30df21cc21626
|
3 |
+
size 3553215
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f87fa2d034211c78060a07fd30a7c807418f751943588ff5e328e81ab3785154
|
3 |
+
size 3020247
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7894b6b3579ccb5b8e64d23d2536b96bbf9d14612c27c465e9e95657bdff76d
|
3 |
+
size 2834942
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77a018a7d81c1b5acb610beb85d6c2915ba8b6391f88155556b68bd79537a5eb
|
3 |
+
size 3534714
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffa477311d945e90d3014b6bfd2ad6e9a565a0a641f94a35831f0cc23f90a862
|
3 |
+
size 2983777
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4ac92d205feb7635367e0070ee729141fd9351968f118fc621edb185a4fdcd0
|
3 |
+
size 2877818
|
@@ -1,108 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2020 The HuggingFace Datasets Authors.
|
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 |
-
"""OpusOpenoffice: A collection of documents from openoffice org"""
|
16 |
-
|
17 |
-
|
18 |
-
import itertools
|
19 |
-
import os
|
20 |
-
|
21 |
-
import datasets
|
22 |
-
|
23 |
-
|
24 |
-
_CITATION = """\
|
25 |
-
@InProceedings{TIEDEMANN12.463,
|
26 |
-
author = {J�rg Tiedemann},
|
27 |
-
title = {Parallel Data, Tools and Interfaces in OPUS},
|
28 |
-
booktitle = {Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC'12)},
|
29 |
-
year = {2012},
|
30 |
-
month = {may},
|
31 |
-
date = {23-25},
|
32 |
-
address = {Istanbul, Turkey},
|
33 |
-
editor = {Nicoletta Calzolari (Conference Chair) and Khalid Choukri and Thierry Declerck and Mehmet Ugur Dogan and Bente Maegaard and Joseph Mariani and Jan Odijk and Stelios Piperidis},
|
34 |
-
publisher = {European Language Resources Association (ELRA)},
|
35 |
-
isbn = {978-2-9517408-7-7},
|
36 |
-
language = {english}
|
37 |
-
}
|
38 |
-
"""
|
39 |
-
|
40 |
-
|
41 |
-
_DESCRIPTION = """\
|
42 |
-
A collection of documents from http://www.openoffice.org/.
|
43 |
-
"""
|
44 |
-
|
45 |
-
|
46 |
-
_HOMEPAGE = "https://opus.nlpl.eu/OpenOffice/corpus/version/OpenOffice"
|
47 |
-
|
48 |
-
_LANGUAGES = ["de", "en_GB", "es", "fr", "ja", "ru", "sv", "zh_CN"]
|
49 |
-
_LANGUAGE_PAIRS = list(itertools.combinations(_LANGUAGES, 2))
|
50 |
-
|
51 |
-
_BASE_URL = "https://object.pouta.csc.fi/OPUS-OpenOffice/v3/moses"
|
52 |
-
_URLS = {f"{l1}-{l2}": f"{_BASE_URL}/{l1}-{l2}.txt.zip" for l1, l2 in _LANGUAGE_PAIRS}
|
53 |
-
|
54 |
-
|
55 |
-
class OpusOpenoffice(datasets.GeneratorBasedBuilder):
|
56 |
-
"""OpusOpenoffice: A collection of documents from openoffice org"""
|
57 |
-
|
58 |
-
VERSION = datasets.Version("1.0.0")
|
59 |
-
|
60 |
-
BUILDER_CONFIGS = [
|
61 |
-
datasets.BuilderConfig(
|
62 |
-
name=f"{l1}-{l2}", version=datasets.Version("1.0.0"), description=f"OPUS EUconst {l1}-{l2}"
|
63 |
-
)
|
64 |
-
for l1, l2 in _LANGUAGE_PAIRS
|
65 |
-
]
|
66 |
-
|
67 |
-
def _info(self):
|
68 |
-
return datasets.DatasetInfo(
|
69 |
-
description=_DESCRIPTION,
|
70 |
-
features=datasets.Features(
|
71 |
-
{"translation": datasets.features.Translation(languages=tuple(self.config.name.split("-")))}
|
72 |
-
),
|
73 |
-
supervised_keys=None,
|
74 |
-
homepage=_HOMEPAGE,
|
75 |
-
citation=_CITATION,
|
76 |
-
)
|
77 |
-
|
78 |
-
def _split_generators(self, dl_manager):
|
79 |
-
"""Returns SplitGenerators."""
|
80 |
-
lang_pair = self.config.name.split("-")
|
81 |
-
data_dir = dl_manager.download_and_extract(_URLS[self.config.name])
|
82 |
-
return [
|
83 |
-
datasets.SplitGenerator(
|
84 |
-
name=datasets.Split.TRAIN,
|
85 |
-
gen_kwargs={
|
86 |
-
"source_file": os.path.join(data_dir, f"OpenOffice.{self.config.name}.{lang_pair[0]}"),
|
87 |
-
"target_file": os.path.join(data_dir, f"OpenOffice.{self.config.name}.{lang_pair[1]}"),
|
88 |
-
},
|
89 |
-
),
|
90 |
-
]
|
91 |
-
|
92 |
-
def _generate_examples(self, source_file, target_file):
|
93 |
-
with open(source_file, encoding="utf-8") as f:
|
94 |
-
source_sentences = f.read().split("\n")
|
95 |
-
with open(target_file, encoding="utf-8") as f:
|
96 |
-
target_sentences = f.read().split("\n")
|
97 |
-
|
98 |
-
assert len(target_sentences) == len(source_sentences), "Sizes do not match: %d vs %d for %s vs %s." % (
|
99 |
-
len(source_sentences),
|
100 |
-
len(target_sentences),
|
101 |
-
source_file,
|
102 |
-
target_file,
|
103 |
-
)
|
104 |
-
|
105 |
-
source, target = tuple(self.config.name.split("-"))
|
106 |
-
for idx, (l1, l2) in enumerate(zip(source_sentences, target_sentences)):
|
107 |
-
result = {"translation": {source: l1, target: l2}}
|
108 |
-
yield idx, result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11e341f43f2ef1830eb3ef132452bbc1a704f153be531a29a9236ab5d44f5de7
|
3 |
+
size 3425447
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38edb49103d73a3243f0ec2c3e8bf27adb6c8a3e982ff61bb506d0519863a92a
|
3 |
+
size 3224677
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:186990d01e5eeb141999d11e9656cd0f9216416fe568be1ab4b8b44289e9fc0a
|
3 |
+
size 2722340
|