Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K<n<10K
License:
Update ner.py
Browse files
ner.py
CHANGED
|
@@ -3,9 +3,9 @@ import datasets
|
|
| 3 |
logger = datasets.logging.get_logger(__name__)
|
| 4 |
|
| 5 |
_URL = "https://raw.githubusercontent.com/Kriyansparsana/demorepo/main/"
|
| 6 |
-
_TRAINING_FILE = "
|
| 7 |
-
_DEV_FILE = "
|
| 8 |
-
_TEST_FILE = "
|
| 9 |
|
| 10 |
class indian_namesConfig(datasets.BuilderConfig):
|
| 11 |
"""The WNUT 17 Emerging Entities Dataset."""
|
|
@@ -37,7 +37,6 @@ class indian_names(datasets.GeneratorBasedBuilder):
|
|
| 37 |
names=[
|
| 38 |
"O",
|
| 39 |
"B-corporation",
|
| 40 |
-
"I-corporation",
|
| 41 |
"B-person",
|
| 42 |
"I-person"
|
| 43 |
]
|
|
|
|
| 3 |
logger = datasets.logging.get_logger(__name__)
|
| 4 |
|
| 5 |
_URL = "https://raw.githubusercontent.com/Kriyansparsana/demorepo/main/"
|
| 6 |
+
_TRAINING_FILE = "indian_dataset.conll"
|
| 7 |
+
_DEV_FILE = "indian_dataset.conll"
|
| 8 |
+
_TEST_FILE = "indian_dataset.conll"
|
| 9 |
|
| 10 |
class indian_namesConfig(datasets.BuilderConfig):
|
| 11 |
"""The WNUT 17 Emerging Entities Dataset."""
|
|
|
|
| 37 |
names=[
|
| 38 |
"O",
|
| 39 |
"B-corporation",
|
|
|
|
| 40 |
"B-person",
|
| 41 |
"I-person"
|
| 42 |
]
|