Skip to content

Commit 768ce00

Browse files
committed
Add text fragmetn header to structure data
1 parent eb2f1bc commit 768ce00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sota_extractor2/data/structure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def create_evidence_records(textfrag, cell, table):
5858
yield {"text_sha1": text_sha1,
5959
"text_highlited": text_highlited,
6060
"text": text,
61+
"header": textfrag.header,
6162
"cell_type": cell.vals[1],
6263
"cell_content": fix_refs(cell.vals[0]),
6364
"this_paper": textfrag.paper_id == table.paper_id,

0 commit comments

Comments
 (0)