Datasets:

Modalities:
Text
Formats:
parquet
Libraries:
Datasets
pandas
License:
File size: 11,349 Bytes
9b0ff4d
 
 
 
 
e9f59cf
9b0ff4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e9f59cf
9b0ff4d
 
 
 
de956dc
 
 
9b0ff4d
 
 
4b3fda5
 
ff366d7
0d6f4cb
 
 
 
 
 
 
 
 
 
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
 
22e89ef
 
 
 
 
 
 
 
0d6f4cb
22e89ef
 
0d6f4cb
 
 
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
22e89ef
 
 
 
 
 
 
 
 
 
 
 
0d6f4cb
22e89ef
0d6f4cb
 
 
22e89ef
 
 
 
 
 
 
0d6f4cb
 
22e89ef
 
0d6f4cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9b0ff4d
 
ff366d7
9b0ff4d
 
 
 
406a504
9b0ff4d
 
 
406a504
 
9b0ff4d
 
 
 
 
 
 
 
 
 
 
 
 
88e1ba0
9b0ff4d
 
 
ff366d7
 
 
 
 
9b0ff4d
 
 
 
 
d72c5b7
9b0ff4d
ff366d7
 
d72c5b7
 
 
 
9b0ff4d
d72c5b7
 
 
 
ff366d7
9b0ff4d
 
 
 
 
 
 
 
d72c5b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9b0ff4d
 
 
 
 
d72c5b7
 
 
 
 
 
 
 
 
9b0ff4d
 
 
d72c5b7
 
9b0ff4d
 
 
d72c5b7
9b0ff4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ff366d7
 
 
 
9b0ff4d
 
 
ff366d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d72c5b7
ff366d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d72c5b7
 
88e1ba0
 
 
22e89ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
---
annotations_creators:
- found
language_creators:
- found
language:
- bg
- cs
- da
- de
- el
- en
- es
- et
- fi
- fr
- ga
- hr
- hu
- it
- lt
- lv
- mt
- nl
- pl
- pt
- ro
- sh
- sk
- sl
- sv
license:
- unknown
multilinguality:
- multilingual
size_categories:
- 100K<n<1M
- 10K<n<100K
- 1M<n<10M
source_datasets:
- original
task_categories:
- translation
task_ids: []
pretty_name: OPUS DGT
config_names:
- bg-ga
- bg-hr
- bg-sh
- es-ga
- fi-ga
- ga-nl
- ga-sh
- hr-sk
- hr-sv
- mt-sh
dataset_info:
- config_name: bg-ga
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - bg
        - ga
  splits:
  - name: train
    num_bytes: 82972212
    num_examples: 179142
  download_size: 32909143
  dataset_size: 82972212
- config_name: bg-hr
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - bg
        - hr
  splits:
  - name: train
    num_bytes: 239827799
    num_examples: 701572
  download_size: 95163332
  dataset_size: 239827799
- config_name: bg-sh
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - bg
        - sh
  splits:
  - name: train
    num_bytes: 498883117
    num_examples: 1488507
  download_size: 197907658
  dataset_size: 498883117
- config_name: es-ga
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - es
        - ga
  splits:
  - name: train
    num_bytes: 63115450
    num_examples: 178696
  download_size: 27625395
  dataset_size: 63115450
- config_name: fi-ga
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - fi
        - ga
  splits:
  - name: train
    num_bytes: 61312920
    num_examples: 178619
  download_size: 27498616
  dataset_size: 61312920
- config_name: ga-nl
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - ga
        - nl
  splits:
  - name: train
    num_bytes: 59065358
    num_examples: 170644
  download_size: 26024485
  dataset_size: 59065358
- config_name: ga-sh
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - ga
        - sh
  splits:
  - name: train
    num_bytes: 28666465
    num_examples: 91613
  download_size: 13309478
  dataset_size: 28666465
- config_name: hr-sk
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - hr
        - sk
  splits:
  - name: train
    num_bytes: 170717543
    num_examples: 689263
  download_size: 79828239
  dataset_size: 170717543
- config_name: hr-sv
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - hr
        - sv
  splits:
  - name: train
    num_bytes: 171857552
    num_examples: 696334
  download_size: 77567933
  dataset_size: 171857552
- config_name: mt-sh
  features:
  - name: id
    dtype: string
  - name: translation
    dtype:
      translation:
        languages:
        - mt
        - sh
  splits:
  - name: train
    num_bytes: 368560691
    num_examples: 1450424
  download_size: 166554923
  dataset_size: 368560691
configs:
- config_name: bg-ga
  data_files:
  - split: train
    path: bg-ga/train-*
- config_name: bg-hr
  data_files:
  - split: train
    path: bg-hr/train-*
- config_name: bg-sh
  data_files:
  - split: train
    path: bg-sh/train-*
- config_name: es-ga
  data_files:
  - split: train
    path: es-ga/train-*
- config_name: fi-ga
  data_files:
  - split: train
    path: fi-ga/train-*
- config_name: ga-nl
  data_files:
  - split: train
    path: ga-nl/train-*
- config_name: ga-sh
  data_files:
  - split: train
    path: ga-sh/train-*
- config_name: hr-sk
  data_files:
  - split: train
    path: hr-sk/train-*
- config_name: hr-sv
  data_files:
  - split: train
    path: hr-sv/train-*
- config_name: mt-sh
  data_files:
  - split: train
    path: mt-sh/train-*
---

# Dataset Card for OPUS DGT

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:** https://opus.nlpl.eu/DGT/corpus/version/DGT
- **Homepage:** https://joint-research-centre.ec.europa.eu/language-technology-resources/dgt-translation-memory_en
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
- **Paper:** https://aclanthology.org/L12-1481/
- **Paper:** https://aclanthology.org/L12-1246/
- **Leaderboard:** [More Information Needed]
- **Point of Contact:** [More Information Needed]

### Dataset Summary

A collection of translation memories provided by the Joint Research Centre (JRC) Directorate-General for Translation (DGT): https://ec.europa.eu/jrc/en/language-technologies/dgt-translation-memory

Latest Release: v2019.

Tha dataset contains 25 languages and 299 bitexts.

To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs,
e.g.

```python
dataset = load_dataset("opus_dgt", lang1="it", lang2="pl")
```

You can find the valid pairs in Homepage section of Dataset Description: https://opus.nlpl.eu/DGT/corpus/version/DGT


### Supported Tasks and Leaderboards

[More Information Needed]

### Languages

The languages in the dataset are:
- bg
- cs
- da
- de
- el
- en
- es
- et
- fi
- fr
- ga
- hr
- hu
- it
- lt
- lv
- mt
- nl
- pl
- pt
- ro
- sh
- sk
- sl
- sv

## Dataset Structure

### Data Instances

```
{
  'id': '0', 
  'translation': {
    "bg": "Протокол за поправка на Конвенцията относно компетентността, признаването и изпълнението на съдебни решения по граждански и търговски дела, подписана в Лугано на 30 октомври 2007 г.",
    "ga": "Miontuairisc cheartaitheach maidir le Coinbhinsiún ar dhlínse agus ar aithint agus ar fhorghníomhú breithiúnas in ábhair shibhialta agus tráchtála, a siníodh in Lugano an 30 Deireadh Fómhair 2007"
  }
}
```

### Data Fields

- `id` (`str`): Unique identifier of the parallel sentence for the pair of languages.
- `translation` (`dict`): Parallel sentences for the pair of languages.

### Data Splits

The dataset contains a single `train` split.

## Dataset Creation

### Curation Rationale

[More Information Needed]

### Source Data

[More Information Needed]

#### Initial Data Collection and Normalization

[More Information Needed]

#### Who are the source language producers?

[More Information Needed]

### Annotations

[More Information Needed]

#### Annotation process

[More Information Needed]

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### Licensing Information

The conditions of use of the original source dataset are: https://joint-research-centre.ec.europa.eu/language-technology-resources/dgt-translation-memory_en#conditions
> The DGT-TM database is the exclusive property of the European Commission. The Commission cedes its non-exclusive rights free of charge and world-wide for the entire duration of the protection of those rights to the re-user, for all kinds of use which comply with the conditions laid down in the Commission Decision of 12 December 2011 on the re-use of Commission documents, published in Official Journal of the European Union L330 of 14 December 2011, pages 39 to 42.

> Any re-use of the database or of the structured elements contained in it is required to be identified by the re-user, who is under an obligation to state the source of the documents used: the website address, the date of the latest update and the fact that the European Commission retains ownership of the data.

### Citation Information

https://joint-research-centre.ec.europa.eu/language-technology-resources/dgt-translation-memory_en#reference

When making reference to DGT-TM in scientific publications, please refer to:
```bibtex
@inproceedings{steinberger-etal-2012-dgt,
    title = "{DGT}-{TM}: A freely available Translation Memory in 22 languages",
    author = {Steinberger, Ralf  and
      Eisele, Andreas  and
      Klocek, Szymon  and
      Pilos, Spyridon  and
      Schl{\"u}ter, Patrick},
    editor = "Calzolari, Nicoletta  and
      Choukri, Khalid  and
      Declerck, Thierry  and
      Do{\u{g}}an, Mehmet U{\u{g}}ur  and
      Maegaard, Bente  and
      Mariani, Joseph  and
      Moreno, Asuncion  and
      Odijk, Jan  and
      Piperidis, Stelios",
    booktitle = "Proceedings of the Eighth International Conference on Language Resources and Evaluation ({LREC}'12)",
    month = may,
    year = "2012",
    address = "Istanbul, Turkey",
    publisher = "European Language Resources Association (ELRA)",
    url = "http://www.lrec-conf.org/proceedings/lrec2012/pdf/814_Paper.pdf",
    pages = "454--459",
}

```

Please cite the following article if you use any part of the corpus in your own work:
```bibtex
@inproceedings{tiedemann-2012-parallel,
    title = "Parallel Data, Tools and Interfaces in {OPUS}",
    author = {Tiedemann, J{\"o}rg},
    editor = "Calzolari, Nicoletta  and
      Choukri, Khalid  and
      Declerck, Thierry  and
      Do{\u{g}}an, Mehmet U{\u{g}}ur  and
      Maegaard, Bente  and
      Mariani, Joseph  and
      Moreno, Asuncion  and
      Odijk, Jan  and
      Piperidis, Stelios",
    booktitle = "Proceedings of the Eighth International Conference on Language Resources and Evaluation ({LREC}'12)",
    month = may,
    year = "2012",
    address = "Istanbul, Turkey",
    publisher = "European Language Resources Association (ELRA)",
    url = "http://www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper.pdf",
    pages = "2214--2218",
}
```

### Contributions

Thanks to [@rkc007](https://github.com/rkc007) for adding this dataset.