Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K<n<10K
License:
Update ner.py
Browse files
ner.py
CHANGED
|
@@ -36,8 +36,10 @@ class indian_names(datasets.GeneratorBasedBuilder):
|
|
| 36 |
datasets.features.ClassLabel(
|
| 37 |
names=[
|
| 38 |
"O",
|
| 39 |
-
"
|
| 40 |
-
"
|
|
|
|
|
|
|
| 41 |
]
|
| 42 |
)
|
| 43 |
),
|
|
|
|
| 36 |
datasets.features.ClassLabel(
|
| 37 |
names=[
|
| 38 |
"O",
|
| 39 |
+
"B-corporation",
|
| 40 |
+
"I-corporation",
|
| 41 |
+
"B-person",
|
| 42 |
+
"I-person"
|
| 43 |
]
|
| 44 |
)
|
| 45 |
),
|