Update README.md
Browse files
README.md
CHANGED
@@ -42,4 +42,125 @@ dataset_info:
|
|
42 |
num_examples: 756
|
43 |
download_size: 21892324
|
44 |
dataset_size: 21547216
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
num_examples: 756
|
43 |
download_size: 21892324
|
44 |
dataset_size: 21547216
|
45 |
+
license: cc-by-sa-4.0
|
46 |
+
language:
|
47 |
+
- sl
|
48 |
+
pretty_name: SentiCoref
|
49 |
+
size_categories:
|
50 |
+
- n<1K
|
51 |
---
|
52 |
+
|
53 |
+
# Dataset card for SentiCoref
|
54 |
+
|
55 |
+
### Usage
|
56 |
+
```
|
57 |
+
import datasets
|
58 |
+
data = datasets.load_dataset("cjvt/senticoref", trust_remote_code=True)
|
59 |
+
```
|
60 |
+
|
61 |
+
### Dataset Summary
|
62 |
+
The dataset contains the SentiCoref corpus, annotated for coreference. It is part of the SUK training bundle of corpora.
|
63 |
+
For more details please check the paper or the [Clarin repository](http://hdl.handle.net/11356/1959) from which this dataset is being loaded.
|
64 |
+
|
65 |
+
## Dataset Structure
|
66 |
+
|
67 |
+
### Data Instances
|
68 |
+
|
69 |
+
```
|
70 |
+
{
|
71 |
+
'id_doc': 'senticoref1',
|
72 |
+
'words': [
|
73 |
+
[
|
74 |
+
['Evropska', 'komisija', 'mora', 'narediti', 'analizo', 'vzrokov', 'rasti', 'cen', 'hrane', ',', 'menita', 'kmetijski', 'minister', 'Jarc', 'in', 'njegov', 'francoski', 'kolega', '.'],
|
75 |
+
['Bo', 'evropska', 'komisija', 'analizirala', 'vzroke', 'rasti', 'cen', 'hrane', '.'],
|
76 |
+
...
|
77 |
+
],
|
78 |
+
...
|
79 |
+
],
|
80 |
+
'lemmas': [
|
81 |
+
[
|
82 |
+
['evropski', 'komisija', 'morati', 'narediti', 'analiza', 'vzrok', 'rast', 'cena', 'hrana', ',', 'meniti', 'kmetijski', 'minister', 'Jarc', 'in', 'njegov', 'francoski', 'kolega', '.'],
|
83 |
+
['biti', 'evropski', 'komisija', 'analizirati', 'vzrok', 'rast', 'cena', 'hrana', '.'],
|
84 |
+
...
|
85 |
+
]
|
86 |
+
],
|
87 |
+
'msds': [
|
88 |
+
[
|
89 |
+
['mte:Ppnzei', 'mte:Sozei', 'mte:Ggnste', 'mte:Ggdn', 'mte:Sozet', 'mte:Sommr', 'mte:Sozer', 'mte:Sozmr', 'mte:Sozer', 'mte:U', 'mte:Ggnstd', 'mte:Ppnmeid', 'mte:Somei', 'mte:Slmei', 'mte:Vp', 'mte:Zstmeiem', 'mte:Ppnmeid', 'mte:Somei', 'mte:U'],
|
90 |
+
['mte:Gp-pte-n', 'mte:Ppnzei', 'mte:Sozei', 'mte:Ggvd-ez', 'mte:Sommt', 'mte:Sozer', 'mte:Sozmr', 'mte:Sozer', 'mte:U'],
|
91 |
+
...
|
92 |
+
],
|
93 |
+
...
|
94 |
+
],
|
95 |
+
'ne_tags': [
|
96 |
+
[
|
97 |
+
['B-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'B-PER', 'O', 'O', 'O', 'O', 'O'],
|
98 |
+
['O', 'B-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O', 'O'],
|
99 |
+
...
|
100 |
+
],
|
101 |
+
...
|
102 |
+
],
|
103 |
+
'mentions': [
|
104 |
+
{'id_mention': 'senticoref1.1.1.ne1', 'mention_data': {'idx_par': 0, 'idx_sent': 0, 'word_indices': [0, 1], 'global_word_indices': [0, 1]}},
|
105 |
+
...
|
106 |
+
],
|
107 |
+
'coref_clusters': [
|
108 |
+
['senticoref1.1.1.ne1', 'senticoref1.1.2.ne1', 'senticoref1.1.3.ne1'],
|
109 |
+
['senticoref1.1.1.phr52-1', 'senticoref1.1.3.phr52-2', 'senticoref1.1.11.phr52-3'],
|
110 |
+
['senticoref1.1.1.t5', 'senticoref1.1.3.t6', 'senticoref1.1.11.t11', 'senticoref1.1.11.t17'],
|
111 |
+
['senticoref1.1.1.phr13-1', 'senticoref1.1.2.phr13-2'],
|
112 |
+
...
|
113 |
+
]
|
114 |
+
}
|
115 |
+
```
|
116 |
+
|
117 |
+
### Data Fields
|
118 |
+
|
119 |
+
- `id_doc`: a string ID of the document (corresponds to file name in this case);
|
120 |
+
- `words`: a `List[List[List[String]]]` containing document words;
|
121 |
+
- `lemmas`: a `List[List[List[String]]]` containing document lemmas;
|
122 |
+
- `msds`: a `List[List[List[String]]]` containing document morphosyntactic features, encoded using MULTEXT-East V6;
|
123 |
+
- `ne_tags`: a `List[List[List[String]]]` containing document named entity tags, encoded using IOB2 scheme;
|
124 |
+
- `mentions`: a list of dicts for each mention. Each mention contains an ID (`id_mention`) and
|
125 |
+
positions of words inside mention (determined by `idx_sent`, `word_indices`;
|
126 |
+
or equivalently `global_word_indices` if sentences are flattened into a single list)
|
127 |
+
- `coref_clusters`: a list of lists of strings containing mention IDs contained inside each coreference cluster.
|
128 |
+
|
129 |
+
## Additional Information
|
130 |
+
|
131 |
+
### Dataset Curators
|
132 |
+
|
133 |
+
Špela Arhar Holdt; et al. (please see http://hdl.handle.net/11356/1959 for the full list of contributors)
|
134 |
+
|
135 |
+
### Licensing Information
|
136 |
+
|
137 |
+
CC BY-SA 4.0
|
138 |
+
|
139 |
+
### Citation Information
|
140 |
+
|
141 |
+
```
|
142 |
+
@article{senticoref-paper,
|
143 |
+
title={Neural coreference resolution for Slovene language},
|
144 |
+
author={Matej Klemen and Slavko Žitnik},
|
145 |
+
journal={Computer Science and Information Systems},
|
146 |
+
year={2022},
|
147 |
+
volume={19},
|
148 |
+
pages={495-521}
|
149 |
+
}
|
150 |
+
```
|
151 |
+
|
152 |
+
```
|
153 |
+
@misc{suk-clarin,
|
154 |
+
title = {Training corpus {SUK} 1.1},
|
155 |
+
author = {Arhar Holdt, {\v S}pela and Krek, Simon and Dobrovoljc, Kaja and Erjavec, Toma{\v z} and Gantar, Polona and {\v C}ibej, Jaka and Pori, Eva and Ter{\v c}on, Luka and Munda, Tina and {\v Z}itnik, Slavko and Robida, Nejc and Blagus, Neli and Mo{\v z}e, Sara and Ledinek, Nina and Holz, Nanika and Zupan, Katja and Kuzman, Taja and Kav{\v c}i{\v c}, Teja and {\v S}krjanec, Iza and Marko, Dafne and Jezer{\v s}ek, Lucija and Zajc, Anja},
|
156 |
+
url = {http://hdl.handle.net/11356/1959},
|
157 |
+
note = {Slovenian language resource repository {CLARIN}.{SI}},
|
158 |
+
copyright = {Creative Commons - Attribution-{ShareAlike} 4.0 International ({CC} {BY}-{SA} 4.0)},
|
159 |
+
issn = {2820-4042},
|
160 |
+
year = {2024}
|
161 |
+
}
|
162 |
+
```
|
163 |
+
|
164 |
+
### Contributions
|
165 |
+
|
166 |
+
Thanks to [@matejklemen](https://github.com/matejklemen) for adding this dataset.
|