Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K<n<10K
License:
Update indian_names.py
Browse files109 unmodified lines110111112113114115109 unmodified linestoken, label = row.split("\t")current_tokens.append(token)current_labels.append(label)else:# New sentenceif not current_tokens:109 unmodified lines110111112113114115116117118119109 unmodified linestoken, label = row.split("\t")current_tokens.append(token)current_labels.append(label)else:# Handle cases where the delimiter is missing# You can choose to skip these rows or handle them differentlylogger.warning(f"Delimiter missing in row: {row}")else:# New sentenceif not current_tokens:
indian_names.py+4