crystina-z
commited on
Commit
·
ee09f88
1
Parent(s):
7d8eae6
Update hc4-corpus.py
Browse files- hc4-corpus.py +1 -1
hc4-corpus.py
CHANGED
@@ -95,4 +95,4 @@ class HC4Corpus(datasets.GeneratorBasedBuilder):
|
|
95 |
|
96 |
dataset = ir_datasets.load(f'hc4/{lang}')
|
97 |
for doc in dataset.docs_iter():
|
98 |
-
yield doc.doc_id, {'docid': doc.doc_id, 'title': doc.title, '
|
|
|
95 |
|
96 |
dataset = ir_datasets.load(f'hc4/{lang}')
|
97 |
for doc in dataset.docs_iter():
|
98 |
+
yield doc.doc_id, {'docid': doc.doc_id, 'title': doc.title, 'text': doc.text}
|