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