File size: 4,778 Bytes
813b54a
2fc78a1
 
 
 
 
 
 
 
 
 
 
 
 
 
813b54a
2fc78a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d87cec9
2fc78a1
 
 
 
 
 
 
 
 
 
 
 
 
 
d87cec9
2fc78a1
d87cec9
2fc78a1
 
 
 
 
 
 
 
 
 
 
bf3dfe6
 
 
 
 
 
 
 
 
 
 
2fc78a1
 
6977c10
2fc78a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
language:
- ca
- fr
- multilingual
multilinguality:
- translation
pretty_name: CA-FR Parallel Corpus
size_categories:
- 1M<n<10M
source_datasets:
- original
task_categories:
- translation
task_ids: []
---

# Dataset Card for CA-FR 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)
  - [Data preparation](#data-preparation)
  - [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-FR Parallel Corpus is a Catalan-French dataset of **XXX** 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.

### Languages

The texts in the dataset are in Catalan and French.

## Dataset Structure

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

- xxx.ca: contains XXX Catalan sentences.

- xxx.fr: contains XXX French sentences.

### Data Splits

The dataset contains a single split: `train`.

## Dataset Creation

### Source Data

The dataset is a combination of the following authentic datasets:

| Dataset         | Sentences |
|-----------------|-----------|
| CCMatrix        | 16.305.758|
| Multi CCAligned |  1.442.584|
| WikiMatrix      |    437.665|
| GNOME           |      1.686|
| KDE 4           |    111.750|
| QED             |     52.797|
| TED 2020        |     44.101|
| Open Subtitles  |    225.786|
| **Total**  | **18.634.844** |


All corpora were collected from [Opus](https://opus.nlpl.eu/).

The remaining **XXX** sentences are synthetic parallel data created from a random sampling of the Spanish-French 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.

### 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 **XXX** parallel sentences 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 langtech@bsc.es.

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