How detection works
Data Categories turns detection types on or off, such as Name, Date of birth, or Social Security number. Each category has a tick box: a tick means on, an empty box means off, and a dash means some of its finer options are off. Clicking a category opens those options. Turning a category off removes its matches from review and from the saved file, so leave it on unless you are sure. If the same text was found under two categories, turning one off brings back the other, so the text stays covered. With a tick box focused, Space turns the category on or off, and with a category focused, the arrow keys open or close it.
How Lex Cloak finds sensitive information
Detection runs on your computer, with a rule-based engine plus a local model. Lex Cloak reads every page the way a person sees it, using OCR even on PDFs that already have a text layer, because that layer can be missing, misaligned, or hidden. The engine looks for known patterns of sensitive information, scored by confidence, and surfaces them as red and amber boxes for you to review.
Two things to know up front: the goal is to help you review faster, not to make the decision for you, and the engine errs toward over-detection so the cost of a miss falls on review time rather than on a leak.
Data categories
The Data Categories section of the sidebar groups matches by type, such as Name, Date of birth, Social Security number, Address, and so on. It is in the sidebar's By category view. Each category has a count and a tick box, and the line under its name says how many of its kinds are on, such as “3 of 4 kinds on”. Clicking a category opens its kinds, such as the kinds of date under Dates. A tick means the category is on and an empty box means it is off. A dash means some of its finer options are off: clicking it turns the whole category off, and clicking again brings back the options you had chosen. Turning a category off removes those matches from review AND from the saved file. The saved export reflects the categories that are on at the time you download, which is why the download dialog surfaces categories you turned off as a finding worth a second look.
When the same text is found under two categories, Lex Cloak shows it once, under the stronger reading. Turning that category off brings the other match back under its own category, so text you meant to keep protected stays covered.
Use the All and None buttons at the top of the section to turn every category on or off in one click. Keyboard: with a tick box focused, Space turns the category on or off, and with a category focused, the arrow keys open or close it.
Confidence and uncertain matches
A solid red box is a confident match and a dashed amber box is an uncertain one that is asking for your decision. The Confidence section of Settings has a slider and a Show uncertain matches checkbox. Together they change how many uncertain matches you see for review, not what counts as sensitive. Think of these as review-visibility controls, not redaction-strength controls.
A lower threshold surfaces more borderline items, which is useful when a document type rewards extra caution. A higher threshold keeps the review list shorter on documents whose patterns are familiar to the engine.
Detection profiles
A detection profile tunes the engine for a kind of document. The dedicated detection profiles page covers what each profile changes and when to switch. The toolbar template chip shows the active profile and how well it fits the document. You can switch from the chip or in Settings. If the new profile would redact the open document differently, detection re-runs on it right away, so what you see belongs to the profile that is active.
What detection does and does not cover
Detection covers many common patterns of sensitive text, but it does not catch everything. Unusual formats, complex layouts, identifiers in languages the engine has not learned, and anything inside an image without legible text can slip past. Handwritten signatures get a check of their own, which runs automatically after each scan and is best-effort. Other handwriting, such as a handwritten name or note, is not reliably detected, so check for it by eye. See signatures and handwriting.
Repeating headers and footers are detected and redacted as bands by default, while page numbers are kept. The dedicated headers, footers and page numbers page covers the toggle and the symptom of my letterhead disappeared.