Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Nice to have] Predict headings that are styled as paragraphs #74

Open
pcraig3 opened this issue Dec 2, 2024 · 1 comment
Open

[Nice to have] Predict headings that are styled as paragraphs #74

pcraig3 opened this issue Dec 2, 2024 · 1 comment

Comments

@pcraig3
Copy link
Collaborator

pcraig3 commented Dec 2, 2024

Some text in the documents is styled as a heading, but it's really just a paragraph with a larger font size and a colour. (that is to say, it's a styled paragraph, not tagged as a heading). See image for example of this.

If there were a way to predict these in advance, we could flag them for users.

One idea is to look for short lines with no ending punctuation.

Image

@pcraig3
Copy link
Collaborator Author

pcraig3 commented Dec 19, 2024

@admoorgit, is there anything to do here?

After running that export of all titles in the NOFO builder, I am much less confident about this idea since we have a fair number of headings that are fairly long (over 100 chars) and end with a sentence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant