Datasets:
annotations_creators:
- machine-generated
- expert-generated
language_creators:
- found
language:
- sv
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
size_categories:
- 100K<n<1M
source_datasets:
- original
task_categories:
- token-classification
task_ids:
- named-entity-recognition
pretty_name: SwedMedNER
language_bcp47:
- sv-SE
dataset_info:
- config_name: '1177'
features:
- name: sid
dtype: string
- name: sentence
dtype: string
- name: entities
sequence:
- name: start
dtype: int32
- name: end
dtype: int32
- name: text
dtype: string
- name: type
dtype:
class_label:
names:
'0': Disorder and Finding
'1': Pharmaceutical Drug
'2': Body Structure
splits:
- name: train
num_bytes: 158979
num_examples: 927
download_size: 77472
dataset_size: 158979
- config_name: lt
features:
- name: sid
dtype: string
- name: sentence
dtype: string
- name: entities
sequence:
- name: start
dtype: int32
- name: end
dtype: int32
- name: text
dtype: string
- name: type
dtype:
class_label:
names:
'0': Disorder and Finding
'1': Pharmaceutical Drug
'2': Body Structure
splits:
- name: train
num_bytes: 97953187
num_examples: 745753
download_size: 52246351
dataset_size: 97953187
- config_name: wiki
features:
- name: sid
dtype: string
- name: sentence
dtype: string
- name: entities
sequence:
- name: start
dtype: int32
- name: end
dtype: int32
- name: text
dtype: string
- name: type
dtype:
class_label:
names:
'0': Disorder and Finding
'1': Pharmaceutical Drug
'2': Body Structure
splits:
- name: train
num_bytes: 7044574
num_examples: 48720
download_size: 2571416
dataset_size: 7044574
configs:
- config_name: '1177'
data_files:
- split: train
path: 1177/train-*
- config_name: lt
data_files:
- split: train
path: lt/train-*
- config_name: wiki
data_files:
- split: train
path: wiki/train-*
Dataset Card for swedish_medical_ner
Table of Contents
- Dataset Description
- Dataset Structure
- Dataset Creation
- Considerations for Using the Data
- Additional Information
Dataset Description
- Repository: https://github.com/olofmogren/biomedical-ner-data-swedish
- Paper: Named Entity Recognition in Swedish Health Records with Character-Based Deep Bidirectional LSTMs
- Point of Contact: Olof Mogren
Dataset Summary
SwedMedNER is Named Entity Recognition dataset on medical text in Swedish. It consists three subsets which are in turn derived from three different sources respectively: the Swedish Wikipedia (a.k.a. wiki), Läkartidningen (a.k.a. lt), and 1177 Vårdguiden (a.k.a. 1177). While the Swedish Wikipedia and Läkartidningen subsets in total contains over 790000 sequences with 60 characters each, the 1177 Vårdguiden subset is manually annotated and contains 927 sentences, 2740 annotations, out of which 1574 are disorder and findings, 546 are pharmaceutical drug, and 620 are body structure.
Texts from both Swedish Wikipedia and Läkartidningen were automatically annotated using a list of medical seed terms. Sentences from 1177 Vårdguiden were manuually annotated.
Supported Tasks and Leaderboards
Medical NER.
Languages
Swedish (SV).
Dataset Structure
Data Instances
Annotated example sentences are shown below:
( Förstoppning ) är ett vanligt problem hos äldre.
[ Cox-hämmare ] finns även som gel och sprej.
[ Medicinen ] kan också göra att man blöder lättare eftersom den påverkar { blodets } förmåga att levra sig.
Tags are as follows:
- Prenthesis, (): Disorder and Finding
- Brackets, []: Pharmaceutical Drug
- Curly brackets, {}: Body Structure
Data example:
In: data = load_dataset('./datasets/swedish_medical_ner', "wiki")
In: data['train']:
Out:
Dataset({
features: ['sid', 'sentence', 'entities'],
num_rows: 48720
})
In: data['train'][0]['sentence']
Out: '{kropp} beskrivs i till exempel människokroppen, anatomi och f'
In: data['train'][0]['entities']
Out: {'start': [0], 'end': [7], 'text': ['kropp'], 'type': [2]}
Data Fields
sentence
entities
start
: the start indexend
: the end indextext
: the text of the entitytype
: entity type: Disorder and Finding (0), Pharmaceutical Drug (1) or Body Structure (2)
Data Splits
In the original paper, its authors used the text from Läkartidningen for model training, Swedish Wikipedia for validation, and 1177.se for the final model evaluation.
Dataset Creation
Curation Rationale
Source Data
- Swedish Wikipedia;
- Läkartidningen - contains articles from the Swedish journal for medical professionals;
- 1177.se - a web site provided by the Swedish public health care authorities, containing information, counselling, and other health-care services.
Initial Data Collection and Normalization
[More Information Needed]
Who are the source language producers?
[More Information Needed]
Annotations
Annotation process
- A list of seed terms was extracted using SweMeSH and SNOMED CT;
- The following predefined categories was used for the extraction: disorder & finding (sjukdom & symtom), pharmaceutical drug (läkemedel) and body structure (kroppsdel)
- For Swedish Wikipedia, an initial list of medical domain articles were selected manually. These source articles as well as their linked articles were downloaded and automatically annotated by finding the aforementioned seed terms with a context window of 60 characters;
- Articles from the Läkartidningen corpus were downloaded and automatically annotated by finding the aforementioned seed terms with a context window of 60 characters;
- 15 documents from 1177.se were downloaded in May 2016 and then manually annotated with the seed terms as support, resulting 2740 annotations.
Who are the annotators?
[More Information Needed]
Personal and Sensitive Information
[More Information Needed]
Considerations for Using the Data
Social Impact of Dataset
[More Information Needed]
Discussion of Biases
[More Information Needed]
Other Known Limitations
[More Information Needed]
Additional Information
Dataset Curators
- Simon Almgren, [email protected]
- Sean Pavlov, [email protected]
- Olof Mogren, [email protected] Chalmers University of Technology
Licensing Information
This dataset is released under the Creative Commons Attribution-ShareAlike 4.0 International Public License (CC BY-SA 4.0).
Citation Information
@inproceedings{almgrenpavlovmogren2016bioner,
title={Named Entity Recognition in Swedish Medical Journals with Deep Bidirectional Character-Based LSTMs},
author={Simon Almgren, Sean Pavlov, Olof Mogren},
booktitle={Proceedings of the Fifth Workshop on Building and Evaluating Resources for Biomedical Text Mining (BioTxtM 2016)},
pages={1},
year={2016}
}
Contributions
Thanks to @bwang482 for adding this dataset.