Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
Indonesian
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
- id_nergrit_corpus.py +4 -2
id_nergrit_corpus.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 |
@inproceedings{id_nergrit_corpus,
|
27 |
author = {Gria Inovasi Teknologi},
|
@@ -211,7 +213,7 @@ class IdNergritCorpus(datasets.GeneratorBasedBuilder):
|
|
211 |
]
|
212 |
|
213 |
def _generate_examples(self, filepath, split):
|
214 |
-
|
215 |
with open(filepath, encoding="utf-8") as f:
|
216 |
guid = 0
|
217 |
tokens = []
|
|
|
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 |
@inproceedings{id_nergrit_corpus,
|
29 |
author = {Gria Inovasi Teknologi},
|
|
|
213 |
]
|
214 |
|
215 |
def _generate_examples(self, filepath, split):
|
216 |
+
logger.info("⏳ Generating %s examples from = %s", split, filepath)
|
217 |
with open(filepath, encoding="utf-8") as f:
|
218 |
guid = 0
|
219 |
tokens = []
|