Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
10K - 100K
License:
Remove 'O-MATE', 'O-MANP', etc.
#1
by
tomaarsen
HF Staff
- opened
fabner.py
CHANGED
|
@@ -84,7 +84,7 @@ def map_fabner_labels(string_tag):
|
|
| 84 |
class FabNER(datasets.GeneratorBasedBuilder):
|
| 85 |
"""FabNER is a manufacturing text corpus of 350,000+ words for Named Entity Recognition."""
|
| 86 |
|
| 87 |
-
VERSION = datasets.Version("1.
|
| 88 |
|
| 89 |
# This is an example of a dataset with multiple configurations.
|
| 90 |
# If you don't want/need to define several sub-sets in your dataset,
|
|
@@ -133,7 +133,6 @@ class FabNER(datasets.GeneratorBasedBuilder):
|
|
| 133 |
[
|
| 134 |
"B-" + entity_type,
|
| 135 |
"I-" + entity_type,
|
| 136 |
-
"O-" + entity_type,
|
| 137 |
"E-" + entity_type,
|
| 138 |
"S-" + entity_type,
|
| 139 |
]
|
|
|
|
| 84 |
class FabNER(datasets.GeneratorBasedBuilder):
|
| 85 |
"""FabNER is a manufacturing text corpus of 350,000+ words for Named Entity Recognition."""
|
| 86 |
|
| 87 |
+
VERSION = datasets.Version("1.2.0")
|
| 88 |
|
| 89 |
# This is an example of a dataset with multiple configurations.
|
| 90 |
# If you don't want/need to define several sub-sets in your dataset,
|
|
|
|
| 133 |
[
|
| 134 |
"B-" + entity_type,
|
| 135 |
"I-" + entity_type,
|
|
|
|
| 136 |
"E-" + entity_type,
|
| 137 |
"S-" + entity_type,
|
| 138 |
]
|