Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
German
Size:
n<1K
License:
Deprecate dataset
#3
by
albertvillanova
HF staff
- opened
- README.md +3 -1
- german_legal_entity_recognition.py +5 -0
README.md
CHANGED
@@ -57,7 +57,9 @@ pretty_name: Legal Documents Entity Recognition
|
|
57 |
|
58 |
### Dataset Summary
|
59 |
|
60 |
-
|
|
|
|
|
61 |
|
62 |
### Supported Tasks and Leaderboards
|
63 |
|
|
|
57 |
|
58 |
### Dataset Summary
|
59 |
|
60 |
+
<div class="course-tip course-tip-orange bg-gradient-to-br dark:bg-gradient-to-r before:border-orange-500 dark:before:border-orange-800 from-orange-50 dark:from-gray-900 to-white dark:to-gray-950 border border-orange-50 text-orange-700 dark:text-gray-400">
|
61 |
+
<p><b>Deprecated:</b> Dataset "german_legal_entity_recognition" is deprecated and will be deleted. Use <a href="https://huggingface.co/datasets/elenanereiss/german-ler">"elenanereiss/german-ler"</a> instead.</p>
|
62 |
+
</div>
|
63 |
|
64 |
### Supported Tasks and Leaderboards
|
65 |
|
german_legal_entity_recognition.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
|
3 |
import datasets
|
4 |
|
@@ -53,6 +54,10 @@ class GermanLegalEntityRecognition(datasets.GeneratorBasedBuilder):
|
|
53 |
DEFAULT_CONFIG_NAME = _ALL
|
54 |
|
55 |
def _info(self):
|
|
|
|
|
|
|
|
|
56 |
return datasets.DatasetInfo(
|
57 |
description=_DESCRIPTION,
|
58 |
features=datasets.Features(
|
|
|
1 |
import os
|
2 |
+
import warnings
|
3 |
|
4 |
import datasets
|
5 |
|
|
|
54 |
DEFAULT_CONFIG_NAME = _ALL
|
55 |
|
56 |
def _info(self):
|
57 |
+
warnings.warn(
|
58 |
+
"Dataset 'german_legal_entity_recognition' is deprecated and will be deleted. Use 'elenanereiss/german-ler' instead.",
|
59 |
+
FutureWarning,
|
60 |
+
)
|
61 |
return datasets.DatasetInfo(
|
62 |
description=_DESCRIPTION,
|
63 |
features=datasets.Features(
|