Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
63b3cfeb
Commit
63b3cfeb
authored
Jul 17, 2024
by
myhloli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(cli_help): update Chinese PDF path description
parent
95e7e3a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
magicpdf.py
magic_pdf/cli/magicpdf.py
+2
-1
No files found.
magic_pdf/cli/magicpdf.py
View file @
63b3cfeb
...
@@ -85,6 +85,7 @@ def do_parse(
...
@@ -85,6 +85,7 @@ def do_parse(
f_dump_content_list
=
True
,
f_dump_content_list
=
True
,
f_make_md_mode
=
MakeMode
.
MM_MD
,
f_make_md_mode
=
MakeMode
.
MM_MD
,
):
):
orig_model_list
=
copy
.
deepcopy
(
model_list
)
orig_model_list
=
copy
.
deepcopy
(
model_list
)
local_image_dir
,
local_md_dir
=
prepare_env
(
pdf_file_name
,
parse_method
)
local_image_dir
,
local_md_dir
=
prepare_env
(
pdf_file_name
,
parse_method
)
...
@@ -280,7 +281,7 @@ def local_json_command(local_json, method, inside_model, model_mode):
...
@@ -280,7 +281,7 @@ def local_json_command(local_json, method, inside_model, model_mode):
@
cli
.
command
()
@
cli
.
command
()
@
click
.
option
(
@
click
.
option
(
"--pdf"
,
type
=
click
.
Path
(
exists
=
True
),
required
=
True
,
"--pdf"
,
type
=
click
.
Path
(
exists
=
True
),
required
=
True
,
help
=
'pdf
file path, support local/list, list file need end with ".list"
'
)
help
=
'pdf
文件路径, 支持单个文件或文件列表, 文件列表需要以".list"结尾, 一行一个pdf文件路径
'
)
@
click
.
option
(
"--model"
,
type
=
click
.
Path
(
exists
=
True
),
help
=
"模型的路径"
)
@
click
.
option
(
"--model"
,
type
=
click
.
Path
(
exists
=
True
),
help
=
"模型的路径"
)
@
click
.
option
(
@
click
.
option
(
"--method"
,
"--method"
,
...
...
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