Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
10K<n<100K
License:
Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
- 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 |
-
|
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 = []
|