A colleague asked me to redact some sensitive documents before sending them to AI for analysis. I considered Adobe and other tools, but none could detect personal data (PII) automatically without sending it to a large AI model. The documents also had low-quality scanned pages, bar codes, signatures, rotated and skewed pages. I set out to solve each of those challenges in a user-friendly way. The result was Lex Cloak, an application that continues to evolve.
Lex Cloak is a desktop app for Windows and Macs. We run OCR (Tesseract) on every page to read the text. We found the embedded document text layer was often inaccurate and unreliable. The application then finds categories of PII based on pattern rules and a small machine learning model (BERT) trained on names. It runs ONNX Runtime locally, no LLM. Other model enhancements detect barcodes and signatures.
The user reviews the matches and either removes false positives or adds further redactions. Each match has a confidence score. Lex Cloak also handles other "gotchas", such as hidden text (white-on-white), text under a previous black-box redaction, and document metadata.
Local processing means you can work entirely offline. The only network call is an occasional license check and software update version check. Lex Cloak was designed to run on average laptops and handle PDF documents hundreds of pages long.
Scanning is free, and so are the first three documents. No account, password or payment necessary. After that it's $35 per month.
cscmsg•8m ago
Lex Cloak is a desktop app for Windows and Macs. We run OCR (Tesseract) on every page to read the text. We found the embedded document text layer was often inaccurate and unreliable. The application then finds categories of PII based on pattern rules and a small machine learning model (BERT) trained on names. It runs ONNX Runtime locally, no LLM. Other model enhancements detect barcodes and signatures.
The user reviews the matches and either removes false positives or adds further redactions. Each match has a confidence score. Lex Cloak also handles other "gotchas", such as hidden text (white-on-white), text under a previous black-box redaction, and document metadata.
Local processing means you can work entirely offline. The only network call is an occasional license check and software update version check. Lex Cloak was designed to run on average laptops and handle PDF documents hundreds of pages long.
Scanning is free, and so are the first three documents. No account, password or payment necessary. After that it's $35 per month.