system HF staff commited on
Commit
77971e1
1 Parent(s): 41e3cdf

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. euronews.py +4 -3
euronews.py CHANGED
@@ -16,11 +16,12 @@
16
  # Lint as: python3
17
  """Named Entity Recognition corpora for Dutch, French, German from Europeana Newspapers."""
18
 
19
- import logging
20
-
21
  import datasets
22
 
23
 
 
 
 
24
  _CITATION = """\
25
  @InProceedings{NEUDECKER16.110,
26
  author = {Clemens Neudecker},
@@ -126,7 +127,7 @@ class Euronews(datasets.GeneratorBasedBuilder):
126
  ]
127
 
128
  def _generate_examples(self, filepath):
129
- logging.info("⏳ Generating examples from = %s", filepath)
130
  with open(filepath, encoding="utf-8") as f:
131
  guid = 0
132
  tokens = []
 
16
  # Lint as: python3
17
  """Named Entity Recognition corpora for Dutch, French, German from Europeana Newspapers."""
18
 
 
 
19
  import datasets
20
 
21
 
22
+ logger = datasets.logging.get_logger(__name__)
23
+
24
+
25
  _CITATION = """\
26
  @InProceedings{NEUDECKER16.110,
27
  author = {Clemens Neudecker},
 
127
  ]
128
 
129
  def _generate_examples(self, filepath):
130
+ logger.info("⏳ Generating examples from = %s", filepath)
131
  with open(filepath, encoding="utf-8") as f:
132
  guid = 0
133
  tokens = []