Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
1K<n<10K
License:
Update indian_names.py
Browse files64 unmodified lines6566676869707172736869707172737464 unmodified lines sentence_counter = 0 for row in f: row = row.rstrip() if row: parts = row.split("\t") if len(parts) >= 2: token, label = parts[:2] # Take the first two parts current_tokens.append(token) current_labels.append(label) if row: token, label = row.split("\t") current_tokens.append(token) current_labels.append(label) else: # New sentence if not current_tokens:indian_names.py+4-6