https://github.com/andreasgrv/radloader
Code for loading radiology reports from EdIE-R format
https://github.com/andreasgrv/radloader
Last synced: 11 months ago
JSON representation
Code for loading radiology reports from EdIE-R format
- Host: GitHub
- URL: https://github.com/andreasgrv/radloader
- Owner: andreasgrv
- License: gpl-3.0
- Created: 2021-04-01T22:05:12.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T10:03:34.000Z (about 5 years ago)
- Last Synced: 2025-07-13T08:46:22.658Z (11 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Radloader
A package of dataloaders for radiology reports
## Installation instructions
```
# Python3.7+ needed as coding using dataclasses
python3.7 -m venv .env
source .env/bin/activate
# Install dependencies
pip install -r requirements.txt
pip install .
```
## Structure
A DatasetLoader returns a loader object with the following internal structure:
```
loader
└── documents
├── labels
├── relations
└── sentences
├── entities
├── modifiers
├── negation
└── words
```
## Run examples (after install)
### Example of loading the ESS dataset
The script below loads documents in that have been saved in ann.xml files.
See `examples/load_reports.py` for details
```
python examples/load_reports.py --folder /path/to/folder/containing/reports
```