Datasets:
License:
Matīss
commited on
Commit
•
8fc1dc9
1
Parent(s):
a3a1105
Upload liv4ever.py
Browse files- liv4ever.py +4 -1
liv4ever.py
CHANGED
@@ -181,6 +181,9 @@ class liv4ever(datasets.GeneratorBasedBuilder):
|
|
181 |
n=n+1
|
182 |
yield n, {
|
183 |
"source": source["source"],
|
184 |
-
"en": sentence["en"],
|
185 |
"liv": sentence["liv"],
|
|
|
|
|
|
|
|
|
186 |
}
|
|
|
181 |
n=n+1
|
182 |
yield n, {
|
183 |
"source": source["source"],
|
|
|
184 |
"liv": sentence["liv"],
|
185 |
+
"en": "en" in sentence and sentence["en"] or "",
|
186 |
+
"et": "et" in sentence and sentence["et"] or "",
|
187 |
+
"lv": "lv" in sentence and sentence["lv"] or "",
|
188 |
+
"fr": "fr" in sentence and sentence["fr"] or "",
|
189 |
}
|