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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- expert-generated
|
4 |
+
language:
|
5 |
+
- pl
|
6 |
+
language_creators:
|
7 |
+
- expert-generated
|
8 |
+
- found
|
9 |
+
license:
|
10 |
+
- cc-by-4.0
|
11 |
+
multilinguality:
|
12 |
+
- monolingual
|
13 |
+
pretty_name: wsd-plwordnet-glex
|
14 |
+
size_categories:
|
15 |
+
- 1M<n<10M
|
16 |
+
source_datasets:
|
17 |
+
- original
|
18 |
+
tags: []
|
19 |
+
task_categories:
|
20 |
+
- token-classification
|
21 |
+
task_ids:
|
22 |
+
- word-sense-disambiguation
|
23 |
+
- sense-inventories
|
24 |
---
|
25 |
+
# Word Sense Disambiguation Corpora for Polish
|
26 |
+
|
27 |
+
## Table of Contents
|
28 |
+
- [Dataset Description](#dataset-description)
|
29 |
+
- [Dataset Summary](#dataset-summary)
|
30 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
31 |
+
- [Languages](#languages)
|
32 |
+
- [Dataset Structure](#dataset-structure)
|
33 |
+
- [Data Instances](#data-instances)
|
34 |
+
- [Data Fields](#data-fields)
|
35 |
+
- [Data Splits](#data-splits)
|
36 |
+
- [Dataset Creation](#dataset-creation)
|
37 |
+
- [Curation Rationale](#curation-rationale)
|
38 |
+
- [Source Data](#source-data)
|
39 |
+
- [Annotations](#annotations)
|
40 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
41 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
42 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
43 |
+
- [Discussion of Biases](#discussion-of-biases)
|
44 |
+
- [Other Known Limitations](#other-known-limitations)
|
45 |
+
- [Additional Information](#additional-information)
|
46 |
+
- [Dataset Curators](#dataset-curators)
|
47 |
+
- [Licensing Information](#licensing-information)
|
48 |
+
- [Citation Information](#citation-information)
|
49 |
+
- [Contributions](#contributions)
|
50 |
+
|
51 |
+
## Dataset Description
|
52 |
+
|
53 |
+
- **Homepage:**
|
54 |
+
- **Repository:**
|
55 |
+
- **Paper:** https://link.springer.com/chapter/10.1007/978-3-031-08754-7_70
|
56 |
+
- **Point of Contact:** [email protected]
|
57 |
+
|
58 |
+
### Dataset Summary
|
59 |
+
|
60 |
+
`WSD plWordNet GLEX` is a sense inventory based on plWordNet 4.5 adapted to word sense disambiguation (WSD) task in Polish language.
|
61 |
+
It consists of 3 distinct files, manually annotated with senses from plWordNet-4.5 sense inventory.
|
62 |
+
|
63 |
+
- ...
|
64 |
+
|
65 |
+
For more details, please check the following publication:
|
66 |
+
|
67 |
+
```
|
68 |
+
@InProceedings{10.1007/978-3-031-08754-7_70,
|
69 |
+
author="Janz, Arkadiusz
|
70 |
+
and Dziob, Agnieszka
|
71 |
+
and Oleksy, Marcin
|
72 |
+
and Baran, Joanna",
|
73 |
+
editor="Groen, Derek
|
74 |
+
and de Mulatier, Cl{\'e}llia
|
75 |
+
and Paszynski, Maciej
|
76 |
+
and Krzhizhanovskaya, Valeria V.
|
77 |
+
and Dongarra, Jack J.
|
78 |
+
and Sloot, Peter M. A.",
|
79 |
+
title="A Unified Sense Inventory for Word Sense Disambiguation in Polish",
|
80 |
+
booktitle="Computational Science -- ICCS 2022",
|
81 |
+
year="2022",
|
82 |
+
publisher="Springer International Publishing",
|
83 |
+
address="Cham",
|
84 |
+
pages="682--689",
|
85 |
+
isbn="978-3-031-08754-7"
|
86 |
+
}
|
87 |
+
```
|
88 |
+
|
89 |
+
**A new publication on Polish WSD corpora will be available soon**
|
90 |
+
|
91 |
+
### Supported Tasks and Leaderboards
|
92 |
+
|
93 |
+
Word sense disambiguation task. We do not provide a leaderboard. However, we provide an example evaluation script for evaluating WSD models.
|
94 |
+
|
95 |
+
### Languages
|
96 |
+
|
97 |
+
Polish language, PL
|
98 |
+
|
99 |
+
## Dataset Structure
|
100 |
+
|
101 |
+
### Data Instances
|
102 |
+
|
103 |
+
Data are structured in JSONL format, each single text sample is divided by sentence.
|
104 |
+
|
105 |
+
```
|
106 |
+
{
|
107 |
+
"text": "Wpierw pani Hudson została zerwana z łóżka, po czym odegrała się na mnie, a ja - na tobie.",
|
108 |
+
"tokens": [
|
109 |
+
{
|
110 |
+
"index": 0,
|
111 |
+
"position": [ 0, 6 ],
|
112 |
+
"orth": "Wpierw",
|
113 |
+
"lemma": "wpierw",
|
114 |
+
"pos": "adv",
|
115 |
+
"ctag": "adv"
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"index": 1,
|
119 |
+
"position": [ 7, 11 ],
|
120 |
+
"orth": "pani",
|
121 |
+
"lemma": "pani",
|
122 |
+
"pos": "noun",
|
123 |
+
"ctag": "subst:nom:f:sg"
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"index": 2,
|
127 |
+
"position": [ 12, 18 ],
|
128 |
+
"orth": "Hudson",
|
129 |
+
"lemma": "Hudson",
|
130 |
+
"pos": "noun",
|
131 |
+
"ctag": "subst:nom:f:sg"
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"index": 3,
|
135 |
+
"position": [ 19, 26 ],
|
136 |
+
"orth": "została",
|
137 |
+
"lemma": "zostać",
|
138 |
+
"pos": "verb",
|
139 |
+
"ctag": "praet:perf:f:sg"
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"index": 4,
|
143 |
+
"position": [ 27, 34 ],
|
144 |
+
"orth": "zerwana",
|
145 |
+
"lemma": "zerwać",
|
146 |
+
"pos": "verb",
|
147 |
+
"ctag": "ppas:perf:nom:f:aff:sg"
|
148 |
+
},
|
149 |
+
<...>
|
150 |
+
],
|
151 |
+
"phrases": [
|
152 |
+
{
|
153 |
+
"indices": [ 10, 11 ],
|
154 |
+
"head": 10,
|
155 |
+
"lemma": "odegrać się"
|
156 |
+
}
|
157 |
+
],
|
158 |
+
"wsd": [
|
159 |
+
{
|
160 |
+
"index": 0,
|
161 |
+
"pl_sense": "wpierw.1.r",
|
162 |
+
"plWN_syn_id": "01a4a067-aac5-11ed-aae5-0242ac130002",
|
163 |
+
"plWN_lex_id": "f2757c30-aac4-11ed-aae5-0242ac130002",
|
164 |
+
"plWN_syn_legacy_id": "477654",
|
165 |
+
"plWN_lex_legacy_id": "718454",
|
166 |
+
"PWN_syn_id": "00102736-r",
|
167 |
+
"bn_syn_id": "bn:00115376r",
|
168 |
+
"mapping_relation": "synonymy"
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"index": 1,
|
172 |
+
"pl_sense": "pani.2.n",
|
173 |
+
"plWN_syn_id": "f35fb1ed-aac4-11ed-aae5-0242ac130002",
|
174 |
+
"plWN_lex_id": "d5145565-aac4-11ed-aae5-0242ac130002",
|
175 |
+
"plWN_syn_legacy_id": "129",
|
176 |
+
"plWN_lex_legacy_id": "20695",
|
177 |
+
"PWN_syn_id": "10787470-n",
|
178 |
+
"bn_syn_id": "bn:00001530n",
|
179 |
+
"mapping_relation": "synonymy"
|
180 |
+
},
|
181 |
+
<...>
|
182 |
+
]
|
183 |
+
}
|
184 |
+
```
|
185 |
+
|
186 |
+
### Data Fields
|
187 |
+
|
188 |
+
Description of json keys:
|
189 |
+
- `text`: text of the sentence
|
190 |
+
- `tokens`: list of tokens made by tokenization process
|
191 |
+
- `index`: token order index in sentence
|
192 |
+
- `position`: token chars span indices <included, excluded>
|
193 |
+
- `orth`: word
|
194 |
+
- `lemma`: lemmatised word
|
195 |
+
- `pos`: part of speech
|
196 |
+
- `ctag`: morphosyntactic tag
|
197 |
+
- `phrases`: list of multi-word
|
198 |
+
- `wsd`: annotation labels for the WSD task
|
199 |
+
|
200 |
+
### Data Splits
|
201 |
+
|
202 |
+
We do not specify an exact data split for training and evaluation. This is just a sense inventory. The splits should be based on word sense disambiguation corpora.
|
203 |
+
You can use the corpora available at: https://huggingface.co/datasets/clarin-knext/wsd_polish_datasets. The corpora were annotated with senses from this sense inventory.
|
204 |
+
|
205 |
+
## Dataset Creation
|
206 |
+
|
207 |
+
### Curation Rationale
|
208 |
+
|
209 |
+
[More Information Needed]
|
210 |
+
|
211 |
+
### Source Data
|
212 |
+
|
213 |
+
#### Initial Data Collection, Normalization and Post-processing
|
214 |
+
|
215 |
+
Source corpora were initially pre-processed using morphosyntactic tagging and multi-word expression recognition tools.
|
216 |
+
To tokenize and tag the datasets we used [MorphoDiTa](https://clarin-pl.eu/dspace/handle/11321/425) adapted to Polish language. To recognize multi-word expressions
|
217 |
+
we applied pattern-based matching tool [Corpus2-MWE](https://clarin-pl.eu/dspace/handle/11321/533) - only MWEs from plWordNet were included. After manual annotation,
|
218 |
+
sense indices of plWordNet 4.5 were mapped automatically to Princeton WordNet 3.0 and BabelNet 4.0 indices using plWordNet's interlingual mapping.
|
219 |
+
|
220 |
+
### Annotations
|
221 |
+
|
222 |
+
#### Annotation process
|
223 |
+
|
224 |
+
* 2+1 annotation process with inter-annotator agreement score over 0.6 PSA
|
225 |
+
* annotated with [plWordNet 4.5](http://plwordnet.pwr.wroc.pl/wordnet/)
|
226 |
+
* software: [WordNet-Loom](https://clarin-pl.eu/dspace/handle/11321/275) and [Inforex](https://clarin-pl.eu/dspace/handle/11321/13)
|
227 |
+
* both single-word and multi-word expressions annotated
|
228 |
+
* full-text sense annotation (excluding KPWr)
|
229 |
+
|
230 |
+
#### Who are the annotators?
|
231 |
+
|
232 |
+
- professional linguists from CLARIN-PL project
|
233 |
+
|
234 |
+
### Personal and Sensitive Information
|
235 |
+
|
236 |
+
The datasets do not contain any personal or sensitive information.
|
237 |
+
|
238 |
+
## Considerations for Using the Data
|
239 |
+
|
240 |
+
### Discussion of Biases
|
241 |
+
|
242 |
+
Some datasets are biased towards most frequent senses. No information about other biases - needs further analysis.
|
243 |
+
|
244 |
+
### Other Known Limitations
|
245 |
+
|
246 |
+
* sense inventories are usually incomplete therefore some word senses might be missing in plWordNet
|
247 |
+
* single-word and multi-word terms expressing novel senses (missing in plWordNet) were not marked
|
248 |
+
|
249 |
+
## Additional Information
|
250 |
+
|
251 |
+
### Dataset Curators
|
252 |
+
|
253 |
+
Arkadiusz Janz ([email protected])
|
254 |
+
|
255 |
+
### Licensing Information
|
256 |
+
|
257 |
+
KPWR-100 [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
258 |
+
KPWR [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
259 |
+
Walenty [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
260 |
+
Sherlock [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
261 |
+
Skladnica [GNU GPL 3](http://www.gnu.org/licenses/gpl-3.0.en.html)
|
262 |
+
GLEX [plWordNet License](http://plwordnet.pwr.wroc.pl/wordnet/licence)
|
263 |
+
|
264 |
+
|
265 |
+
### Citation Information
|
266 |
+
|
267 |
+
Main source (all corpora as a unified benchmark) and published here on HuggingFace:
|
268 |
+
|
269 |
+
````
|
270 |
+
@InProceedings{10.1007/978-3-031-08754-7_70,
|
271 |
+
author="Janz, Arkadiusz
|
272 |
+
and Dziob, Agnieszka
|
273 |
+
and Oleksy, Marcin
|
274 |
+
and Baran, Joanna",
|
275 |
+
editor="Groen, Derek
|
276 |
+
and de Mulatier, Cl{\'e}llia
|
277 |
+
and Paszynski, Maciej
|
278 |
+
and Krzhizhanovskaya, Valeria V.
|
279 |
+
and Dongarra, Jack J.
|
280 |
+
and Sloot, Peter M. A.",
|
281 |
+
title="A Unified Sense Inventory for Word Sense Disambiguation in Polish",
|
282 |
+
booktitle="Computational Science -- ICCS 2022",
|
283 |
+
year="2022",
|
284 |
+
publisher="Springer International Publishing",
|
285 |
+
address="Cham",
|
286 |
+
pages="682--689",
|
287 |
+
isbn="978-3-031-08754-7"
|
288 |
+
}
|
289 |
+
|
290 |
+
````
|
291 |
+
|
292 |
+
Related work
|
293 |
+
------------
|
294 |
+
|
295 |
+
KPWr-100, Składnica, SPEC
|
296 |
+
````
|
297 |
+
@article{janzresults,
|
298 |
+
title={Results of the PolEval 2020 Shared Task 3: Word Sense Disambiguation},
|
299 |
+
author={Janz, Arkadiusz and Chlebus, Joanna and Dziob, Agnieszka and Piasecki, Maciej},
|
300 |
+
journal={Proceedings of the PolEval 2020 Workshop},
|
301 |
+
pages={65--77},
|
302 |
+
year={2020}
|
303 |
+
}
|
304 |
+
````
|
305 |
+
|
306 |
+
GLEX (EmoGLEX)
|
307 |
+
|
308 |
+
````
|
309 |
+
@article{janz2017plwordnet,
|
310 |
+
title={{plWordNet} as a basis for large emotive lexicons of Polish},
|
311 |
+
author={Janz, Arkadiusz and Kocon, Jan and Piasecki, Maciej and Zasko-Zielinska, Monika},
|
312 |
+
journal={Proceedings of Human Language Technologies as a Challenge for Computer Science and Linguistics Poznan: Fundacja Uniwersytetu im. Adama Mickiewicza w Poznaniu},
|
313 |
+
pages={189--193},
|
314 |
+
year={2017}
|
315 |
+
}
|
316 |
+
````
|
317 |
+
|
318 |
+
KPWr
|
319 |
+
````
|
320 |
+
@conference{broda2012,
|
321 |
+
address = {Istanbul, Turkey},
|
322 |
+
author = {Bartosz Broda and Micha{\l} Marci{\'n}czuk and Marek Maziarz and Adam Radziszewski and Adam Wardy{\'n}ski},
|
323 |
+
booktitle = {Proceedings of LREC'12},
|
324 |
+
owner = {Marlena},
|
325 |
+
publisher = {ELRA},
|
326 |
+
timestamp = {2014.06.20},
|
327 |
+
title = {KPWr: Towards a Free Corpus of Polish},
|
328 |
+
year = {2012}
|
329 |
+
}
|
330 |
+
````
|
331 |
+
|
332 |
+
Składnica
|
333 |
+
````
|
334 |
+
@inproceedings{hajnicz-2014-lexico,
|
335 |
+
title = "Lexico-Semantic Annotation of Sk{\l}adnica Treebank by means of {PLWN} Lexical Units",
|
336 |
+
author = "Hajnicz, El{\.z}bieta",
|
337 |
+
booktitle = "Proceedings of the Seventh Global {W}ordnet Conference",
|
338 |
+
month = jan,
|
339 |
+
year = "2014",
|
340 |
+
address = "Tartu, Estonia",
|
341 |
+
publisher = "University of Tartu Press",
|
342 |
+
url = "https://aclanthology.org/W14-0104",
|
343 |
+
pages = "23--31",
|
344 |
+
}
|
345 |
+
````
|
346 |
+
|
347 |
+
Walenty
|
348 |
+
````
|
349 |
+
@inproceedings{haj:and:bar:lrec16,
|
350 |
+
author = {Hajnicz, El{\.z}bieta and Andrzejczuk, Anna and Bartosiak, Tomasz},
|
351 |
+
crossref = {lrec:16},
|
352 |
+
pages = {2625--2632},
|
353 |
+
pdf = {http://www.lrec-conf.org/proceedings/lrec2016/pdf/382_Paper.pdf},
|
354 |
+
title = {Semantic Layer of the Valence Dictionary of {P}olish \emph{{W}alenty}}
|
355 |
+
}
|
356 |
+
````
|
357 |
+
|
358 |
+
Mapping plWordNet onto Princeton WordNet
|
359 |
+
````
|
360 |
+
@inproceedings{rudnicka-etal-2021-non,
|
361 |
+
title = "A (Non)-Perfect Match: Mapping pl{W}ord{N}et onto {P}rinceton{W}ord{N}et",
|
362 |
+
author = "Rudnicka, Ewa and
|
363 |
+
Witkowski, Wojciech and
|
364 |
+
Piasecki, Maciej",
|
365 |
+
booktitle = "Proceedings of the 11th Global Wordnet Conference",
|
366 |
+
month = jan,
|
367 |
+
year = "2021",
|
368 |
+
address = "University of South Africa (UNISA)",
|
369 |
+
publisher = "Global Wordnet Association",
|
370 |
+
url = "https://aclanthology.org/2021.gwc-1.16",
|
371 |
+
pages = "137--146"
|
372 |
+
}
|
373 |
+
````
|
374 |
+
|