Datasets:

Languages:
English
License:
system HF staff commited on
Commit
1814cf0
1 Parent(s): 758a1c3

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. linnaeus.py +1 -1
linnaeus.py CHANGED
@@ -116,7 +116,7 @@ class Linnaeus(datasets.GeneratorBasedBuilder):
116
  tokens = []
117
  ner_tags = []
118
  for line in f:
119
- if line.startswith("-DOCSTART-") or line == "" or line == "\n":
120
  if tokens:
121
  yield guid, {
122
  "id": str(guid),
 
116
  tokens = []
117
  ner_tags = []
118
  for line in f:
119
+ if line == "" or line == "\n":
120
  if tokens:
121
  yield guid, {
122
  "id": str(guid),