Datasets:

Modalities:
Text
Formats:
json
Languages:
German
Libraries:
Datasets
pandas
License:
File size: 731 Bytes
46a8a59
 
08c2c22
 
 
 
46a8a59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8434ac2
46a8a59
 
 
 
 
 
 
 
 
08c2c22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
license: cc-by-4.0
language:
- de
size_categories:
- 10K<n<100K
---

# GermEval 2014: Tokenized Sentences

This datasets hosts a sentence-tokenized version of the [GermEval 2014 NER](https://sites.google.com/site/germeval2014ner/data) dataset.

## Creation

The following script can be used to reproduce the creation of the dataset:

```python
import json

from flair.datasets import NER_GERMAN_GERMEVAL

corpus = NER_GERMAN_GERMEVAL()

with open("./germeval14/train.jsonl", "wt") as f_out:
    for sentence in germeval_corpus.train:
        current_example = {
            "text": sentence.to_tokenized_string()
        }
        f_out.write(json.dumps(current_example) + "\n")
```

The extracted dataset has 24,000 sentences.