{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/3"}],"enrichment":{"capability":"BabelDOC translates PDF documents between languages, primarily English to Chinese, producing bilingual comparison PDFs with original and translated pages.","skillfed_tags":["pdf-translation","multilingual","document-processing"],"use_cases":["Translate a batch of research papers from English to Chinese for reading alongside the original.","Embed PDF translation into a reference management tool like Zotero via the Python API.","Self-host a document translation service with custom translation backends using the library's modular design.","Extract and translate text from scanned PDFs using OCR workaround modes for documents with poor text layers.","Generate dual-language PDFs for academic collaboration where both original and translated versions are needed."],"what_it_does":"BabelDOC is a PDF translation and bilingual comparison library designed primarily to translate scientific papers from English to Chinese while preserving layout and formatting. It can produce side-by-side or alternating-page dual PDFs showing original and translated text. The package is built on a large stack of ML and computer vision dependencies (onnxruntime, opencv, scikit-learn, etc.) to handle PDF parsing, text extraction, layout analysis, and rendering. It exposes both a command-line interface for simple translation tasks and a Python API for embedding into other programs.\n\nThe package is actively maintained and young (first release February 2025), with an AGPL-3.0 license that requires source disclosure for any modifications. It integrates with external translation services (primarily OpenAI's API) and supports multiple language pairs, though English-to-Chinese is the primary focus and other directions are noted as untested. The 33 runtime dependencies mean a substantial first install, but the wheel distribution keeps setup friction low.","worth_installing":"Yes, if you need to translate PDFs and can accept the AGPL-3.0 license terms and the large dependency footprint. The package is actively maintained, has no known vulnerabilities, and offers both CLI and library modes. No, if you require a permissive license, need production-ready support for non-English-to-Chinese pairs, or want to avoid the 33-dependency install. Yes-with-conditions if you plan to embed it: verify that the Python API is stable for your use case, as the CLI is noted as primarily for debugging."},"id":"babeldoc","links":{"html":"https://skillfed.io/packages/babeldoc","md":"https://skillfed.io/packages/babeldoc.md","pypi":"https://pypi.org/project/babeldoc/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-16","license_spdx":"AGPL-3.0","license_treatment":"agpl","name":"BabelDOC","python_support":"supports_current","summary":"Yet Another Document Translator"},"popularity":{"monthly_downloads":74296,"position":14852,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.4"}
