Set up recognizers for a tag
Set up recognizers so that classification scans suggest a tag for the right columns, for example the columns that hold email addresses. A recognizer is a rule that finds one kind of personal data in column names or sample rows, and scans use only the enabled recognizers of a tag.
Prerequisites
- Your role includes
tagging:manage. See Portal roles and permissions. - The tag exists. Only tags in the
PIIclassification take part in classification scans. See Create and manage tags.
Recognizer types
The Recognizers tab of a tag lists each Recognizer with its Type, Target, Language, Supported entity, and Status. Recognizers that come with the portal show the type predefined, or pattern for some of them. You create recognizers of three types:
| Type | Type in the list | Finds data by | Fields |
|---|---|---|---|
| Pattern | pattern | A regular expression. | Pattern name, Regex, Score (0 to 1). |
| Deny list | DenyListRecognizer | A list of exact values. | Deny list (one value per line). |
| Context | context | Words that describe the data. | Context words (one word per line), Min score, Max score (0 to 1). |
Every recognizer also has a Target:
- Sample data checks the values in sample rows. This is the default.
- Column name checks the names of the columns.
Add a recognizer
- Open the tag from Tagging → Tags by selecting View next to it.
- Open the Recognizers tab.
- Select Add recognizer.
- Enter a Recognizer name that is unique within the tag.
- Under Type, select Pattern, Deny list, or Context.
- In Target, select Sample data or Column name.
- Optional: enter a Language, for example
en. - Enter the Supported entity, the kind of data the recognizer finds, for example
EMAIL_ADDRESS. - Fill in the fields of the type you selected. See Recognizer examples.
- Select Add Recognizer.

The recognizer appears in the Recognizers tab. Enabled is selected by default, so the next scan uses it. A tag can have up to 100 recognizers.
Edit, turn off, or remove a recognizer
In the Recognizers tab, use the buttons in the Actions column of the recognizer:
- Edit opens Edit recognizer. Change the fields, then select Save changes.
- To turn a recognizer off without removing it, select Edit, clear Enabled, then select Save changes. Its Status shows Disabled, with Not Ready for scan under it. A recognizer that is not enabled does not take part in scans.
- Remove opens the Remove dialog with the name of the recognizer. Select Remove recognizer to delete it from this tag, or Cancel to keep it. The other recognizers of the tag do not change.
Use Edit on recognizers of type pattern, DenyListRecognizer, or context. On a predefined recognizer, Edit recognizer opens with Pattern selected and Supported entity, Pattern name, Regex, and Score empty. Select Cancel to leave it unchanged.
While Auto Classification is on for the tag, you cannot remove or turn off its last enabled recognizer. The portal shows Auto Classification is on. Keep at least one enabled typed recognizer, or turn Auto Classification off in the same edit. Turn off Auto Classification first, with the switch on the Overview tab or in Edit Tag.
Copy a recognizer to other tags
Copy a recognizer when several tags need the same rule. You cannot copy a predefined recognizer. If you try, the Copy recognizer dialog shows Source recognizer type is not supported by the Portal and copies nothing.
- In the Recognizers tab, select Copy next to the recognizer.
- In the Copy recognizer dialog, check the Source Tag and the Recognizer at the top.
- Select the tags to copy it to, up to 50 tags. Use Search target tags to find a tag. The dialog shows how many tags are selected, for example
2 selected. - Select Copy.

The dialog then shows Copied destinations with a count and one line for each destination tag, marked Copied or Failed. It does not say why a tag failed. A copy fails, for example, when the destination tag already has a recognizer with the same name. To try the failed tags again, select Retry failed targets.
A copy has the same name and the same Enabled state as the original. Each copy is independent: when you later edit, turn off, or remove the original, the copies do not change.
Recognizer examples
| Field | Email in sample data | Email in column names |
|---|---|---|
| Type | Pattern | Pattern |
| Target | Sample data | Column name |
| Language | en | en |
| Supported entity | EMAIL_ADDRESS | EMAIL_ADDRESS |
| Regex | [\w.+-]+@[\w-]+\.[\w.-]+ | (?i)e[-_]?mail |
| Score | 0.8 | 0.8 |
Test a new recognizer on one schema first. Limit the scan job to that schema, run it, and check the suggestions before you scan everything.