×
Menu
Index

5.7.7. Entity detection without AI

 
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
Adding the step
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.
Pages
All pages
Or First page only, or First and last pages.
Also find the issuer and the recipient (invoices)
on
Also reads the supplier and the customer of the document (name and tax ID), as Supplier detection without AI does.
Own companies (never the issuer): Names, Tax ID
empty
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:
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:
Nodes
Value
vendor_name, vendor_data[0].vendor_name, vendor_data[0].vendor_vat_number
The issuer (supplier) and its tax ID, in the form the job's master keys already have it, if they do.
buyer_data[0].buyer_name, buyer_data[0].buyer_vat_number
The recipient (customer).
parties[n].name, parties[n].vat
Both, the issuer first.
organizations, org_ids, persons, ibans, emails, phones
Every value found of those kinds.
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:
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.