fetch_bioc_article
Retrieve PubMed or PMC articles in BioC format with pre-parsed passages and sentences, ready for NLP tasks like named entity recognition and relation extraction.
Instructions
Fetch article in BioC format for text mining.
BioC provides pre-parsed text ideal for NLP tasks:
Passage-level segmentation (title, abstract, sections)
Sentence-level boundaries
Ready for named entity recognition, relation extraction
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmid | No | PubMed ID (for abstract in BioC) | |
| pmcid | No | PMC ID (for full-text in BioC) | |
| format | No | "xml" or "json" | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||