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

Update indian_names.py

Browse files
Files changed (1) hide show
  1. indian_names.py +1 -2
indian_names.py CHANGED
@@ -64,10 +64,9 @@ class indina_names(datasets.GeneratorBasedBuilder):
64
  row_values = row.split("\t")
65
  if len(row_values) == 2:
66
  token, label = row_values
67
- else if:
68
  current_tokens.append(token)
69
  current_labels.append(label)
70
- else:
71
  # New sentence
72
  if not current_tokens:
73
  # Consecutive empty lines will cause empty sentences
 
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
71
  if not current_tokens:
72
  # Consecutive empty lines will cause empty sentences