The processing step Detect entities (local anonymizer, no AI) reads the OCR of each page with ChronoAnonymizer, the rules and personal data model installed with ChronoScan, and keeps the entities of the document: people, personal ID numbers, bank accounts, addresses, companies and their tax IDs, amounts, dates and more, each with its place on the page. It is the same engine as Privacy: it runs on this computer, nothing is sent out and no credits are used.
The entities are shown on the page, highlighted by kind or blacked out, from the tab No AI · Entities of the AI panel. The supplier, the customer and the companies found can also be used by the AI Assistant to set the master key.
What you need
The component Anonymizer of the installation, as for Privacy (folder Bin\anonymizer; its model runs in a 64-bit process, so it needs 64-bit Windows).
The OCR of the pages: the step reads the OCR text and its coordinates. A page without OCR gives no entities.
Adding the step
Open the processing tasks of the job, window Process and task settings (see Processing Batches).
In OnProcess, tick Detect entities (local anonymizer, no AI). It runs after the OCR and before the document type detection and the AI stages, so the job also needs Image OCR (or documents that already have their OCR).
Select it and click Options to choose what to keep (see below).
Save, or Save and process.
The step ticked in the processing tasks of the job. The column Information shows the model, the number of categories kept and the pages read.
The step is not ticked by default: jobs that do not add it do not change.
Options
The options of the step.
Option
Default
Description
Categories kept
all
The kinds of entities saved for the document. At least one must be ticked.
Model
v2 (recommended: better on scanned documents)
Or v3 (better on clean text and ID documents). v3 is not installed with ChronoScan: Download model v3 (343 MB) gets it once from the ChronoScan repository into %ProgramData%\ChronoScan\anonymizer\model-v3, without administrator rights; its files are checked before they are used.
The companies the documents are addressed to, separated by ;. They are never taken as the issuer. Shared with Supplier detection without AI of the same job.
Seeing the entities
Open the AI panel of a processed document and its tab No AI · Entities:
One row per category, with its colour, the number of values and a switch. All and None switch every category at once. The switches are kept for the user.
The values of each category, grouped. Click one to go to its page, centred on it.
The issuer and the recipient, when that option is on, with Show on the page.
Two views: Highlight outlines every value in the colour of its category; Hide paints black boxes over the categories marked to hide, by default the personal ones (what Privacy would hide from an AI).
The boxes are drawn on the page whenever the document has entities, also when the tab is not open. With None the page stays clean.
Entities for the AI Assistant
The step also leaves the entities as an AI result named Local entities (engine oai), like the answer of an AI configuration: it is shown in the AI panel and in the node lists of the AI Assistant. Its nodes:
To let the assistant of the master key field use them, open its configuration and tick Include the local anonymizer's entities (no AI): supplier, customer, companies and their tax IDs. It adds the row oai · Local entities with the nodes of the supplier, the customer, the parties, the organizations and the company tax IDs; unticking it removes the row.
The option in the AI search assistant configuration and the row it adds (the last one).
As the step runs before the AI stages, the assistant has the entities when it looks for the master key.
Diagnosis
Each processed document keeps:
sysval_ner_status: ok, or the error of the last run.
sysval_ner_counts: how many values of each kind were found (counts only).
sysval_ner_model: the model used.
In the folder of the document, anon.entities.json (the entities with their real values and boxes) and oai.data.Local entities.json (the AI result). Treat them like the document itself.
Message in the tab
Meaning
This document has no entities: add «Detect entities (local anonymizer, no AI)» to the job's processing chain and process it.
The step has not run on this document.
The OCR coordinates of this page do not match its image: its entities are not marked on the page.
The values of that page are listed, but they cannot be placed on its image.
On some page the model failed and only the rules were used: names may be missing.
The personal data model did not run on a page. Process the document again; if it happens again, reinstall the Anonymizer component.