Datasets:
Commit
•
57c31cc
1
Parent(s):
7bf0119
Update metadata
Browse files- README.md +50 -22
- europarl_bilingual.py +33 -3
README.md
CHANGED
@@ -3008,19 +3008,22 @@ dataset_info:
|
|
3008 |
- [Contributions](#contributions)
|
3009 |
|
3010 |
## Dataset Description
|
3011 |
-
|
3012 |
-
- **Homepage:**
|
3013 |
- **Repository:** [OPUS Europarl](https://opus.nlpl.eu/Europarl.php)
|
3014 |
-
- **Paper:**
|
3015 |
-
- **
|
3016 |
-
- **
|
|
|
3017 |
|
3018 |
### Dataset Summary
|
3019 |
|
3020 |
-
A parallel corpus extracted from the European Parliament web site by Philipp Koehn (University of Edinburgh).
|
|
|
|
|
3021 |
|
3022 |
To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs.
|
3023 |
-
You can find the valid pairs in Homepage section of Dataset Description: https://opus.nlpl.eu/Europarl
|
3024 |
E.g.
|
3025 |
|
3026 |
`dataset = load_dataset("europarl_bilingual", lang1="fi", lang2="fr")`
|
@@ -3139,25 +3142,50 @@ The data set comes with the same license
|
|
3139 |
as the original sources.
|
3140 |
Please, check the information about the source
|
3141 |
that is given on
|
3142 |
-
|
|
|
|
|
|
|
3143 |
|
3144 |
### Citation Information
|
3145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3146 |
```
|
3147 |
-
@InProceedings{TIEDEMANN12.463,
|
3148 |
-
author = {J�rg Tiedemann},
|
3149 |
-
title = {Parallel Data, Tools and Interfaces in OPUS},
|
3150 |
-
booktitle = {Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC'12)},
|
3151 |
-
year = {2012},
|
3152 |
-
month = {may},
|
3153 |
-
date = {23-25},
|
3154 |
-
address = {Istanbul, Turkey},
|
3155 |
-
editor = {Nicoletta Calzolari (Conference Chair) and Khalid Choukri and Thierry Declerck and Mehmet Ugur Dogan and Bente Maegaard and Joseph Mariani and Jan Odijk and Stelios Piperidis},
|
3156 |
-
publisher = {European Language Resources Association (ELRA)},
|
3157 |
-
isbn = {978-2-9517408-7-7},
|
3158 |
-
language = {english}
|
3159 |
-
}
|
3160 |
-
```
|
3161 |
|
3162 |
### Contributions
|
3163 |
|
|
|
3008 |
- [Contributions](#contributions)
|
3009 |
|
3010 |
## Dataset Description
|
3011 |
+
- **Homepage:** https://opus.nlpl.eu/Europarl/corpus/version/Europarl
|
3012 |
+
- **Homepage:** https://www.statmt.org/europarl/
|
3013 |
- **Repository:** [OPUS Europarl](https://opus.nlpl.eu/Europarl.php)
|
3014 |
+
- **Paper:** https://aclanthology.org/2005.mtsummit-papers.11/
|
3015 |
+
- **Paper:** https://aclanthology.org/L12-1246/
|
3016 |
+
- **Leaderboard:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
3017 |
+
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
3018 |
|
3019 |
### Dataset Summary
|
3020 |
|
3021 |
+
A parallel corpus extracted from the European Parliament web site by Philipp Koehn (University of Edinburgh).
|
3022 |
+
The main intended use is to aid statistical machine translation research.
|
3023 |
+
More information can be found at http://www.statmt.org/europarl/
|
3024 |
|
3025 |
To load a language pair which isn't part of the config, all you need to do is specify the language code as pairs.
|
3026 |
+
You can find the valid pairs in Homepage section of Dataset Description: https://opus.nlpl.eu/Europarl/corpus/version/Europarl
|
3027 |
E.g.
|
3028 |
|
3029 |
`dataset = load_dataset("europarl_bilingual", lang1="fi", lang2="fr")`
|
|
|
3142 |
as the original sources.
|
3143 |
Please, check the information about the source
|
3144 |
that is given on
|
3145 |
+
https://opus.nlpl.eu/Europarl/corpus/version/Europarl
|
3146 |
+
|
3147 |
+
The terms of use of the original source dataset are:
|
3148 |
+
> We are not aware of any copyright restrictions of the material. If you use this data in your research, please contact phi@jhu.edu.
|
3149 |
|
3150 |
### Citation Information
|
3151 |
|
3152 |
+
Please cite the paper, if you use this corpus in your work:
|
3153 |
+
```
|
3154 |
+
@inproceedings{koehn-2005-europarl,
|
3155 |
+
title = "{E}uroparl: A Parallel Corpus for Statistical Machine Translation",
|
3156 |
+
author = "Koehn, Philipp",
|
3157 |
+
booktitle = "Proceedings of Machine Translation Summit X: Papers",
|
3158 |
+
month = sep # " 13-15",
|
3159 |
+
year = "2005",
|
3160 |
+
address = "Phuket, Thailand",
|
3161 |
+
url = "https://aclanthology.org/2005.mtsummit-papers.11",
|
3162 |
+
pages = "79--86",
|
3163 |
+
}
|
3164 |
+
```
|
3165 |
+
|
3166 |
+
Please cite the following article if you use any part of the corpus in your own work:
|
3167 |
+
```
|
3168 |
+
@inproceedings{tiedemann-2012-parallel,
|
3169 |
+
title = "Parallel Data, Tools and Interfaces in {OPUS}",
|
3170 |
+
author = {Tiedemann, J{\"o}rg},
|
3171 |
+
editor = "Calzolari, Nicoletta and
|
3172 |
+
Choukri, Khalid and
|
3173 |
+
Declerck, Thierry and
|
3174 |
+
Do{\u{g}}an, Mehmet U{\u{g}}ur and
|
3175 |
+
Maegaard, Bente and
|
3176 |
+
Mariani, Joseph and
|
3177 |
+
Moreno, Asuncion and
|
3178 |
+
Odijk, Jan and
|
3179 |
+
Piperidis, Stelios",
|
3180 |
+
booktitle = "Proceedings of the Eighth International Conference on Language Resources and Evaluation ({LREC}'12)",
|
3181 |
+
month = may,
|
3182 |
+
year = "2012",
|
3183 |
+
address = "Istanbul, Turkey",
|
3184 |
+
publisher = "European Language Resources Association (ELRA)",
|
3185 |
+
url = "http://www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper.pdf",
|
3186 |
+
pages = "2214--2218",
|
3187 |
+
}
|
3188 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3189 |
|
3190 |
### Contributions
|
3191 |
|
europarl_bilingual.py
CHANGED
@@ -21,7 +21,37 @@ import datasets
|
|
21 |
|
22 |
|
23 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
24 |
-
_CITATION = "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
# You can copy an official description
|
27 |
_DESCRIPTION = """\
|
@@ -29,7 +59,7 @@ A parallel corpus extracted from the European Parliament web site by Philipp Koe
|
|
29 |
"""
|
30 |
|
31 |
# Add a link to an official homepage for the dataset here
|
32 |
-
_HOMEPAGE = "https://opus.nlpl.eu/Europarl
|
33 |
|
34 |
# Add the licence for the dataset here if you can find it
|
35 |
_LICENSE = """\
|
@@ -37,7 +67,7 @@ The data set comes with the same license
|
|
37 |
as the original sources.
|
38 |
Please, check the information about the source
|
39 |
that is given on
|
40 |
-
|
41 |
"""
|
42 |
|
43 |
# The HuggingFace dataset library don't host the datasets but only point to the original files
|
|
|
21 |
|
22 |
|
23 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
24 |
+
_CITATION = """\
|
25 |
+
@inproceedings{koehn-2005-europarl,
|
26 |
+
title = "{E}uroparl: A Parallel Corpus for Statistical Machine Translation",
|
27 |
+
author = "Koehn, Philipp",
|
28 |
+
booktitle = "Proceedings of Machine Translation Summit X: Papers",
|
29 |
+
month = sep # " 13-15",
|
30 |
+
year = "2005",
|
31 |
+
address = "Phuket, Thailand",
|
32 |
+
url = "https://aclanthology.org/2005.mtsummit-papers.11",
|
33 |
+
pages = "79--86",
|
34 |
+
}
|
35 |
+
@inproceedings{tiedemann-2012-parallel,
|
36 |
+
title = "Parallel Data, Tools and Interfaces in {OPUS}",
|
37 |
+
author = {Tiedemann, J{\"o}rg},
|
38 |
+
editor = "Calzolari, Nicoletta and
|
39 |
+
Choukri, Khalid and
|
40 |
+
Declerck, Thierry and
|
41 |
+
Do{\u{g}}an, Mehmet U{\u{g}}ur and
|
42 |
+
Maegaard, Bente and
|
43 |
+
Mariani, Joseph and
|
44 |
+
Moreno, Asuncion and
|
45 |
+
Odijk, Jan and
|
46 |
+
Piperidis, Stelios",
|
47 |
+
booktitle = "Proceedings of the Eighth International Conference on Language Resources and Evaluation ({LREC}'12)",
|
48 |
+
month = may,
|
49 |
+
year = "2012",
|
50 |
+
address = "Istanbul, Turkey",
|
51 |
+
publisher = "European Language Resources Association (ELRA)",
|
52 |
+
url = "http://www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper.pdf",
|
53 |
+
pages = "2214--2218",
|
54 |
+
}"""
|
55 |
|
56 |
# You can copy an official description
|
57 |
_DESCRIPTION = """\
|
|
|
59 |
"""
|
60 |
|
61 |
# Add a link to an official homepage for the dataset here
|
62 |
+
_HOMEPAGE = "https://opus.nlpl.eu/Europarl/corpus/version/Europarl"
|
63 |
|
64 |
# Add the licence for the dataset here if you can find it
|
65 |
_LICENSE = """\
|
|
|
67 |
as the original sources.
|
68 |
Please, check the information about the source
|
69 |
that is given on
|
70 |
+
https://opus.nlpl.eu/Europarl/corpus/version/Europarl
|
71 |
"""
|
72 |
|
73 |
# The HuggingFace dataset library don't host the datasets but only point to the original files
|