Datasets:
Update
Browse files
ECDC.py
CHANGED
@@ -93,6 +93,13 @@ class ECDC(datasets.GeneratorBasedBuilder):
|
|
93 |
# Get langue pair
|
94 |
src, target = str(row['lang']).split("-")
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
yield key_, {
|
97 |
"translation": {
|
98 |
src: str(row['source_text']).strip(),
|
|
|
93 |
# Get langue pair
|
94 |
src, target = str(row['lang']).split("-")
|
95 |
|
96 |
+
print(src)
|
97 |
+
print(target)
|
98 |
+
print(row['lang'])
|
99 |
+
print(row['source_text'])
|
100 |
+
print(row['target_text'])
|
101 |
+
print()
|
102 |
+
|
103 |
yield key_, {
|
104 |
"translation": {
|
105 |
src: str(row['source_text']).strip(),
|