Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PMC-Inline Dataset
|
| 2 |
+
|
| 3 |
+
- [PMC-Inline Dataset](#pmc-inline-dataset)
|
| 4 |
+
- [Daraset Structure](#dataset-structure)
|
| 5 |
+
- [Sample](#sample)
|
| 6 |
+
|
| 7 |
+
## Dataset Structure
|
| 8 |
+
|
| 9 |
+
**PMC-Inline** (PMC papers with inline figures).
|
| 10 |
+
|
| 11 |
+
We collect the cc lincense papers from pubmed central and remoce the bib, author info, table and iamge captions in the original paper xml files.
|
| 12 |
+
|
| 13 |
+
Based on the inline figure ref, we link back 11M images into the paper contexts.
|
| 14 |
+
|
| 15 |
+
Each paper is organized as a PMCxxxxxxx.json. ```xxxxxxx``` refers to the paper unique PMCid
|
| 16 |
+
|
| 17 |
+
-
|
| 18 |
+
## Sample
|
| 19 |
+
|
| 20 |
+
A json in dataset is organized as bellow,
|
| 21 |
+
| info | {"article-type": "research-article", "pmid": "17925856", "pmc": "PMC1999654", "publisher-id": "07-PONE-RA-01026R1", "doi": "10.1371/journal.pone.0001008"} |
|
| 22 |
+
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 23 |
+
| text | \nPredicting Spatial Patterns of Plant Recruitment Using Animal-Displacement Kernels\nFor plants ... |
|
| 24 |
+
| img_ref | [{"id": "pone-0001008-g001", "start": 9177, "end": 9185}, {"id": "pone-0001008-g001", "start": 10715, "end": 10723}, ...] | | | | |
|
| 25 |
+
|
| 26 |
+
Explanation to each key
|
| 27 |
+
|
| 28 |
+
- info: some info. about the paper, like paper type, pmid, pmc id and so on.
|
| 29 |
+
- text: a string whihc is the paper content.
|
| 30 |
+
- img_ref: a list which contains which image and where it is referred in the original paper. For example {"id": "pone-0001008-g001", "start": 9177, "end": 9185} denotes the fig pone-0001008-g001 have been metioned in the text string at index 9177-9185.
|
| 31 |
+
|
| 32 |
+
You can get the image form our PMC figure repo, and fig is named unified as ```PMCxxxxxxx_figid.jpg``` like ```PMC1999654_pone-0001008-g001.jpg```
|
| 33 |
+
|
| 34 |
+
Note that, our PMC figures are collected before PMC-Inline, and during the time window, some papers have been updated. Thus some figures may be missed in our figure base.
|