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