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

Function parse_paper_for_coldstart

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

为冷启动解析论文

(pdf_path: str)

Source from the content-addressed store, hash-verified

644
645
646def parse_paper_for_coldstart(pdf_path: str) -> Dict:
647 """为冷启动解析论文"""
648 result = parse_pdf(pdf_path)
649
650 return {
651 "research_directions": result["inferred_directions"],
652 "methodology_preferences": result["methodology_preferences"],
653 "inferred_topics": result.get("inferred_topics", []),
654 "title": result["title"],
655 "authors": result["authors"],
656 "abstract": result["abstract"],
657 "full_text": result["full_text"],
658 }
659
660
661def emit_json(data: Dict[str, Any]) -> None:

Callers 3

parse_pdf.pyFile · 0.85
cold_startFunction · 0.85

Calls 2

parse_pdfFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected