Upload erukaLabels.py
Browse files- erukaLabels.py +1 -1
erukaLabels.py
CHANGED
|
@@ -141,7 +141,7 @@ class Funsd(datasets.GeneratorBasedBuilder):
|
|
| 141 |
continue
|
| 142 |
tokens.append(words[0])
|
| 143 |
print(words, label)
|
| 144 |
-
print(
|
| 145 |
if isinstance(label, float):
|
| 146 |
ner_tags.append("O")
|
| 147 |
else:
|
|
|
|
| 141 |
continue
|
| 142 |
tokens.append(words[0])
|
| 143 |
print(words, label)
|
| 144 |
+
print(item)
|
| 145 |
if isinstance(label, float):
|
| 146 |
ner_tags.append("O")
|
| 147 |
else:
|