Datasets:
Update ViHOS.py
Browse files
ViHOS.py
CHANGED
@@ -57,6 +57,8 @@ class ViHOS(datasets.GeneratorBasedBuilder):
|
|
57 |
id_ = data.loc[i, 'id']
|
58 |
content = data.loc[i, 'Content']
|
59 |
span_ids = data.loc[i, 'Span ids']
|
|
|
|
|
60 |
|
61 |
yield id_, {
|
62 |
"content": content,
|
|
|
57 |
id_ = data.loc[i, 'id']
|
58 |
content = data.loc[i, 'Content']
|
59 |
span_ids = data.loc[i, 'Span ids']
|
60 |
+
if span_ids is None:
|
61 |
+
span_ids = ''
|
62 |
|
63 |
yield id_, {
|
64 |
"content": content,
|