Closed yyh030806 closed 3 months ago
Hello, the README was out of date and has been updated. The corefs returned are in the form [mol bbox index, idt bbox index]
, so to get the identifier, one could do something like
coref_idx = data['corefs'][i][1]
print(data['bboxes'][coref_idx]['text'])
I get this output when using extract_molecule_corefs_from_figures: output:
How can I get the identifier like README and achieve the function in the paper? README:
paper:
Thanks.