File size: 1,057 Bytes
b993a52 9d86e49 b993a52 9d86e49 b993a52 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | # Dataset Card for re-medical-annotations
## Dataset Description
### Dataset Summary
HuggingFace Dataset from the Inception Medical Annotations project.
This dataset can be used locally with any archive downloaded from Inception that contains relation annotations.
Loading this dataset requires `dkpro-cassis>=0.7.2`.
**Example**: load the dataset from the "RE Temporality POC"
```
import datasets
ds = datasets.load_dataset(
"bio-datasets/re-medical-annotations",
data_dir=<Inception Archive path>,
labels = ["bound"],
)
```
## Dataset Structure
### Data Fields
- `text (str)`: text of the sentence
- `subj_start (int)`: start char of the relation subject mention
- `subj_end (int)`: end char of the relation subject mention, exclusive
- `subj_type (str)`: NER label of the relation subject
- `obj_start (int)`: start char of the relation object mention
- `obj_end (int)`: end char of the relation object mention, exclusive
- `obj_type (str)`: NER label of the relation object
- `relation (str)`: the relation label of this instance
|