Update pubmed25_debug.py
Browse files- pubmed25_debug.py +1 -1
pubmed25_debug.py
CHANGED
|
@@ -445,7 +445,7 @@ class Pubmed(datasets.GeneratorBasedBuilder):
|
|
| 445 |
"ArticleTitle": datasets.Value("string"), # Allows HTML tags based on parser
|
| 446 |
# 'Pagination': {'MedlinePgn': datasets.Value('string')}, # Kept commented out
|
| 447 |
"AuthorList": {"Author": datasets.Sequence(Author)}, # Sequence of Author dicts
|
| 448 |
-
"Language": datasets.Value("
|
| 449 |
"GrantList": {
|
| 450 |
# GrantList might be optional, Grant inside might be optional/list
|
| 451 |
"Grant": datasets.Sequence(Grant), # Sequence of Grant dicts
|
|
|
|
| 445 |
"ArticleTitle": datasets.Value("string"), # Allows HTML tags based on parser
|
| 446 |
# 'Pagination': {'MedlinePgn': datasets.Value('string')}, # Kept commented out
|
| 447 |
"AuthorList": {"Author": datasets.Sequence(Author)}, # Sequence of Author dicts
|
| 448 |
+
"Language": datasets.Value("string"), # Usually single, but XML allows multiple, use Sequence? Check data. Assuming single for now.
|
| 449 |
"GrantList": {
|
| 450 |
# GrantList might be optional, Grant inside might be optional/list
|
| 451 |
"Grant": datasets.Sequence(Grant), # Sequence of Grant dicts
|