Update wmt13 info
Browse files
wmt13.py
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
# limitations under the License.
|
15 |
|
16 |
# Lint as: python3
|
17 |
-
"""
|
18 |
|
19 |
import datasets
|
20 |
|
@@ -23,28 +23,28 @@ from .wmt_utils import Wmt, WmtConfig
|
|
23 |
|
24 |
_URL = "http://www.statmt.org/wmt13/translation-task.html"
|
25 |
_CITATION = """
|
26 |
-
@InProceedings{bojar-EtAl:
|
27 |
-
author = {Bojar, Ond\v{r}ej and
|
28 |
-
title = {Findings of the
|
29 |
-
booktitle = {Proceedings of the
|
30 |
month = {August},
|
31 |
-
year = {
|
32 |
-
address = {
|
33 |
publisher = {Association for Computational Linguistics},
|
34 |
-
pages = {
|
35 |
-
url = {http://www.aclweb.org/anthology/
|
36 |
}
|
37 |
"""
|
38 |
|
39 |
-
_LANGUAGE_PAIRS = [(lang, "en") for lang in ["cs", "de", "fr", "ru"
|
40 |
|
41 |
|
42 |
class Wmt13(Wmt):
|
43 |
-
"""WMT
|
44 |
|
45 |
BUILDER_CONFIGS = [
|
46 |
WmtConfig( # pylint:disable=g-complex-comprehension
|
47 |
-
description="WMT
|
48 |
url=_URL,
|
49 |
citation=_CITATION,
|
50 |
language_pair=(l1, l2),
|
|
|
14 |
# limitations under the License.
|
15 |
|
16 |
# Lint as: python3
|
17 |
+
"""WMT13: Translate dataset."""
|
18 |
|
19 |
import datasets
|
20 |
|
|
|
23 |
|
24 |
_URL = "http://www.statmt.org/wmt13/translation-task.html"
|
25 |
_CITATION = """
|
26 |
+
@InProceedings{bojar-EtAl:2013:WMT,
|
27 |
+
author = {Bojar, Ond\v{r}ej and Buck, Christian and Callison-Burch, Chris and Federmann, Christian and Haddow, Barry and Koehn, Philipp and Monz, Christof and Post, Matt and Soricut, Radu and Specia, Lucia},
|
28 |
+
title = {Findings of the 2013 {Workshop on Statistical Machine Translation}},
|
29 |
+
booktitle = {Proceedings of the Eighth Workshop on Statistical Machine Translation},
|
30 |
month = {August},
|
31 |
+
year = {2013},
|
32 |
+
address = {Sofia, Bulgaria},
|
33 |
publisher = {Association for Computational Linguistics},
|
34 |
+
pages = {1--44},
|
35 |
+
url = {http://www.aclweb.org/anthology/W13-2201}
|
36 |
}
|
37 |
"""
|
38 |
|
39 |
+
_LANGUAGE_PAIRS = [(lang, "en") for lang in ["es", "cs", "de", "fr", "ru"]]
|
40 |
|
41 |
|
42 |
class Wmt13(Wmt):
|
43 |
+
"""WMT 13 translation datasets for all {xx, "en"} language pairs."""
|
44 |
|
45 |
BUILDER_CONFIGS = [
|
46 |
WmtConfig( # pylint:disable=g-complex-comprehension
|
47 |
+
description="WMT 2013 %s-%s translation task dataset." % (l1, l2),
|
48 |
url=_URL,
|
49 |
citation=_CITATION,
|
50 |
language_pair=(l1, l2),
|