Detection
Did it find everything
Precision and recall per entity type. Model quality never reaches perfection, and being honest about that is why the human checkpoint exists.
Case files, personnel records and legal disclosure leave the building only with personal data removed. Detection proposes; a person decides; approved regions are deleted.
Everything before the human speeds the review up; everything after it is mechanical and verifiable.
01
PII found across every page, scans included, with page and region evidence.
02
Repeated values collapse into one decision instead of fifty approvals.
03
A person keeps or removes each finding against its evidence.
04
Approved regions are deleted from a copy; reopen the output and check.
Detection quality and removal completeness are different risks with different properties. Collapsing them into one figure hides whichever is weaker.
Detection
Precision and recall per entity type. Model quality never reaches perfection, and being honest about that is why the human checkpoint exists.
Removal
Once a reviewer approves a region, its content is gone from the file, not covered by a rectangle a copy-paste defeats.
Why it matters
A single accuracy figure lets a strong removal guarantee mask weak detection, or the reverse. Disclosure risk needs both, separately.
The reviewer is the point of the workflow, so the workflow is built to spend their attention well.
Grouping
The same name appearing forty times is one decision, not forty. Findings group by value into a short working list.
Evidence
Each finding is shown on the source page with its context, so keep-or-remove is judged with the document in view.
Decisions
A reviewer can keep a finding and record why. Values that cannot be placed on a page surface for manual handling.
Removal, unlike detection, is checkable on the output. So it is checked.
Permanent
Approved regions are deleted from the file. Reopen the output, search it, and the text is not there.
Original
The source file is preserved, so redaction produces a derived artifact, which is what an audit trail needs.
Verified
The output is re-examined after redaction, so a failure to remove is caught before the file is handed on.
Reviewer-approved findings become search terms or explicit regions; one call removes them from the file and reports every change.
using LMKit.Document.Pdf;
// Findings the reviewer approved for removal.
var request = new PdfRedactionRequest();
request.SearchTerms.Add("DE89 3704 0044 0532 0130 00");
request.SearchTerms.Add("+49 170 555 0143");
var report = PdfRedactor.RedactToFile(
"claim-file-0472.pdf",
"claim-file-0472.redacted.pdf",
request);
// The report lists every removed region, page by page.
# Detect on LM-Kit One, then apply the approved removals.
curl http://your-server:5189/lmkit/v1/detect-pii \
-H "Authorization: Bearer your-server-token" \
-H "Content-Type: application/json" \
-d '{"input":"<document text>"}'
curl http://your-server:5189/lmkit/v1/pdf-redact \
-H "Authorization: Bearer your-server-token" \
-F "file=@claim-file-0472.pdf"
The workflow composes documented capabilities you can inspect on their own.
Detect
Typed entities with value, occurrences and confidence, page by page.
How PII detection worksReview
Findings become reviewable regions, grouped by value, decided once.
How smart redaction worksRemove
Approved regions deleted from the file: text, images, and vectors alike.
How removal worksThen automate
The same detection runs continuously on intake, drafting redactions for review the moment documents arrive instead of the week before disclosure.
The monitoring use caseYes. Approved regions are deleted from the output file rather than covered: text glyphs, image pixels, and vector content are removed, and the output is re-examined after the write so a failed removal is caught before the file is handed on.
Because detection quality and removal completeness are different risks. Detection never reaches perfection, so a person decides each grouped finding against its evidence; removal, which is checkable, is then verified mechanically.
Yes. OCR runs before detection, so PII in scans and photographs is found, shown in place on the page, and removable like any other region.
Yes. LM-Kit One serves detection and redaction as authenticated REST endpoints with audit, so case-handling systems across departments share one governed workflow; LM-Kit.NET embeds the same calls when the workflow lives in your own application.
Private Document Intelligence