Datasets:

Modalities:
Text
Formats:
parquet
DOI:
Libraries:
Datasets
pandas
License:
File size: 4,809 Bytes
d8f3ec2
effb4b1
 
 
 
 
 
 
 
 
 
 
 
 
 
d8f3ec2
effb4b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ee827d3
 
 
 
 
effb4b1
 
 
 
 
 
 
 
 
01d4f25
 
effb4b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a98e8b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
efe38e0
 
 
a98e8b6
effb4b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0651841
 
effb4b1
0651841
 
effb4b1
0651841
 
effb4b1
0651841
a92bf44
effb4b1
0651841
322197f
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
---
language:
- ca
- pt
- multilingual
multilinguality:
- translation
pretty_name: CA-PT Parallel Corpus
size_categories:
- 1M<n<10M
source_datasets:
- original
task_categories:
- translation
task_ids: []
---

# Dataset Card for CA-PT Parallel Corpus

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Splits](#data-instances)
- [Dataset Creation](#dataset-creation)
  - [Source Data](#source-data)
  - [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)
  - [Author](#author)
  - [Contact Information](#contact-information)
  - [Copyright](#copyright)
  - [Licensing information](#licenciung-informatrion)
  - [Funding](#funding)

## Dataset Description

### Dataset Summary

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

### Supported Tasks and Leaderboards

The dataset can be used to train a model for Multilingual Machine Translation. Success on this task is typically measured by achieving a high BLEU score.
This dataset was used to train Projecte Aina’s Catalan-Portuguese machine translation model (projecte-aina/mt-aina-ca-pt).

### Languages

The texts in the dataset are in Catalan and Portuguese.

## Dataset Structure

Two separated txt files are provided with sentences in the same order.

### Data Splits

The dataset contains a single split: `train`.

## Dataset Creation

### Source Data

The dataset is a combination of the following datasets:

| Dataset       	| Sentences  	| Sentences after Cleaning|
|-------------------|----------------|-------------------|
| CCMatrix  v1  	| 12.674.684  	| 	3.765.459|
| WikiMatrix  	| 358.873 	| 317.649 	|
| GNOME	| 5.211	|	1.752|
| KDE4    	| 166.208   	|  117.828 	|
| QED           	| 53.635 	|   43.736 	|
| TED2020 v1    	| 48.942 	| 41.461 |
| OpenSubtitles	| 384.142	| 235.604	|
| GlobalVoices| 4.035 	|	3.430|
| Tatoeba | 754 | 723 |
| Europarl | 1.692.106 | 3.765.459 |
| **Total**     	| **15.391.745** | **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).

### Data preparation

 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 6.159.631 and before training the punctuation is normalized using a modified version of the join-single-file.py script from [SoftCatalà](https://github.com/Softcatala/nmt-models/blob/master/data-processing-tools/join-single-file.py)

### Personal and Sensitive Information

No anonymisation process was performed.

## Considerations for Using the Data

### Social Impact of Dataset

The purpose of this dataset is to help develop Machines Translation tasks for low-resource languages such as Catalan.

### Discussion of Biases

We are aware that since part of the data comes from unreliable web pages and non-curated texts, some biases may be present in the dataset. Nonetheless, we have not applied any steps to reduce their impact.

### Other Known Limitations

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

## Additional Information

### Author
Language Technologies Unit (LangTech) at the Barcelona Supercomputing Center

### Contact information
For further information, please send an email to [email protected].

### Copyright
Copyright Language Technologies Unit at Barcelona Supercomputing Center (2023)

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

### Funding
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).