Datasets:

Modalities:
Text
Formats:
json
Languages:
German
Libraries:
Datasets
pandas
License:
stefan-it commited on
Commit
0863cc6
·
verified ·
1 Parent(s): ddae82c

docs: add initial version

Browse files
Files changed (1) hide show
  1. README.md +32 -3
README.md CHANGED
@@ -1,3 +1,32 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - de
5
+ size_categories:
6
+ - 1K<n<10K
7
+ ---
8
+
9
+ # DFKI MobIE: Tokenized Sentences
10
+
11
+ This datasets hosts a sentence-tokenized version of the [DFKI MobIE](https://github.com/dfki-nlp/mobie) dataset.
12
+
13
+ ## Creation
14
+
15
+ The following script can be used to reproduce the creation of the dataset:
16
+
17
+ ```python
18
+ import json
19
+
20
+ from flair.datasets import NER_GERMAN_MOBIE
21
+
22
+ corpus = NER_GERMAN_MOBIE()
23
+
24
+ with open("./train.jsonl", "wt") as f_out:
25
+ for sentence in corpus.train:
26
+ current_example = {
27
+ "text": sentence.to_tokenized_string()
28
+ }
29
+ f_out.write(json.dumps(current_example) + "\n")
30
+ ```
31
+
32
+ The extracted dataset has 6,900 sentences.