lllin000_PaperForge/command/lp-ocr.md
Research Assistant 51d35d6999 feat(01-04): replace unresolved path-token commands with stable paperforge commands
- command/lp-*.md: replace python <system_dir>/... with paperforge status|selection-sync|index-refresh|ocr run; add fallback legacy command section
- command/ld-deep.md: update queue preflight to 'paperforge deep-reading'; add paperforge paths --json for variable resolution
- README.md: update core commands section to show paperforge first, legacy as fallback
- docs/INSTALLATION.md: add paperforge paths/status as primary verification
- docs/setup-guide.md: replace python pipeline/worker/... with paperforge selection-sync/index-refresh
- setup_wizard.py DoneStep: add pip install -e . and paperforge commands as primary next steps

All 15 tests in tests/test_command_docs.py pass.
2026-04-23 11:40:24 +08:00

415 B

/lp-ocr

处理 library-records 中 do_ocr: true 的 PDF OCR 队列。

Command

paperforge ocr run

说明

paperforge ocr run 会自动读取 paperforge.json 定位 ocr 目录和 worker 脚本。 如需使用 Python 直接调用(备选方式):

python $(paperforge paths --json | python -c "import json,sys; print(json.load(sys.stdin)['worker_script'])") --vault . ocr