Datasets:

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

docs: fix dataset creation example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -21,8 +21,8 @@ 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
  }
 
21
 
22
  corpus = NER_GERMAN_BIOFID()
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
  }