Comment 'del metadata'
Browse files- android-pl.py +1 -1
android-pl.py
CHANGED
@@ -53,6 +53,6 @@ class Android(datasets.GeneratorBasedBuilder):
|
|
53 |
texts = f.readlines()
|
54 |
for i, text in enumerate(texts):
|
55 |
text = json.loads(text)
|
56 |
-
if 'metadata' in text: del text['metadata']
|
57 |
if "title" not in text: text["title"] = ""
|
58 |
yield i, text
|
|
|
53 |
texts = f.readlines()
|
54 |
for i, text in enumerate(texts):
|
55 |
text = json.loads(text)
|
56 |
+
#if 'metadata' in text: del text['metadata']
|
57 |
if "title" not in text: text["title"] = ""
|
58 |
yield i, text
|