Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
German
Size:
100K<n<1M
License:
Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
- README.md +21 -21
- germeval_14.py +4 -2
README.md
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
- [Citation Information](#citation-information)
|
28 |
- [Contributions](#contributions)
|
29 |
|
30 |
-
##
|
31 |
|
32 |
- **Homepage:** [https://sites.google.com/site/germeval2014ner/](https://sites.google.com/site/germeval2014ner/)
|
33 |
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
@@ -37,23 +37,23 @@
|
|
37 |
- **Size of the generated dataset:** 17.19 MB
|
38 |
- **Total amount of disk used:** 27.00 MB
|
39 |
|
40 |
-
###
|
41 |
|
42 |
The GermEval 2014 NER Shared Task builds on a new dataset with German Named Entity annotation with the following properties: - The data was sampled from German Wikipedia and News Corpora as a collection of citations. - The dataset covers over 31,000 sentences corresponding to over 590,000 tokens. - The NER annotation uses the NoSta-D guidelines, which extend the Tübingen Treebank guidelines, using four main NER categories with sub-structure, and annotating embeddings among NEs such as [ORG FC Kickers [LOC Darmstadt]].
|
43 |
|
44 |
-
###
|
45 |
|
46 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
47 |
|
48 |
-
###
|
49 |
|
50 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
51 |
|
52 |
-
##
|
53 |
|
54 |
We show detailed information for up to 5 configurations of the dataset.
|
55 |
|
56 |
-
###
|
57 |
|
58 |
#### germeval_14
|
59 |
|
@@ -74,7 +74,7 @@ This example was too long and was cropped:
|
|
74 |
}
|
75 |
```
|
76 |
|
77 |
-
###
|
78 |
|
79 |
The data fields are the same among all splits.
|
80 |
|
@@ -85,55 +85,55 @@ The data fields are the same among all splits.
|
|
85 |
- `ner_tags`: a `list` of classification labels, with possible values including `O` (0), `B-LOC` (1), `I-LOC` (2), `B-LOCderiv` (3), `I-LOCderiv` (4).
|
86 |
- `nested_ner_tags`: a `list` of classification labels, with possible values including `O` (0), `B-LOC` (1), `I-LOC` (2), `B-LOCderiv` (3), `I-LOCderiv` (4).
|
87 |
|
88 |
-
###
|
89 |
|
90 |
| name |train|validation|test|
|
91 |
|-----------|----:|---------:|---:|
|
92 |
|germeval_14|24000| 2200|5100|
|
93 |
|
94 |
-
##
|
95 |
|
96 |
-
###
|
97 |
|
98 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
99 |
|
100 |
-
###
|
101 |
|
102 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
103 |
|
104 |
-
###
|
105 |
|
106 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
107 |
|
108 |
-
###
|
109 |
|
110 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
111 |
|
112 |
-
##
|
113 |
|
114 |
-
###
|
115 |
|
116 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
117 |
|
118 |
-
###
|
119 |
|
120 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
121 |
|
122 |
-
###
|
123 |
|
124 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
125 |
|
126 |
-
##
|
127 |
|
128 |
-
###
|
129 |
|
130 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
131 |
|
132 |
-
###
|
133 |
|
134 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
135 |
|
136 |
-
###
|
137 |
|
138 |
```
|
139 |
@inproceedings{benikova-etal-2014-nosta,
|
|
|
27 |
- [Citation Information](#citation-information)
|
28 |
- [Contributions](#contributions)
|
29 |
|
30 |
+
## Dataset Description
|
31 |
|
32 |
- **Homepage:** [https://sites.google.com/site/germeval2014ner/](https://sites.google.com/site/germeval2014ner/)
|
33 |
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
|
|
37 |
- **Size of the generated dataset:** 17.19 MB
|
38 |
- **Total amount of disk used:** 27.00 MB
|
39 |
|
40 |
+
### Dataset Summary
|
41 |
|
42 |
The GermEval 2014 NER Shared Task builds on a new dataset with German Named Entity annotation with the following properties: - The data was sampled from German Wikipedia and News Corpora as a collection of citations. - The dataset covers over 31,000 sentences corresponding to over 590,000 tokens. - The NER annotation uses the NoSta-D guidelines, which extend the Tübingen Treebank guidelines, using four main NER categories with sub-structure, and annotating embeddings among NEs such as [ORG FC Kickers [LOC Darmstadt]].
|
43 |
|
44 |
+
### Supported Tasks
|
45 |
|
46 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
47 |
|
48 |
+
### Languages
|
49 |
|
50 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
51 |
|
52 |
+
## Dataset Structure
|
53 |
|
54 |
We show detailed information for up to 5 configurations of the dataset.
|
55 |
|
56 |
+
### Data Instances
|
57 |
|
58 |
#### germeval_14
|
59 |
|
|
|
74 |
}
|
75 |
```
|
76 |
|
77 |
+
### Data Fields
|
78 |
|
79 |
The data fields are the same among all splits.
|
80 |
|
|
|
85 |
- `ner_tags`: a `list` of classification labels, with possible values including `O` (0), `B-LOC` (1), `I-LOC` (2), `B-LOCderiv` (3), `I-LOCderiv` (4).
|
86 |
- `nested_ner_tags`: a `list` of classification labels, with possible values including `O` (0), `B-LOC` (1), `I-LOC` (2), `B-LOCderiv` (3), `I-LOCderiv` (4).
|
87 |
|
88 |
+
### Data Splits Sample Size
|
89 |
|
90 |
| name |train|validation|test|
|
91 |
|-----------|----:|---------:|---:|
|
92 |
|germeval_14|24000| 2200|5100|
|
93 |
|
94 |
+
## Dataset Creation
|
95 |
|
96 |
+
### Curation Rationale
|
97 |
|
98 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
99 |
|
100 |
+
### Source Data
|
101 |
|
102 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
103 |
|
104 |
+
### Annotations
|
105 |
|
106 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
107 |
|
108 |
+
### Personal and Sensitive Information
|
109 |
|
110 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
111 |
|
112 |
+
## Considerations for Using the Data
|
113 |
|
114 |
+
### Social Impact of Dataset
|
115 |
|
116 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
117 |
|
118 |
+
### Discussion of Biases
|
119 |
|
120 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
121 |
|
122 |
+
### Other Known Limitations
|
123 |
|
124 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
125 |
|
126 |
+
## Additional Information
|
127 |
|
128 |
+
### Dataset Curators
|
129 |
|
130 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
131 |
|
132 |
+
### Licensing Information
|
133 |
|
134 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
135 |
|
136 |
+
### Citation Information
|
137 |
|
138 |
```
|
139 |
@inproceedings{benikova-etal-2014-nosta,
|
germeval_14.py
CHANGED
@@ -19,11 +19,13 @@
|
|
19 |
from __future__ import absolute_import, division, print_function
|
20 |
|
21 |
import csv
|
22 |
-
import logging
|
23 |
|
24 |
import datasets
|
25 |
|
26 |
|
|
|
|
|
|
|
27 |
_CITATION = """\
|
28 |
@inproceedings{benikova-etal-2014-nosta,
|
29 |
title = {NoSta-D Named Entity Annotation for German: Guidelines and Dataset},
|
@@ -165,7 +167,7 @@ class GermEval14(datasets.GeneratorBasedBuilder):
|
|
165 |
]
|
166 |
|
167 |
def _generate_examples(self, filepath):
|
168 |
-
|
169 |
with open(filepath, encoding="utf-8") as f:
|
170 |
data = csv.reader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
171 |
current_source = ""
|
|
|
19 |
from __future__ import absolute_import, division, print_function
|
20 |
|
21 |
import csv
|
|
|
22 |
|
23 |
import datasets
|
24 |
|
25 |
|
26 |
+
logger = datasets.logging.get_logger(__name__)
|
27 |
+
|
28 |
+
|
29 |
_CITATION = """\
|
30 |
@inproceedings{benikova-etal-2014-nosta,
|
31 |
title = {NoSta-D Named Entity Annotation for German: Guidelines and Dataset},
|
|
|
167 |
]
|
168 |
|
169 |
def _generate_examples(self, filepath):
|
170 |
+
logger.info("⏳ Generating examples from = %s", filepath)
|
171 |
with open(filepath, encoding="utf-8") as f:
|
172 |
data = csv.reader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
173 |
current_source = ""
|