elenanereiss commited on
Commit
4dfbe0d
1 Parent(s): 245ce3b

Update german-ler.py

Browse files
Files changed (1) hide show
  1. german-ler.py +1 -0
german-ler.py CHANGED
@@ -182,6 +182,7 @@ class German_LER(datasets.GeneratorBasedBuilder):
182
  elif fine_tag in ['ORG', 'UN', 'INN', 'GRT', 'MRK']: label = bio + '-ORG'
183
  elif fine_tag in ['GS', 'VO', 'EUN']: label = bio + '-NRM'
184
  elif fine_tag in ['VS', 'VT']: label = bio + '-REG'
 
185
  current_coarse_labels.append(label)
186
 
187
  else:
 
182
  elif fine_tag in ['ORG', 'UN', 'INN', 'GRT', 'MRK']: label = bio + '-ORG'
183
  elif fine_tag in ['GS', 'VO', 'EUN']: label = bio + '-NRM'
184
  elif fine_tag in ['VS', 'VT']: label = bio + '-REG'
185
+ else: continue
186
  current_coarse_labels.append(label)
187
 
188
  else: