Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
Romanian
Size:
10K - 100K
ArXiv:
License:
Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
ronec.py
CHANGED
@@ -16,11 +16,12 @@
|
|
16 |
|
17 |
from __future__ import absolute_import, division, print_function
|
18 |
|
19 |
-
import logging
|
20 |
-
|
21 |
import datasets
|
22 |
|
23 |
|
|
|
|
|
|
|
24 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
25 |
_CITATION = """\
|
26 |
@article{dumitrescu2019introducing,
|
@@ -157,7 +158,7 @@ class RONEC(datasets.GeneratorBasedBuilder):
|
|
157 |
def _generate_examples(self, filepath):
|
158 |
""" Yields examples. """
|
159 |
|
160 |
-
|
161 |
with open(filepath, encoding="utf-8") as f:
|
162 |
guid = 0
|
163 |
tokens = []
|
|
|
16 |
|
17 |
from __future__ import absolute_import, division, print_function
|
18 |
|
|
|
|
|
19 |
import datasets
|
20 |
|
21 |
|
22 |
+
logger = datasets.logging.get_logger(__name__)
|
23 |
+
|
24 |
+
|
25 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
26 |
_CITATION = """\
|
27 |
@article{dumitrescu2019introducing,
|
|
|
158 |
def _generate_examples(self, filepath):
|
159 |
""" Yields examples. """
|
160 |
|
161 |
+
logger.info("⏳ Generating examples from = %s", filepath)
|
162 |
with open(filepath, encoding="utf-8") as f:
|
163 |
guid = 0
|
164 |
tokens = []
|