Commit
·
71d1212
1
Parent(s):
b093fd4
Add citation information (#15)
Browse files- Add citation information (009fc64090ef773e9c65aca7b0fb9bdf33f14eca)
- README.md +3 -1
- open_access.py +7 -10
README.md
CHANGED
|
@@ -176,7 +176,9 @@ Within the PMC Open Access Subset, there are three groupings based on available
|
|
| 176 |
|
| 177 |
### Citation Information
|
| 178 |
|
| 179 |
-
|
|
|
|
|
|
|
| 180 |
|
| 181 |
### Contributions
|
| 182 |
|
|
|
|
| 176 |
|
| 177 |
### Citation Information
|
| 178 |
|
| 179 |
+
```
|
| 180 |
+
PMC Open Access Subset [Internet]. Bethesda (MD): National Library of Medicine. 2003 - [cited YEAR MONTH DAY]. Available from https://www.ncbi.nlm.nih.gov/pmc/tools/openftlist/
|
| 181 |
+
```
|
| 182 |
|
| 183 |
### Contributions
|
| 184 |
|
open_access.py
CHANGED
|
@@ -22,15 +22,8 @@ import datasets
|
|
| 22 |
from datasets.tasks import LanguageModeling
|
| 23 |
|
| 24 |
|
| 25 |
-
# TODO: Add BibTeX citation
|
| 26 |
-
# Find for instance the citation on arxiv or on the dataset repo/website
|
| 27 |
_CITATION = """\
|
| 28 |
-
|
| 29 |
-
title = {A great new dataset},
|
| 30 |
-
author={huggingface, Inc.
|
| 31 |
-
},
|
| 32 |
-
year={2020}
|
| 33 |
-
}
|
| 34 |
"""
|
| 35 |
|
| 36 |
_DESCRIPTION = """\
|
|
@@ -46,8 +39,12 @@ The PMC Open Access Subset is one part of the PMC Article Datasets
|
|
| 46 |
|
| 47 |
_HOMEPAGE = "https://www.ncbi.nlm.nih.gov/pmc/tools/openftlist/"
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
_URL = "https://ftp.ncbi.nlm.nih.gov/pub/pmc/oa_bulk/{subset}/txt/"
|
| 53 |
_SUBSETS = {
|
|
|
|
| 22 |
from datasets.tasks import LanguageModeling
|
| 23 |
|
| 24 |
|
|
|
|
|
|
|
| 25 |
_CITATION = """\
|
| 26 |
+
PMC Open Access Subset [Internet]. Bethesda (MD): National Library of Medicine. 2003 - [cited YEAR MONTH DAY]. Available from https://www.ncbi.nlm.nih.gov/pmc/tools/openftlist/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"""
|
| 28 |
|
| 29 |
_DESCRIPTION = """\
|
|
|
|
| 39 |
|
| 40 |
_HOMEPAGE = "https://www.ncbi.nlm.nih.gov/pmc/tools/openftlist/"
|
| 41 |
|
| 42 |
+
_LICENSE = """\
|
| 43 |
+
Within the PMC Open Access Subset, there are three groupings based on available license terms:
|
| 44 |
+
- Commercial Use Allowed - CC0, CC BY, CC BY-SA, CC BY-ND licenses;
|
| 45 |
+
- Non-Commercial Use Only - CC BY-NC, CC BY-NC-SA, CC BY-NC-ND licenses; and
|
| 46 |
+
- Other - no machine-readable Creative Commons license, no license, or a custom license.
|
| 47 |
+
"""
|
| 48 |
|
| 49 |
_URL = "https://ftp.ncbi.nlm.nih.gov/pub/pmc/oa_bulk/{subset}/txt/"
|
| 50 |
_SUBSETS = {
|