Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
359110e3
Commit
359110e3
authored
Jun 30, 2025
by
myhloli
Browse files
feat: add support for additional language options in OCR processing
parent
51fec09d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mineru/cli/client.py
mineru/cli/client.py
+2
-1
No files found.
mineru/cli/client.py
View file @
359110e3
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment