MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / is_section_heading

Function is_section_heading

skills/pdf-parser/scripts/parse_pdf.py:357–359  ·  view source on GitHub ↗

Return True when a line looks like a section title rather than content.

(line: str)

Source from the content-addressed store, hash-verified

355
356
357def is_section_heading(line: str) -> bool:
358 """Return True when a line looks like a section title rather than content."""
359 return _normalize_heading_line(line) in SECTION_TITLES
360
361
362def split_author_names(line: str) -> List[str]:

Callers 2

split_author_namesFunction · 0.85

Calls 1

_normalize_heading_lineFunction · 0.85

Tested by

no test coverage detected