fix: restore post-boundary body text markers, add curly quote publisher note

This commit is contained in:
Research Assistant 2026-06-19 14:57:10 +08:00
parent bcde1b0861
commit 4d5180ee61
2 changed files with 8 additions and 0 deletions

View file

@ -2773,6 +2773,12 @@ def _looks_like_backmatter_body_text(text: str) -> bool:
"conflict of interest",
"declaration",
"publisher",
"author contributions",
"funding",
"acknowledg",
"data availability",
"supplement",
"ethics",
"copyright",
)
return any(marker in lower for marker in markers)

View file

@ -35,6 +35,7 @@ _BACKMATTER_TITLE_DENY_LIST: set[str] = set()
_BACKMATTER_HEADINGS = {
"publisher's note",
"publisher\u2019s note",
}
_PAGE1_ARTICLE_TYPE_LABELS = frozenset(
@ -557,6 +558,7 @@ def resolve_final_role(
phrase in text_lower
for phrase in (
"conflict of interest",
"publisher's note",
"publisher\u2019s note",
"the remaining authors declare",
"copyright",