# PMC-Inline Dataset

- [PMC-Inline Dataset](#pmc-inline-dataset)
  - [Daraset Structure](#dataset-structure)
  - [Sample](#sample)

This is the text parts and the figure parts can be dowloaded from https://pan.baidu.com/s/1Src_rhXsaOFp8zJ_3zMFsQ?pwd=p3ne.

## Dataset Structure

**PMC-Inline** (PMC papers with inline figures).

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.

Based on the inline figure ref, we link back 11M images into the paper contexts.

Each paper is organized as a PMCxxxxxxx.json. ```xxxxxxx``` refers to the paper unique PMCid

- 
## Sample

A json in dataset is organized as bellow,
| info    | {"article-type": "research-article", "pmid": "17925856", "pmc": "PMC1999654", "publisher-id": "07-PONE-RA-01026R1", "doi": "10.1371/journal.pone.0001008"} |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| text    | \nPredicting Spatial Patterns of Plant Recruitment Using Animal-Displacement Kernels\nFor plants ...                                                       |
| img_ref | [{"id": "pone-0001008-g001", "start": 9177, "end": 9185}, {"id": "pone-0001008-g001", "start": 10715, "end": 10723}, ...]                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

Explanation to each key

- info: some info. about the paper, like paper type, pmid, pmc id and so on.
- text: a string whihc is the paper content.
- 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.

You can get the image form our PMC figure parts, and fig is named unified as ```PMCxxxxxxx_figid.jpg``` like ```PMC1999654_pone-0001008-g001.jpg```

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.
task_categories:text-generation license:apache-2.0 biology region:us
{"license": "apache-2.0", "task_categories": ["text-generation"], "tags": ["biology"]}
TAGS
#task_categories-text-generation #license-apache-2.0 #biology #region-us 

PMC-Inline Dataset
==================


* PMC-Inline Dataset
	+ Daraset Structure
	+ Sample


This is the text parts and the figure parts can be dowloaded from URL


Dataset Structure
-----------------


PMC-Inline (PMC papers with inline figures).


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.


Based on the inline figure ref, we link back 11M images into the paper contexts.


Each paper is organized as a URL. refers to the paper unique PMCid


* 


Sample
------


A json in dataset is organized as bellow,



Explanation to each key


* info: some info. about the paper, like paper type, pmid, pmc id and so on.
* text: a string whihc is the paper content.
* 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.


You can get the image form our PMC figure parts, and fig is named unified as like


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.



TAGS
#task_categories-text-generation #license-apache-2.0 #biology #region-us 

passage: TAGS
#task_categories-text-generation #license-apache-2.0 #biology #region-us 
