Update README.md
Browse files
README.md
CHANGED
|
@@ -1,31 +1,132 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-sa-4.0
|
| 3 |
-
dataset_info:
|
| 4 |
-
features:
|
| 5 |
-
- name: id_doc
|
| 6 |
-
dtype: string
|
| 7 |
-
- name: words
|
| 8 |
-
sequence:
|
| 9 |
-
sequence: string
|
| 10 |
-
- name: mentions
|
| 11 |
-
list:
|
| 12 |
-
- name: id_mention
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: mention_data
|
| 15 |
-
struct:
|
| 16 |
-
- name: idx_sent
|
| 17 |
-
dtype: uint32
|
| 18 |
-
- name: word_indices
|
| 19 |
-
sequence: uint32
|
| 20 |
-
- name: global_word_indices
|
| 21 |
-
sequence: uint32
|
| 22 |
-
- name: coref_clusters
|
| 23 |
-
sequence:
|
| 24 |
-
sequence: string
|
| 25 |
-
splits:
|
| 26 |
-
- name: train
|
| 27 |
-
num_bytes: 413196
|
| 28 |
-
num_examples: 149
|
| 29 |
-
download_size: 463706
|
| 30 |
-
dataset_size: 413196
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
dataset_info:
|
| 4 |
+
features:
|
| 5 |
+
- name: id_doc
|
| 6 |
+
dtype: string
|
| 7 |
+
- name: words
|
| 8 |
+
sequence:
|
| 9 |
+
sequence: string
|
| 10 |
+
- name: mentions
|
| 11 |
+
list:
|
| 12 |
+
- name: id_mention
|
| 13 |
+
dtype: string
|
| 14 |
+
- name: mention_data
|
| 15 |
+
struct:
|
| 16 |
+
- name: idx_sent
|
| 17 |
+
dtype: uint32
|
| 18 |
+
- name: word_indices
|
| 19 |
+
sequence: uint32
|
| 20 |
+
- name: global_word_indices
|
| 21 |
+
sequence: uint32
|
| 22 |
+
- name: coref_clusters
|
| 23 |
+
sequence:
|
| 24 |
+
sequence: string
|
| 25 |
+
splits:
|
| 26 |
+
- name: train
|
| 27 |
+
num_bytes: 413196
|
| 28 |
+
num_examples: 149
|
| 29 |
+
download_size: 463706
|
| 30 |
+
dataset_size: 413196
|
| 31 |
+
language:
|
| 32 |
+
- sl
|
| 33 |
+
tags:
|
| 34 |
+
- coreference-resolution
|
| 35 |
+
pretty_name: coref149
|
| 36 |
+
size_categories:
|
| 37 |
+
- n<1K
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
# Dataset card for coref149
|
| 41 |
+
|
| 42 |
+
### Usage
|
| 43 |
+
```
|
| 44 |
+
import datasets
|
| 45 |
+
data = datasets.load_dataset("cjvt/coref149", trust_remote_code=True)
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
### Dataset Summary
|
| 49 |
+
The dataset contains a subset of the ssj500k corpus, specifically paragraphs, annotated for coreference.
|
| 50 |
+
For more details please check the paper (in Slovenian) or the Clarin repository from which this dataset is being loaded.
|
| 51 |
+
|
| 52 |
+
### Supported Tasks and Leaderboards
|
| 53 |
+
Coreference resolution.
|
| 54 |
+
|
| 55 |
+
### Languages
|
| 56 |
+
Slovenian.
|
| 57 |
+
|
| 58 |
+
## Dataset Structure
|
| 59 |
+
|
| 60 |
+
### Data Instances
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
{
|
| 64 |
+
'id_doc': 'ssj4.15.tcf',
|
| 65 |
+
'words': [
|
| 66 |
+
['Znamenita', 'konjeniška', 'dirka', 'Aintree', '2005', 'v', 'bližini', 'Liverpoola', 'je', 'tudi', 'letos', 'postregla', 'z', 'nekaterimi', 'nepredvidljivimi', 'naključji', '.'],
|
| 67 |
+
['Kljub', 'tradiciji', 'so', 'bili', ...],
|
| 68 |
+
...
|
| 69 |
+
],
|
| 70 |
+
'mentions': [
|
| 71 |
+
{'id_mention': 'ssj4.15.tcf.rc_0', 'mention_data': {'idx_sent': 5, 'word_indices': [6, 7], 'global_word_indices': [80, 81]}},
|
| 72 |
+
{'id_mention': 'ssj4.15.tcf.rc_1', 'mention_data': {'idx_sent': 0, 'word_indices': [7], 'global_word_indices': [7]}},
|
| 73 |
+
...
|
| 74 |
+
],
|
| 75 |
+
'coref_clusters': [
|
| 76 |
+
['ssj4.15.tcf.rc_0'],
|
| 77 |
+
['ssj4.15.tcf.rc_1'],
|
| 78 |
+
['ssj4.15.tcf.rc_2', 'ssj4.15.tcf.rc_3'],
|
| 79 |
+
...
|
| 80 |
+
]
|
| 81 |
+
}
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
### Data Fields
|
| 85 |
+
|
| 86 |
+
- `id_doc`: a string ID of the document (corresponds to file name in this case);
|
| 87 |
+
- `words`: a list of lists of strings containing paragraph words;
|
| 88 |
+
- `mentions`: a list of dicts for each mention. Each mention contains an ID (`id_mention`) and
|
| 89 |
+
positions of words inside mention (determined by `idx_sent`, `word_indices`;
|
| 90 |
+
or equivalently `global_word_indices` if sentences are flattened into a single list)
|
| 91 |
+
- `coref_clusters`: a list of lists of strings containing mention IDs contained inside each coreference cluster.
|
| 92 |
+
|
| 93 |
+
## Additional Information
|
| 94 |
+
|
| 95 |
+
### Dataset Curators
|
| 96 |
+
|
| 97 |
+
Slavko Žitnik.
|
| 98 |
+
|
| 99 |
+
### Licensing Information
|
| 100 |
+
|
| 101 |
+
CC BY-NC-SA 4.0
|
| 102 |
+
|
| 103 |
+
### Citation Information
|
| 104 |
+
|
| 105 |
+
```
|
| 106 |
+
@article{coref149-paper,
|
| 107 |
+
title={Odkrivanje koreferenčnosti v slovenskem jeziku na označenih besedilih iz coref149},
|
| 108 |
+
volume={6},
|
| 109 |
+
url={https://revije.ff.uni-lj.si/slovenscina2/article/view/7967/8253},
|
| 110 |
+
number={1},
|
| 111 |
+
journal={Slovenščina 2.0},
|
| 112 |
+
author={Žitnik, Slavko and Bajec, Marko},
|
| 113 |
+
year={2018},
|
| 114 |
+
pages={37–66}
|
| 115 |
+
}
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
```
|
| 119 |
+
@misc{coref149-clarin,
|
| 120 |
+
title = {Slovene coreference resolution corpus coref149},
|
| 121 |
+
author = {{\v Z}itnik, Slavko},
|
| 122 |
+
url = {http://hdl.handle.net/11356/1182},
|
| 123 |
+
note = {Slovenian language resource repository {CLARIN}.{SI}},
|
| 124 |
+
copyright = {Creative Commons - Attribution-{NonCommercial}-{ShareAlike} 4.0 International ({CC} {BY}-{NC}-{SA} 4.0)},
|
| 125 |
+
year = {2018}
|
| 126 |
+
}
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
### Contributions
|
| 130 |
+
|
| 131 |
+
Thanks to [@matejklemen](https://github.com/matejklemen) for adding this dataset.
|
| 132 |
+
|