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

Function _clean_abstract_text

agents/reading-agent/main.py:635–638  ·  view source on GitHub ↗
(text: Any)

Source from the content-addressed store, hash-verified

633
634
635def _clean_abstract_text(text: Any) -> str:
636 normalized = _strip_html_markup(text)
637 normalized = FEED_METADATA_PREFIX_RE.sub("", normalized).strip(" \n\t;,:-")
638 return _clean_text(normalized)
639
640
641def _clean_pdf_evidence_text(text: Any) -> str:

Callers 6

_normalize_paperFunction · 0.70
_merge_paper_detailsFunction · 0.70
generate_reading_reportFunction · 0.70

Calls 2

_strip_html_markupFunction · 0.85
_clean_textFunction · 0.70

Tested by

no test coverage detected