system HF staff commited on
Commit
84d9949
1 Parent(s): 0a9cad9

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. lener_br.py +1 -1
lener_br.py CHANGED
@@ -138,7 +138,7 @@ class LenerBr(datasets.GeneratorBasedBuilder):
138
  ner_tags = []
139
 
140
  for line in f:
141
- if line.startswith("-DOCSTART-") or line == "" or line == "\n":
142
  if tokens:
143
  yield guid, {
144
  "id": str(guid),
 
138
  ner_tags = []
139
 
140
  for line in f:
141
+ if line == "" or line == "\n":
142
  if tokens:
143
  yield guid, {
144
  "id": str(guid),