@noedgeai-org/doc2x-cli 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cli.cjs +3316 -2836
- package/package.json +23 -18
package/README.md
CHANGED
|
@@ -35,11 +35,13 @@ The CLI supports two auth modes:
|
|
|
35
35
|
doc2x parse ./paper.pdf --to md
|
|
36
36
|
doc2x parse ./paper.pdf --to docx --docx-template academic
|
|
37
37
|
doc2x translate ./paper.pdf --target-language en --to html
|
|
38
|
+
doc2x translate ./paper.pdf --target-model Free
|
|
38
39
|
doc2x translate ./paper.pdf --translate-type pdf --pdf-font-strategy page-optimal
|
|
39
40
|
doc2x batch parse ./docs --glob "**/*.pdf"
|
|
40
41
|
```
|
|
41
42
|
|
|
42
43
|
## Notable Options
|
|
43
44
|
|
|
45
|
+
- `--target-model <model>`: Translation LLM model ID/name. Defaults to the shared free aggregate model `Free` (`10001`) when the backend advertises it in `doc2x models list`; pass another listed ID/name to override.
|
|
44
46
|
- `--docx-template <template>`: Word template for V3 docx export. Values: `default`, `general`, `academic`, `business`, `elegant`, `minimal`, `technical`.
|
|
45
47
|
- `--pdf-font-strategy <strategy>`: PDF font strategy for fixed-layout translation (`--translate-type pdf`). Values: `global-consistent`, `page-optimal`.
|