Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Languages:
Dutch
Size:
10K - 100K
License:
File size: 6,357 Bytes
a164599 cb4c909 a164599 |
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
---
license: cc-by-4.0
task_categories:
- token-classification
language:
- nl
tags:
- ner
- named-entity-extraction
- dutch
- historical-documents
- archival-texts
- relabeling
- datasets
- 17th-century
- 18th-century
- 19th-century
pretty_name: Dutch Historical Notarial NER Dataset (Tag de Tekst)
dataset_info:
features:
- name: tokenized_text
sequence: string
- name: ner
list:
- name: end
dtype: int64
- name: label
dtype: string
- name: start
dtype: int64
- name: text
dtype: string
splits:
- name: train
num_bytes: 32850137
num_examples: 8885
- name: val
num_bytes: 8141505
num_examples: 2232
- name: test_rhc
num_bytes: 8944
num_examples: 6
- name: test_nha
num_bytes: 178200
num_examples: 38
- name: test_voc
num_bytes: 322644
num_examples: 95
- name: test_sa
num_bytes: 327305
num_examples: 96
download_size: 15870302
dataset_size: 41828735
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: val
path: data/val-*
- split: test_rhc
path: data/test_rhc-*
- split: test_nha
path: data/test_nha-*
- split: test_voc
path: data/test_voc-*
- split: test_sa
path: data/test_sa-*
---
# Dutch Historical Notarial NER Dataset
This dataset is a relabeled version of the "AI-trainingset voor Named Entity Recognition (NER)" created during the crowdsourcing project [**"Tag de Tekst"** on VeleHanden.nl](https://taalmaterialen.ivdnt.org/download/aitrainingset1-0/) in 2020. It has been adapted for use in Named Entity Recognition (NER) tasks, with relabeling conducted using **[Google Deepmind's Gemini 2.0 Flash](https://ai.google.dev/gemini-api/docs/models/gemini-v2)** model.
## Dataset Overview
- **Original Source**: Transcriptions of Dutch notarial texts from the 17th to 19th centuries.
- **Annotations**: Annotated by ~150 volunteers and reviewed by super users.
- **Relabeling**: Automatic relabeling into 4 entity classes:
- `persoon` (person names)
- `locatie` (locations)
- `datum` (dates)
- `organisatie` (organizations)
- **Sources**: Includes material from:
- Stadsarchief Amsterdam
- Nationaal Archief
- Noord-Hollands Archief
- Other regional historical centers
- **Total Scans**: 10,567
- **Language**: Dutch
## Format
This dataset is formatted for use with [GLiNER](https://github.com/urchade/GLiNER). Each sample includes:
- `text`: The full text.
- `tokenized_text`: The text split into full-word tokens.
- `ner`: A list of annotated entities with start and end token indices and entity types.
Example:
```json
{
"text": "Henrick Cardamon Op huijden ...",
"tokenized_text": ["Henrick", "Cardamon", "Op", "huijden", ...],
"ner": [
{
"start": 0,
"end": 1,
"label": "persoon"
},
...
]
}
```
## Usage
To load this dataset with the [Hugging Face Datasets](https://huggingface.co/docs/datasets/index) library, run:
```py
from datasets import load_dataset
dataset = load_dataset("TimKoornstra/dutch-notarial-ner")
```
## Data Preprocessing and Relabeling
The original dataset, created during the **"Tag de Tekst"** project, was annotated by a large group of volunteers. While this collaborative effort provided a valuable starting point, the annotations were often inconsistent and contained inaccuracies. Common issues included:
- Mislabeling of entities (e.g., locations marked as persons).
- Overlapping or incomplete entity spans.
- Inconsistent application of annotation guidelines.
To address these challenges, the dataset was automatically relabeled using **[Google Deepmind's Gemini 2.0 Flash](https://ai.google.dev/gemini-api/docs/models/gemini-v2)** model. This process mapped all annotations into a simplified schema with four entity types:
- `persoon` (person names),
- `locatie` (locations),
- `datum` (dates),
- `organisatie` (organizations).
Additionally:
- **Inconsistent spans** were corrected to ensure uniformity.
- The data was reformatted for compatibility with modern tools like [GLiNER](https://github.com/urchade/GLiNER) and the Hugging Face `datasets` library.
These preprocessing steps ensure that the dataset is more accurate and consistent for training and evaluating Named Entity Recognition (NER) models.
## Limitations
Despite preprocessing and relabeling, the dataset has some limitations:
- **Incomplete Entity Coverage**: While many errors were corrected, there may still be missed entities or incorrect spans, especially in complex cases.
- **Model-Induced Bias**: The relabeling process relied on **[Google Deepmind's Gemini 2.0 Flash](https://ai.google.dev/gemini-api/docs/models/gemini-v2)** model, which may introduce biases inherent to the model's training data.
- **Historical Context Challenges**: The dataset consists of historical Dutch texts (17th–19th century) with archaic language and formatting, which may pose additional challenges for modern models.
- **Potential Noise**: Due to the automatic relabeling process, there may still be minor inconsistencies or errors in the annotations.
- **HTR Artifacts**: The dataset is based on handwritten text recognition (HTR) outputs, so any transcription errors from the HTR process remain in the data. This limitation is consistent with the original dataset.
Users of this dataset should carefully evaluate its performance on their specific use case and consider further fine-tuning or validation if needed.
## License
This dataset respects the original license: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
## Citation
If you use this dataset in your research, please cite the original dataset and this repository:
```bibtex
@misc{dutch_notarial_ner,
author = {Tim Koornstra},
title = {Dutch Historical Notarial NER Dataset},
year = {2025},
howpublished = {\url{https://huggingface.co/TimKoornstra/dutch-notarial-ner}},
note = {Relabeled with Gemini 2.0 Flash model}
}
```
## Acknowledgements
This dataset was originally developed as part of the projects:
- "De IJsberg zichtbaar maken" ([zoekintranscripties.nl](https://www.zoekintranscripties.nl/))
- "Slimmer zoeken in archieven" ([archieveninbeeld.nl](https://archieveninbeeld.nl/))
Special thanks to the volunteers of the "Tag de Tekst" project and the organizations contributing archival material. |