Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
4507231
1 Parent(s): 1c78104

Update files from the datasets library (from 1.5.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.5.0

Files changed (1) hide show
  1. bc2gm_corpus.py +1 -1
bc2gm_corpus.py CHANGED
@@ -119,7 +119,7 @@ class Bc2gmCorpus(datasets.GeneratorBasedBuilder):
119
  tokens = []
120
  ner_tags = []
121
  for line in f:
122
- if line.startswith("-DOCSTART-") or line == "" or line == "\n":
123
  if tokens:
124
  yield guid, {
125
  "id": str(guid),
 
119
  tokens = []
120
  ner_tags = []
121
  for line in f:
122
+ if line == "" or line == "\n":
123
  if tokens:
124
  yield guid, {
125
  "id": str(guid),