Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K<n<10K
License:
Update indian_names.py
Browse files- indian_names.py +0 -3
indian_names.py
CHANGED
@@ -62,9 +62,6 @@ class indina_names(datasets.GeneratorBasedBuilder):
|
|
62 |
if row:
|
63 |
token, label = row.split("\t")
|
64 |
row_values = row.split("\t")
|
65 |
-
if len(row_values) == 2:
|
66 |
-
token, label = row_values
|
67 |
-
else:
|
68 |
current_tokens.append(token)
|
69 |
current_labels.append(label)
|
70 |
# New sentence
|
|
|
62 |
if row:
|
63 |
token, label = row.split("\t")
|
64 |
row_values = row.split("\t")
|
|
|
|
|
|
|
65 |
current_tokens.append(token)
|
66 |
current_labels.append(label)
|
67 |
# New sentence
|