Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
named-entity-recognition
Languages:
German
Size:
10K<n<100K
ArXiv:
DOI:
License:
Commit
•
4dfbe0d
1
Parent(s):
245ce3b
Update german-ler.py
Browse files- 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:
|