explosion / explosion/spacy-layout

Section Heading Error

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
911
Forks
64
PR merge metrics
No merged PRs in 30d

Description

Hi,

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

```python
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.