Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: add support for additional language options in OCR processing
myhloli359110e37df0
diff --git a/mineru/cli/client.py b/mineru/cli/client.pyindex b2b2101f..fda9e455 100644--- a/mineru/cli/client.py+++ b/mineru/cli/client.py@@ -60,7 +60,8 @@ from .common import do_parse, read_fn, pdf_suffixes, image_suffixes'-l','--lang','lang',- type=click.Choice(['ch', 'ch_server', 'ch_lite', 'en', 'korean', 'japan', 'chinese_cht', 'ta', 'te', 'ka']),+ type=click.Choice(['ch', 'ch_server', 'ch_lite', 'en', 'korean', 'japan', 'chinese_cht', 'ta', 'te', 'ka',+ 'latin', 'arabic', 'east_slavic', 'cyrillic', 'devanagari']),help="""Input the languages in the pdf (if known) to improve OCR accuracy. Optional.Without languages specified, 'ch' will be used by default.