Views
No views yet
cn-financial-report-inspector is a research project for inspecting Chinese listed-company annual reports. The long-term direction is an Adaptive RAG / Agent system, but this stage intentionally focuses only on the PDF processing module.data/raw_pdfs/pip install -e .python scripts/parse_pdfs.pytext_based.1data/
2 manifests/
3 <report_id>.json
4 parsed_reports/
5 <report_id>/
6 report.md
7 pages.jsonl
8 metadata.json
9 tables/
10 table_001.csv
11 table_001.json1{
2 "report_id": "...",
3 "source_pdf": "...",
4 "pdf_type": "text_based",
5 "page_count": 0,
6 "text_pages": 0,
7 "avg_text_chars_per_page": 0,
8 "should_parse": true,
9 "notes": []
10}{"page": 1, "text": "...", "char_count": 1234}1{
2 "report_id": "...",
3 "source_pdf": "...",
4 "pdf_type": "text_based",
5 "page_count": 0,
6 "markdown_path": "report.md",
7 "pages_jsonl_path": "pages.jsonl",
8 "tables_count": 0,
9 "tables_dir": "tables",
10 "parse_warnings": []
11}text_basedmixedscanned_or_image_basedparse_failedtext_based PDFs are fully parsed.page.find_tables() on a best-effort basis.