Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
Turkish
Size:
100K<n<1M
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
- turkish_ner.py +4 -2
turkish_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 |
# TODO: Add BibTeX citation
|
26 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
27 |
_CITATION = """\
|
@@ -152,7 +154,7 @@ class TurkishNER(datasets.GeneratorBasedBuilder):
|
|
152 |
|
153 |
def _generate_examples(self, filepath, split):
|
154 |
""" Yields examples. """
|
155 |
-
|
156 |
|
157 |
with open(filepath, encoding="utf-8") as f:
|
158 |
id_ = -1
|
|
|
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 |
# TODO: Add BibTeX citation
|
28 |
# Find for instance the citation on arxiv or on the dataset repo/website
|
29 |
_CITATION = """\
|
|
|
154 |
|
155 |
def _generate_examples(self, filepath, split):
|
156 |
""" Yields examples. """
|
157 |
+
logger.info("⏳ Generating examples from = %s", filepath)
|
158 |
|
159 |
with open(filepath, encoding="utf-8") as f:
|
160 |
id_ = -1
|