Datasets:

Task Categories: token-classification
Multilinguality: monolingual
Size Categories: 1K<n<10K
Language Creators: found
Annotations Creators: expert-generated
Source Datasets: original
Licenses: other
system
HF staff
commited on
Commit
fdac499
1 Parent(s): d23f630

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. sesotho_ner_corpus.py +4 -2
sesotho_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{sesotho_ner_corpus,
27
  author = {M. Setaka and
@@ -114,7 +116,7 @@ class SesothoNerCorpus(datasets.GeneratorBasedBuilder):
114
  ]
115
 
116
  def _generate_examples(self, filepath):
117
- logging.info("⏳ Generating examples from = %s", filepath)
118
  with open(filepath, encoding="utf-8") as f:
119
  guid = 0
120
  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{sesotho_ner_corpus,
29
  author = {M. Setaka and
116
  ]
117
 
118
  def _generate_examples(self, filepath):
119
+ logger.info("⏳ Generating examples from = %s", filepath)
120
  with open(filepath, encoding="utf-8") as f:
121
  guid = 0
122
  tokens = []