Review Chinese contracts for risky clauses. Supports labor, lease, purchase, NDA, service agreements and more.
Extract text — read PDF/DOCX (python-docx / pdftotext / OCR fallback).
Identify type — classify contract type via keyword matching + AI:
Load rule sets — load 20+ built-in Chinese contract risk rule sets keyed by contract type.
Scan clauses — check each clause against rules:
Risk label — assign severity per finding: 🔴 High / 🟡 Medium / 🟢 Low.
Explain — for each 🔴 finding, output:
Summarize — contract summary: parties, amounts, term, key dates, special conditions.
Report — structured report (JSON or Markdown) with summary, risk table, and recommendations.
text
contract-review review --input 租赁合同.pdf
contract-review review --input 劳动合同.docx --type labor
contract-review review --input nda.pdf --type nda --severity-only high
contract-review batch ./contracts/*.pdf
contract-review rules --type labor # list available rules