Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,46 +1,108 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
dtype: string
|
| 10 |
-
- name: stanza_tokens
|
| 11 |
-
dtype: int64
|
| 12 |
-
- name: mentions
|
| 13 |
-
list:
|
| 14 |
-
- name: COREF
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: onset
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: offset
|
| 19 |
-
dtype: int64
|
| 20 |
-
- name: type
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: sentence_spans
|
| 23 |
-
sequence:
|
| 24 |
-
sequence: int64
|
| 25 |
-
splits:
|
| 26 |
-
- name: train
|
| 27 |
-
num_bytes: 93140145
|
| 28 |
-
num_examples: 45
|
| 29 |
-
- name: validation
|
| 30 |
-
num_bytes: 4638267
|
| 31 |
-
num_examples: 5
|
| 32 |
-
- name: test
|
| 33 |
-
num_bytes: 2150714
|
| 34 |
-
num_examples: 3
|
| 35 |
-
download_size: 42645667
|
| 36 |
-
dataset_size: 99929126
|
| 37 |
-
configs:
|
| 38 |
-
- config_name: default
|
| 39 |
-
data_files:
|
| 40 |
-
- split: train
|
| 41 |
-
path: data/train-*
|
| 42 |
-
- split: validation
|
| 43 |
-
path: data/validation-*
|
| 44 |
-
- split: test
|
| 45 |
-
path: data/test-*
|
| 46 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- Coreference Resolution
|
| 7 |
+
- NER
|
| 8 |
+
pretty_name: bookcoref
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
+
|
| 11 |
+
# bookcoref
|
| 12 |
+
|
| 13 |
+
## Dataset Summary
|
| 14 |
+
|
| 15 |
+
This repository provides a standardized and reformatted version of the
|
| 16 |
+
original **bookcoref** coreference resolution dataset.
|
| 17 |
+
|
| 18 |
+
The purpose of this formatting is to provide a unified document structure
|
| 19 |
+
across multiple coreference datasets in order to simplify:
|
| 20 |
+
|
| 21 |
+
- cross-dataset comparison,
|
| 22 |
+
- multilingual experimentation,
|
| 23 |
+
- benchmarking of coreference resolution systems,
|
| 24 |
+
- interoperability between NLP pipelines,
|
| 25 |
+
- and reproducible evaluation settings.
|
| 26 |
+
|
| 27 |
+
This repository does **not** introduce new annotations or modify the original
|
| 28 |
+
coreference annotations. It only restructures the original dataset into a
|
| 29 |
+
shared schema used across our benchmarking framework.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
## Original Dataset
|
| 34 |
+
|
| 35 |
+
This formatted version is derived from the dataset introduced in:
|
| 36 |
+
|
| 37 |
+
[Giuliano Martinelli, Tommaso Bonomo, Pere-Lluís Huguet Cabot, and Roberto Navigli. 2025. *BOOKCOREF: Coreference Resolution at Book Scale.*](https://aclanthology.org/2025.acl-long.1197/)
|
| 38 |
+
|
| 39 |
+
### Original Repository
|
| 40 |
+
|
| 41 |
+
https://github.com/sapienzanlp/bookcoref
|
| 42 |
+
|
| 43 |
+
### Citation
|
| 44 |
+
|
| 45 |
+
If you use this dataset, please cite the original work:
|
| 46 |
+
|
| 47 |
+
```bibtex
|
| 48 |
+
@inproceedings{martinelli-etal-2025-bookcoref,
|
| 49 |
+
title = "{BOOKCOREF}: Coreference Resolution at Book Scale",
|
| 50 |
+
author = "Martinelli, Giuliano and
|
| 51 |
+
Bonomo, Tommaso and
|
| 52 |
+
Huguet Cabot, Pere-Llu{'i}s and
|
| 53 |
+
Navigli, Roberto",
|
| 54 |
+
editor = "Che, Wanxiang and
|
| 55 |
+
Nabende, Joyce and
|
| 56 |
+
Shutova, Ekaterina and
|
| 57 |
+
Pilehvar, Mohammad Taher",
|
| 58 |
+
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
|
| 59 |
+
month = jul,
|
| 60 |
+
year = "2025",
|
| 61 |
+
address = "Vienna, Austria",
|
| 62 |
+
publisher = "Association for Computational Linguistics",
|
| 63 |
+
url = "https://aclanthology.org/2025.acl-long.1197/",
|
| 64 |
+
doi = "10.18653/v1/2025.acl-long.1197",
|
| 65 |
+
pages = "24526--24544",
|
| 66 |
+
ISBN = "979-8-89176-251-0",
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
```
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
## Statistics
|
| 73 |
+
|
| 74 |
+
| Statistic | Value |
|
| 75 |
+
|---|---:|
|
| 76 |
+
| Language | en |
|
| 77 |
+
| Documents | 53 |
|
| 78 |
+
| Sentences | 311,143 |
|
| 79 |
+
| Tokens | 11,014,749 |
|
| 80 |
+
| Characters | 51,989,137 |
|
| 81 |
+
| Mentions | 991,633 |
|
| 82 |
+
| Entities | 1,439 |
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## Dataset Structure
|
| 87 |
+
|
| 88 |
+
Each document contains:
|
| 89 |
+
|
| 90 |
+
- `file_name`
|
| 91 |
+
- `language`
|
| 92 |
+
- `text`
|
| 93 |
+
- `stanza_tokens`
|
| 94 |
+
- `mentions`
|
| 95 |
+
- `sentence_spans`
|
| 96 |
+
|
| 97 |
+
### Mentions
|
| 98 |
+
|
| 99 |
+
Each mention contains the following fields and additional fields per-dataset:
|
| 100 |
+
|
| 101 |
+
- `onset`
|
| 102 |
+
- `offset`
|
| 103 |
+
- `COREF`
|
| 104 |
+
|
| 105 |
+
---
|
| 106 |
+
|
| 107 |
+
## Example
|
| 108 |
+
|