Datasets:

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

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