Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
758a1c3
1 Parent(s): 5d39792

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. linnaeus.py +4 -2
linnaeus.py CHANGED
@@ -16,12 +16,14 @@
16
  # Lint as: python3
17
  """LINNAEUS: A species name identification system for biomedical literature"""
18
 
19
- import logging
20
  import os
21
 
22
  import datasets
23
 
24
 
 
 
 
25
  _CITATION = """\
26
  @article{gerner2010linnaeus,
27
  title={LINNAEUS: a species name identification system for biomedical literature},
@@ -108,7 +110,7 @@ class Linnaeus(datasets.GeneratorBasedBuilder):
108
  ]
109
 
110
  def _generate_examples(self, filepath):
111
- logging.info("⏳ Generating examples from = %s", filepath)
112
  with open(filepath, encoding="utf-8") as f:
113
  guid = 0
114
  tokens = []
 
16
  # Lint as: python3
17
  """LINNAEUS: A species name identification system for biomedical literature"""
18
 
 
19
  import os
20
 
21
  import datasets
22
 
23
 
24
+ logger = datasets.logging.get_logger(__name__)
25
+
26
+
27
  _CITATION = """\
28
  @article{gerner2010linnaeus,
29
  title={LINNAEUS: a species name identification system for biomedical literature},
 
110
  ]
111
 
112
  def _generate_examples(self, filepath):
113
+ logger.info("⏳ Generating examples from = %s", filepath)
114
  with open(filepath, encoding="utf-8") as f:
115
  guid = 0
116
  tokens = []