Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
Turkish
Size:
100K<n<1M
License:
Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
- turkish_shrinked_ner.py +4 -2
turkish_shrinked_ner.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 |
"""
|
27 |
|
@@ -198,7 +200,7 @@ class TurkishShrinkedNER(datasets.GeneratorBasedBuilder):
|
|
198 |
|
199 |
def _generate_examples(self, filepath, split):
|
200 |
""" Yields examples. """
|
201 |
-
|
202 |
|
203 |
with open(filepath, encoding="utf-8") as f:
|
204 |
id_ = 0
|
|
|
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 |
"""
|
29 |
|
|
|
200 |
|
201 |
def _generate_examples(self, filepath, split):
|
202 |
""" Yields examples. """
|
203 |
+
logger.info("⏳ Generating examples from = %s", filepath)
|
204 |
|
205 |
with open(filepath, encoding="utf-8") as f:
|
206 |
id_ = 0
|