Datasets:

Languages:
Afrikaans
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
5e58e58
1 Parent(s): 7abdd8a

Update files from the datasets library (from 1.4.0)

Browse files

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

Files changed (1) hide show
  1. afrikaans_ner_corpus.py +4 -2
afrikaans_ner_corpus.py CHANGED
@@ -16,12 +16,14 @@
16
 
17
  from __future__ import absolute_import, division, print_function
18
 
19
- import logging
20
  import os
21
 
22
  import datasets
23
 
24
 
 
 
 
25
  _CITATION = """\
26
  @inproceedings{afrikaans_ner_corpus,
27
  author = { Gerhard van Huyssteen and
@@ -107,7 +109,7 @@ class AfrikaansNerCorpus(datasets.GeneratorBasedBuilder):
107
  ]
108
 
109
  def _generate_examples(self, filepath):
110
- logging.info("⏳ Generating examples from = %s", filepath)
111
  with open(filepath, encoding="utf-8") as f:
112
  guid = 0
113
  tokens = []
16
 
17
  from __future__ import absolute_import, division, print_function
18
 
 
19
  import os
20
 
21
  import datasets
22
 
23
 
24
+ logger = datasets.logging.get_logger(__name__)
25
+
26
+
27
  _CITATION = """\
28
  @inproceedings{afrikaans_ner_corpus,
29
  author = { Gerhard van Huyssteen and
109
  ]
110
 
111
  def _generate_examples(self, filepath):
112
+ logger.info("⏳ Generating examples from = %s", filepath)
113
  with open(filepath, encoding="utf-8") as f:
114
  guid = 0
115
  tokens = []