Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Size:
< 1K
License:
Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
- euronews.py +4 -3
euronews.py
CHANGED
@@ -16,11 +16,12 @@
|
|
16 |
# Lint as: python3
|
17 |
"""Named Entity Recognition corpora for Dutch, French, German from Europeana Newspapers."""
|
18 |
|
19 |
-
import logging
|
20 |
-
|
21 |
import datasets
|
22 |
|
23 |
|
|
|
|
|
|
|
24 |
_CITATION = """\
|
25 |
@InProceedings{NEUDECKER16.110,
|
26 |
author = {Clemens Neudecker},
|
@@ -126,7 +127,7 @@ class Euronews(datasets.GeneratorBasedBuilder):
|
|
126 |
]
|
127 |
|
128 |
def _generate_examples(self, filepath):
|
129 |
-
|
130 |
with open(filepath, encoding="utf-8") as f:
|
131 |
guid = 0
|
132 |
tokens = []
|
|
|
16 |
# Lint as: python3
|
17 |
"""Named Entity Recognition corpora for Dutch, French, German from Europeana Newspapers."""
|
18 |
|
|
|
|
|
19 |
import datasets
|
20 |
|
21 |
|
22 |
+
logger = datasets.logging.get_logger(__name__)
|
23 |
+
|
24 |
+
|
25 |
_CITATION = """\
|
26 |
@InProceedings{NEUDECKER16.110,
|
27 |
author = {Clemens Neudecker},
|
|
|
127 |
]
|
128 |
|
129 |
def _generate_examples(self, filepath):
|
130 |
+
logger.info("⏳ Generating examples from = %s", filepath)
|
131 |
with open(filepath, encoding="utf-8") as f:
|
132 |
guid = 0
|
133 |
tokens = []
|