Update funsd-iob-original.py
Browse files- funsd-iob-original.py +1 -1
funsd-iob-original.py
CHANGED
@@ -119,7 +119,7 @@ class Funsd(datasets.GeneratorBasedBuilder):
|
|
119 |
words.append(words_example[0]["text"])
|
120 |
ner_tags.append("B-" + label.upper())
|
121 |
bboxes.append(words_example[0]["box"])
|
122 |
-
original_bboxes.append(words_example[0]["box"]
|
123 |
for w in words_example[1:]:
|
124 |
words.append(w["text"])
|
125 |
ner_tags.append("I-" + label.upper())
|
|
|
119 |
words.append(words_example[0]["text"])
|
120 |
ner_tags.append("B-" + label.upper())
|
121 |
bboxes.append(words_example[0]["box"])
|
122 |
+
original_bboxes.append(words_example[0]["box"])
|
123 |
for w in words_example[1:]:
|
124 |
words.append(w["text"])
|
125 |
ner_tags.append("I-" + label.upper())
|