Datasets:

Modalities:
Text
Formats:
parquet
DOI:
Libraries:
Datasets
pandas
License:
fdelucaf commited on
Commit
de1a4c8
·
verified ·
1 Parent(s): fa3a102

Add lingua.py mention

Browse files
Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -77,9 +77,12 @@ made public by [SoftCatalà](https://github.com/Softcatala/Europarl-catalan).
77
  A last portion of the dataset is composed by synthetic parallel data generated from a random sampling of the Spanish-Portuguese corpora
78
  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.
79
 
80
- All datasets are deduplicated and filtered to remove any sentence pairs with a cosine similarity of less than 0.75.
81
- This is done using sentence embeddings calculated using [LaBSE](https://huggingface.co/sentence-transformers/LaBSE).
82
- The filtered datasets are then concatenated to form the final corpus.
 
 
 
83
 
84
  #### Who are the source language producers?
85
 
 
77
  A last portion of the dataset is composed by synthetic parallel data generated from a random sampling of the Spanish-Portuguese corpora
78
  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.
79
 
80
+ All data was filtered according to two specific criteria:
81
+ - Alignment: sentence level alignments were calculated using [LaBSE](https://huggingface.co/sentence-transformers/LaBSE) and sentence pairs with a score below 0.75 were discarded.
82
+
83
+ - Language identification: the probability of being the target language was calculated using [Lingua.py](https://github.com/pemistahl/lingua-py) and sentences with a language probability score below 0.5 were discarded.
84
+
85
+ The filtered datasets are then concatenated and deduplicated to form the final corpus.
86
 
87
  #### Who are the source language producers?
88