mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
fix: restore post-boundary body text markers, add curly quote publisher note
This commit is contained in:
parent
bcde1b0861
commit
4d5180ee61
2 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue