Datasets:
Update URL
Browse files- EMEA-V3.py +7 -0
EMEA-V3.py
CHANGED
@@ -89,6 +89,13 @@ class EMEA_V3(datasets.GeneratorBasedBuilder):
|
|
89 |
# Get langue pair
|
90 |
src, target = str(row['lang']).split("-")
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
yield key_, {
|
93 |
"translation": {
|
94 |
src: str(row['source_text']).strip(),
|
|
|
89 |
# Get langue pair
|
90 |
src, target = str(row['lang']).split("-")
|
91 |
|
92 |
+
print("*"*50)
|
93 |
+
print("src : ", src)
|
94 |
+
print("target : ", target)
|
95 |
+
print("str(row['source_text']).strip() : ", str(row['source_text']).strip())
|
96 |
+
print("str(row['target_text']).strip() : ", str(row['target_text']).strip())
|
97 |
+
print("*"*50 + "\n\n")
|
98 |
+
|
99 |
yield key_, {
|
100 |
"translation": {
|
101 |
src: str(row['source_text']).strip(),
|