LEXO documentation
Everything from the first install to scripting batch runs. New here? Start with the first three pages in order.
Start here
- Getting started What LEXO does, what it needs, and the shortest path from a scanned Burmese PDF to clean Unicode text.
- Installation Install the LEXO desktop app and CLI from PyPI on Windows, macOS, or Linux, check the install, and keep it up to date.
- Google Cloud setup The one-time setup LEXO needs before it can OCR: a Google Cloud project, the Drive API, an OAuth consent screen, a Desktop credentials.json, and lexo login.
Guides
- Desktop app A tour of the LEXO desktop app: the pages strip, preview, text pane, and Tune panel, plus editing, running OCR, proofreading, exporting, and keyboard shortcuts.
- OCR workflows When to use text-layer extraction or Google Docs OCR, how LEXO routes pages, and how to handle scans, Win Innwa fonts, Zawgyi, and other languages.
- PDF tools Prepare PDFs for OCR with LEXO's local PDF tools. Extract page ranges, split, crop margins, rotate, merge, and split two-up spreads, in the app or the CLI.
- Batch OCR OCR many PDFs in one run with LEXO. One UTF-8 text file per PDF, resumable runs, overwrite and force-OCR options, in the desktop app or with lexo ocr-batch.
Reference
- CLI reference Every lexo command and option: extract, ocr, ocr-batch, the pdf tools, login, logout, gui, info, and check-update, with examples.
- Export formats What LEXO's plain text, Markdown with YAML frontmatter, and JSONL exports look like, and which to choose for reading, publishing, or NLP datasets.
- Configuration LEXO_ environment variables for OCR language, render resolution, concurrency, batch size, logging, and credentials.json, plus where LEXO stores files.
Help
- Troubleshooting Fixes for common LEXO problems: missing credentials.json, expired Google sign-in, empty text from scans, ASCII from legacy fonts, and failed OCR pages.
- Privacy and sign-in Exactly what LEXO does on your computer, what it sends to Google for OCR, the drive.file scope, where the sign-in token lives, and how to revoke access.