← Về thư mục
skills/paper-lookup/scripts/jats_to_text.py
- parse · function · L69-L73 — def parse(xml_text: str) -> ET.Element
- find_article · function · L76-L86 — def find_article(root: ET.Element) -> ET.Element
- comments_in · function · L89-L96 — def comments_in(xml_text: str) -> list[str]
- element_text · function · L99-L122 — def element_text(element: ET.Element) -> str
- walk · function · L103-L119 — def walk(node: ET.Element) -> None
- section_title · function · L125-L127 — def section_title(section: ET.Element) -> str
- collect_sections · function · L130-L148 — def collect_sections(body: ET.Element) -> list[dict[str, Any]]
- extract_metadata · function · L158-L206 — def extract_metadata(article: ET.Element) -> dict[str, Any]
- build_parser · function · L209-L240 — def build_parser() -> argparse.ArgumentParser
- matches · function · L243-L245 — def matches(section: dict[str, Any], wanted: list[str]) -> bool
- main · function · L248-L320 — def main(argv: list[str] | None = None) -> int