Xabi Ezpeleta commited on
Commit
6711d2f
1 Parent(s): 5e7aef2

Added english-basque corpus

Browse files
.gitattributes CHANGED
@@ -53,3 +53,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
53
  *.jpg filter=lfs diff=lfs merge=lfs -text
54
  *.jpeg filter=lfs diff=lfs merge=lfs -text
55
  *.webp filter=lfs diff=lfs merge=lfs -text
 
 
 
53
  *.jpg filter=lfs diff=lfs merge=lfs -text
54
  *.jpeg filter=lfs diff=lfs merge=lfs -text
55
  *.webp filter=lfs diff=lfs merge=lfs -text
56
+ *.en filter=lfs diff=lfs merge=lfs -text
57
+ *.eu filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - translation
4
+ language:
5
+ - eu
6
+ - en
7
+ - es
8
+ - fr
9
+ pretty_name: Parallel Basque Corpus
10
+ ---
11
+
12
+
13
+ ## Sources of the corpus used
14
+
15
+ - [Opus](https://opus.nlpl.eu/results/en&eu/corpus-result-table)
16
+ - [Orai](https://www.orai.eus/en/resources)
data-processing-tools/requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ tmx-to-text
eng-eus/get.sh ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+
3
+ ###
4
+ ### Resources:
5
+ ### - Helsinki NLP Opus resources (english - basque): https://opus.nlpl.eu/results/en&eu/corpus-result-table
6
+
7
+ # TODO
8
+ # English - Basque Wikinews MT Test Set
9
+ # https://live.european-language-grid.eu/catalogue/corpus/19734
10
+ # 1788 parallel segments
11
+ #
12
+
13
+ # Not so good quality, take only best 20% ?
14
+ # https://community.libretranslate.com/t/ccmatrix-quality-warning/903
15
+ ccmatrix() {
16
+ cd raw
17
+ wget -O ccmatrix-en-eu.tmx.gz https://object.pouta.csc.fi/OPUS-CCMatrix/v1/tmx/en-eu.tmx.gz
18
+ gzip -d ccmatrix-en-eu.tmx.gz
19
+ tmx-to-text convert -f ccmatrix-en-eu.tmx -s en -t eu -p ccmatrix
20
+ rm -f ccmatrix-en-eu.tmx
21
+ mv ccmatrix.en-eu.en ../
22
+ mv ccmatrix.en-eu.eu ../
23
+ cd ..
24
+ }
25
+
26
+
27
+ #
28
+ opensubtitles() {
29
+ cd raw
30
+ wget -O opensubtitles-en-eu.tmx.gz https://object.pouta.csc.fi/OPUS-OpenSubtitles/v2018/tmx/en-eu.tmx.gz
31
+ gzip -d opensubtitles-en-eu.tmx.gz
32
+ tmx-to-text convert -f opensubtitles-en-eu.tmx -s en -t eu -p opensubtitles
33
+ rm -f opensubtitles-en-eu.tmx
34
+ mv opensubtitles.en-eu.en ../
35
+ mv opensubtitles.en-eu.eu ../
36
+ }
37
+
38
+ xlent() {
39
+ cd raw
40
+ wget -O xlent-en-eu.tmx.gz https://object.pouta.csc.fi/OPUS-XLEnt/v1.2/tmx/en-eu.tmx.gz
41
+ gzip -d xlent-en-eu.tmx.gz
42
+ tmx-to-text convert -f xlent-en-eu.tmx -s en -t eu -p xlent
43
+ rm -f xlent-en-eu.tmx
44
+ mv xlent.en-eu.en ../
45
+ mv xlent.en-eu.eu ../
46
+ }
47
+
48
+ gnome() {
49
+ cd raw
50
+ wget -O gnome-en-eu.tmx.gz https://object.pouta.csc.fi/OPUS-GNOME/v1/tmx/en-eu.tmx.gz
51
+ gzip -d gnome-en-eu.tmx.gz
52
+ tmx-to-text convert -f gnome-en-eu.tmx -s en -t eu -p gnome
53
+ rm -f gnome-en-eu.tmx
54
+ mv gnome.en-eu.en ../
55
+ mv gnome.en-eu.eu ../
56
+ }
57
+
58
+ paco() {
59
+ cd raw
60
+ wget -O paco-en-eu.tgz https://hizkuntzateknologiak.elhuyar.eus/assets/files/paco-euen-corpus.tgz
61
+ tar xzf paco-en-eu.tgz
62
+ mv PaCo_EuEn_corpus/PaCo_corpus.en-eu.en ../paco.en-eu.en
63
+ mv PaCo_EuEn_corpus/PaCo_corpus.en-eu.eu ../paco.en-eu.eu
64
+ }
65
+
66
+ # Wikimatrix en-eu
67
+ # Europarl en-eu
68
+ # Tedtalks en-eu
69
+ # Tatoeba.org en-eu
70
+ # Common Voice (covost2 eu-en)
71
+ # Common Voice (covost2 en-eu)
72
+ # Macocu.eu (macocu eu-en)
73
+ # Orai Basque-English corpus
74
+
75
+ rm -R -f raw
76
+ mkdir raw
77
+ #ccmatrix
78
+ #opensubtitles
79
+ #xlent
80
+ #gnome
81
+ paco
eng-eus/gnome.en-eu.en ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dee1c0f053d5c7afcbe20672995ac61821d2c6077b1ef74771a21941675adbd6
3
+ size 5502106
eng-eus/gnome.en-eu.eu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0735376a53c215a7c669ed0123961a0702271677aa2721a4be39fd8556838748
3
+ size 6329650
eng-eus/opensubtitles.en-eu.en ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16578101d13f1cd929f76c75997a4b11704349a339e4e4760da9dfca8c7e38fd
3
+ size 25526455
eng-eus/opensubtitles.en-eu.eu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a562e3a5a550b5f51a2239b5d524a8a7be179b5415872bed5ff9cebb6e1b1d56
3
+ size 24035089
eng-eus/paco.en-eu.en ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20286c3d9dea2df997b5c003c1e9bcd620ac5f3c578c3a281ee59d5e81eed0dc
3
+ size 11319569
eng-eus/paco.en-eu.eu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10ae59e7f37fb43e6377a6ebebe7e15d3e6adca5519d9a04b8412cf105cbd4e6
3
+ size 11390443
eng-eus/raw/PaCo_EuEn_corpus/README ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PaCo2-Eu-En parallel corpus release v1.
2
+
3
+ author: Elhuyar Foundation
4
+ Contact: Iñaki San Vicente (i.sanvicente@elhuyar.com)
5
+
6
+ Last update: 2016/12/20
7
+
8
+ Change Log:
9
+ - 2016/12/20: License changed to CC-BY-NC-SA
10
+
11
+ ==============================================
12
+
13
+ License
14
+
15
+ ==============================================
16
+
17
+ This resource is released under the Creative Commons Attribution Non-Commercial Share Alike License (CC-BY-NC-SA). The full details of this license can be found at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
18
+
19
+ If you use this corpus please cite the following paper:
20
+
21
+ - I. San Vicente, I. Manterola. 2012. “PaCo2: A Fully Automated tool for gathering Parallel Corpora from the Web”. In Proceedings of the 8th international conference on Language Resources and Evaluation, LREC’12. 23-25 May, Istanbul, Turkey.
22
+
23
+ ==============================================
24
+
25
+ Corpus files
26
+
27
+ ==============================================
28
+
29
+
30
+ The corpus contains two files, English(en) and Basque(eu) parts of the corpus. The corpus has 130,359 segments in total (1.8M tokens in eu, 1.39M tokens in en).
31
+ - PaCo_corpus.en-eu.en
32
+ - PaCo_corpus.en-eu.eu
33
+
34
+
35
+ ==============================================
36
+
37
+ About the aligment of the development corpus:
38
+
39
+ ==============================================
40
+
41
+ The corpus has been gathered from the web and automatically aligned with the PaCo2 tool.
42
+
43
+
eng-eus/raw/paco-en-eu.tgz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60c51e72601dcdb3b09d5b6dba83e05a7a2fc044256f9d47467b59d1e1608ec9
3
+ size 7717216
eng-eus/xlent.en-eu.en ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b70534fc31237de2cefa312fa35b4a6efdf4860a24107de27ba8d73f2c3fdfed
3
+ size 14261688
eng-eus/xlent.en-eu.eu ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:253be2ed2062efb96d600d8d08916746f24c75b9ccb67a6d2f2e967c78800b4a
3
+ size 12935614