Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,22 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-sa-3.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
This dataset is converted from [fewshot-goes-multilingual/cs_czech-named-entity-corpus_2.0](https://huggingface.co/datasets/fewshot-goes-multilingual/cs_czech-named-entity-corpus_2.0) version of Czech Named Entity Corpus 2.0 ([project info](https://ufal.mff.cuni.cz/cnec/cnec2.0), [link to data](https://lindat.mff.cuni.cz/repository/xmlui/handle/11858/00-097C-0000-0023-1B22-8)) using script [convert_czner.py](https://huggingface.co/datasets/CZLC/cnec_2.0/blob/main/convert_czner.py).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
|
|
|
|
| 7 |
```
|
| 8 |
train 9315
|
| 9 |
test 10878
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-3.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
language:
|
| 6 |
+
- cs
|
| 7 |
+
---
|
| 8 |
This dataset is converted from [fewshot-goes-multilingual/cs_czech-named-entity-corpus_2.0](https://huggingface.co/datasets/fewshot-goes-multilingual/cs_czech-named-entity-corpus_2.0) version of Czech Named Entity Corpus 2.0 ([project info](https://ufal.mff.cuni.cz/cnec/cnec2.0), [link to data](https://lindat.mff.cuni.cz/repository/xmlui/handle/11858/00-097C-0000-0023-1B22-8)) using script [convert_czner.py](https://huggingface.co/datasets/CZLC/cnec_2.0/blob/main/convert_czner.py).
|
| 9 |
+
For longer texts (>200 ws tokens), the script samples text around the selected entity. It always follows form "`<initial 20 ws tokens>, ..., <sampled window>`".
|
| 10 |
+
Then it extracts category name for the entity, all occurences of such entity in the text, and creates simple json representation. For example:
|
| 11 |
+
```json
|
| 12 |
+
{"label": "komerční instituce",
|
| 13 |
+
"answers": ["Škoda Auto", "Unipetrolem", "ČEZ"],
|
| 14 |
+
"text": "S loňskými tržbami přesahujícími 130,2 miliardy korun se Škoda Auto umístila před Unipetrolem , který měl tržby 74,5 miliardy korun , a ČEZ s tržbami 53,2 miliardy korun ."}
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
|
| 18 |
|
| 19 |
+
Dataset size:
|
| 20 |
```
|
| 21 |
train 9315
|
| 22 |
test 10878
|