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 sentencesubj_start (int)
: start char of the relation subject mentionsubj_end (int)
: end char of the relation subject mention, exclusivesubj_type (str)
: NER label of the relation subjectobj_start (int)
: start char of the relation object mentionobj_end (int)
: end char of the relation object mention, exclusiveobj_type (str)
: NER label of the relation objectrelation (str)
: the relation label of this instance