Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
Polish
Size:
10K - 100K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- nkjp-ner.py +1 -1
nkjp-ner.py
CHANGED
@@ -95,7 +95,7 @@ class NkjpNer(datasets.GeneratorBasedBuilder):
|
|
95 |
]
|
96 |
|
97 |
def _generate_examples(self, filepath, split):
|
98 |
-
"""
|
99 |
with open(filepath, encoding="utf-8") as f:
|
100 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
101 |
for id_, row in enumerate(reader):
|
|
|
95 |
]
|
96 |
|
97 |
def _generate_examples(self, filepath, split):
|
98 |
+
"""Yields examples."""
|
99 |
with open(filepath, encoding="utf-8") as f:
|
100 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
101 |
for id_, row in enumerate(reader):
|