Datasets:

Modalities:
Text
Formats:
parquet
DOI:
Libraries:
Datasets
pandas
License:
File size: 5,446 Bytes
d8f3ec2
5db136e
effb4b1
 
 
 
5db136e
effb4b1
 
 
5db136e
 
4f903d8
d8f3ec2
effb4b1
03767b6
effb4b1
 
5db136e
effb4b1
 
5db136e
effb4b1
 
5db136e
 
 
 
effb4b1
5db136e
effb4b1
5db136e
effb4b1
 
 
 
 
 
5db136e
 
 
 
 
effb4b1
 
 
5db136e
 
 
effb4b1
 
7cbe2c9
1eb725f
effb4b1
5db136e
effb4b1
 
da2cc9b
c8b62a4
1d706ea
effb4b1
 
76c3ef0
effb4b1
 
 
5db136e
 
7cbe2c9
ddcc303
1eb725f
c9bff4b
1eb725f
effb4b1
5db136e
 
 
 
 
effb4b1
 
 
 
 
 
5db136e
 
804abaa
5db136e
effb4b1
 
5db136e
 
7cbe2c9
d6328f7
072aa60
09b21ec
d6328f7
 
 
 
 
 
 
 
 
a022e08
d6328f7
89d2129
 
 
 
5db136e
 
a98e8b6
5db136e
 
 
efe38e0
5db136e
 
7cbe2c9
76c3ef0
7cbe2c9
5db136e
 
 
 
 
 
 
 
effb4b1
5db136e
effb4b1
5db136e
 
d57041a
 
effb4b1
 
 
 
4f903d8
effb4b1
 
 
4f903d8
 
effb4b1
 
 
8e3f63f
effb4b1
 
 
5db136e
 
 
 
 
effb4b1
 
5db136e
effb4b1
1eb725f
effb4b1
5db136e
 
 
 
 
 
 
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
---
YAML tags: null
language:
- ca
- pt
multilinguality:
- multilingual
pretty_name: CA-PT Parallel Corpus
task_categories:
- translation
size_categories:
- 1M<n<10M
license: cc-by-nc-sa-4.0
---

# Dataset Card for CA-PT Parallel Corpus

## Table of Contents
- [Table of Contents](#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)
  - [Example](#example)
  - [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

- **Point of Contact:** [email protected]


### Dataset Summary

The CA-PT Parallel Corpus is a Catalan-Portuguese dataset of **9.892.953** parallel sentences. The dataset was created to support Catalan in NLP tasks, specifically 
Machine Translation.


### Supported Tasks and Leaderboards

The dataset can be used to train Bilingual Machine Translation models between Portuguese and Catalan in any direction, 
as well as Multilingual Machine Translation models.

### Languages

The sentences included in the dataset are in Catalan (CA) and Portuguese (PT).

## Dataset Structure

### Data Instances

Two separate txt files are provided with the sentences sorted in the same order:

- ca-pt_2023_09_01_full.ca: contains 9.892.953 Catalan sentences.

- ca-pt_2023_09_01_full.pt: contains 9.892.953 Portuguese sentences.


### Data Fields

[N/A]
    
### Data Splits

The dataset contains a single split: `train`.

## Dataset Creation

### Curation Rationale

This dataset is aimed at promoting the development of Machine Translation between Catalan and other languages, specifically Portuguese.

### Source Data

#### Initial Data Collection and Normalization

The dataset is a combination of the following original datasets:

| Dataset       | Sentences |
|:-------|-------:|
| CCMatrix  v1  | 3.765.459 |
| WikiMatrix    | 317.649 	|
| GNOME	        | 1.752     |
| KDE4    	    | 117.828 	|
| QED           | 43.736 	|
| TED2020 v1    | 41.461    |
| OpenSubtitles	| 235.604	|
| GlobalVoices  | 3.430     |
| Tatoeba       | 723       |
| Europarl      | 1.631.989 |
| **Total**     | **6.159.631** |

All corpora except Europarl were collected from [Opus](https://opus.nlpl.eu/).
The Europarl corpus is a synthetic parallel corpus created from the original Spanish-Catalan corpus by [SoftCatalà](https://github.com/Softcatala/Europarl-catalan).

The remaining **3.733.322** sentences are synthetic parallel data created from a random sampling of the Spanish-Portuguese corpora 
available on [Opus](https://opus.nlpl.eu/) and translated into Catalan using the [PlanTL es-ca](https://huggingface.co/PlanTL-GOB-ES/mt-plantl-es-ca) model.

All datasets are deduplicated and filtered to remove any sentence pairs with a cosine similarity of less than 0.75. 
This is done using sentence embeddings calculated using [LaBSE](https://huggingface.co/sentence-transformers/LaBSE). 
The filtered datasets are then concatenated to form a final corpus of **9.892.953** parallel sentences.

#### Who are the source language producers?

[Opus](https://opus.nlpl.eu/) 

[SoftCatalà](https://github.com/Softcatala/Europarl-catalan)

### Annotations

#### Annotation process

The dataset does not contain any annotations.

#### Who are the annotators?

[N/A]

### Personal and Sensitive Information

No anonymisation process was performed.

## Considerations for Using the Data

### Social Impact of Dataset

By providing this resource, we intend to promote the use of Catalan across NLP tasks, thereby improving the accessibility and visibility of the Catalan language.

### Discussion of Biases

No specific bias mitigation strategies were applied to this dataset. 
Inherent biases may exist within the data.

### Other Known Limitations

The dataset contains data of a general domain. Applications of this dataset in more specific domains such as biomedical, legal etc. would be of limited use.

## Additional Information

### Dataset Curators

Language Technologies Unit at the Barcelona Supercomputing Center ([email protected]).

This work was funded by the [Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya](https://politiquesdigitals.gencat.cat/ca/inici/index.html#googtrans(ca|en) within the framework of [Projecte AINA](https://politiquesdigitals.gencat.cat/ca/economia/catalonia-ai/aina).


### Licensing Information

This work is licensed under a [Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/).

### Citation Information

[N/A]

### Contributions

[N/A]