Datasets:

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

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
+ - 10K<n<100K
7
+ ---
8
+
9
+ # BIOfid: Tokenized Sentences
10
+
11
+ This datasets hosts a sentence-tokenized version of the [BIOfid](https://github.com/texttechnologylab/BIOfid/tree/master/BIOfid-Dataset-NER) 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_BIOFID
21
+
22
+ corpus = NER_GERMAN_BIOFID()
23
+
24
+ with open("./germeval14/train.jsonl", "wt") as f_out:
25
+ for sentence in germeval_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 12,668 sentences.