Kriyans commited on
Commit
ab51f4a
1 Parent(s): 91a8d2a

Update indian_names.py

Browse files
Files changed (1) hide show
  1. 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