Skip to content

Section Heading Error #30

@zyang19

Description

@zyang19

Hi,

I am using the following code to extract the section headers/headings from a scientific paper.

for span in document.spans['layout']:
   print(span._.heading)

It works on some headers, but most of time it will provide the incorrect headers. For example, it assumed the footnote as the header due to text formatting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions