PDFMathTranslate

Active
GitHub Python AGPL-3.0

Description

AI-powered PDF scientific paper translation with preserved formats, supporting Google/DeepL/Ollama/OpenAI services via CLI/GUI/MCP/Docker/Zotero.

Key Features

  • Layout-preserving translation — Translates PDF papers while preserving formulas, charts, TOC and annotations in original layout
  • Multiple translation engines — Supports Google Translate, DeepL, Ollama, OpenAI, MiniMax and more
  • Multiple interfaces — CLI command line, Gradio GUI, Docker container, Zotero plugin and other access methods
  • Bilingual parallel output — Generates side-by-side bilingual version with original and translated text
  • v2.0 precise mode — Experimental v2.0 translation kernel with isolated environment for more accurate translation

Use Cases

💡 Academic paper reading — Translate English papers to Chinese with preserved formulas and figures for easier comprehension
💡 Literature review preparation — Batch translate papers with bilingual output for annotation and citation
💡 Technical documentation localization — Translate technical docs while keeping original formatting intact
💡 Zotero literature management — Translate PDF papers directly within Zotero via the plugin integration

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (36.6k stars)
  • Responsive to issues, low backlog

⚠️ Limitations

  • Restrictive license (AGPL-3.0)

Categories

Quick Start

pip install pdf2zh
pdf2zh document.pdf

Related Projects

Docstrange

1.5k · Python
Stale B

Extract and convert data from any document (PDFs, images, Word, PPT, URLs) into multiple formats including Markdown, JSON, and CSV.

pythonragtools +2
  • · Multi-format conversion — transforms PDF, DOCX, PPTX, XLSX, images, and URLs into Markdown, JSON, CSV, and HTML
  • · 7B parameter model — upgraded core model for significantly higher accuracy and deeper document understanding
  • · Advanced OCR pipeline — extracts text from scanned documents, phone photos, and receipts with high accuracy

SAG

2.5k · Python
Active A

SQL-Driven RAG Engine that automatically builds knowledge graphs during querying, combining SQL query capabilities with Retrieval-Augmented Generation for efficient knowledge retrieval.

pythonragtools +2
  • · SQL-driven RAG engine that automatically builds knowledge graphs at query time instead of pre-maintaining them
  • · Three-stage smart search: entity recall → multi-hop expansion → intelligent ranking (PageRank)
  • · Semantic atomic event extraction — automatically decomposes documents into structured events and multi-dimensional entities

LangExtract

38.5k · Python
Active A+

A Python library by Google for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization, designed for data annotation and knowledge extraction workflows.

data-processingllmpython +2
  • · Precise source grounding — Every extraction maps to exact source text location with visual highlighting for traceability and verification
  • · Controlled structured outputs — Few-shot example enforced output schema, leveraging Gemini controlled generation for robust results
  • · Long document optimization — Text chunking, parallel processing, and multi-pass strategy to overcome needle-in-a-haystack challenges