Manage classification instructions
Use the procedure in this topic to manage classification instructions.
Instructions are rules the Instruction Classifier uses to analyze content to determine how to classify a document. If the document content contains phrases provided in a classification instruction, the confidence level of the classification is higher than if no phrases are found.
The first time an instruction is added to a class in your project, a message asking if you want to add instruction support to your project is displayed. Selecting "Yes" adds the Instruction Classifier to your project.
The selected Classification behavior setting in the Content Classification group on the Project Settings - Classification tab directly effects how instructions are processed for your project. If you select the default Classify first page only value, your configured instructions look on the first page only. Similarly, if you select the Do not use content classification value, your instructions are not processed at all.
- In the main Transformation Designer window, hide or close any windows that block the Ribbon.
- Open the Project Tree window if it is not already open.
- Expand the Project Tree and select the class.
-
Optional. View the class contents if they are not
already displayed.
The hidden class contents are displayed.
-
Select
Instructions.
The following read-only instructions are displayed:
- Phrases:
-
This column displays the phrases for each instructions added for the selected class. If an instruction contains more than one phrase, each phrase is listed.
- Search Exact:
-
The value of the Search exact setting is displayed here. This value is applied to all phrases for the corresponding instruction.
If you have one phrase in a group of similar phrases that you want found exactly as entered, consider separating it into its own instruction. Otherwise you have to search exact for all phrases in the instruction or none.
- Relevance:
-
This value is used to determine the overall classification confidence. If multiple phrases are used in one instruction, all need to be located. The higher the relevance value, the more confident a classification result is if the phrase is found.
-
To add a new installer, select
Add Instruction and follow these steps.
If prompted to add instruction support to your project, select Yes.
The Instruction Properties window is displayed.
-
In the
Instruction Properties window, configure the following settings.
Setting
Description
Search exact
This setting only returns a confident classification result if the phrases are found on the document exactly as they entered here. (Default: Cleared)
Relevance
Set the relevance value for the instruction. If an instruction consists of several phrases, all parts of the instruction need to be found on the document. The relevance values for all the instructions found on the document are added up, and yield the classification result. (Default: 20)
Phrases
This list displays all the phrases the instruction contains. To modify a phrase double select the phrase in the list of phrases. The Modify phrase window is displayed where you can edit the phrase.
Use the
Add New Phrase,
Delete Phrase, and
Negates Phrase buttons to manage the list of instruction phases.
You can add special characters to a phrase, but some of these characters may be ignored during testing or runtime. These ignored characters include, but are not limited to §, $, and '.
- Select OK to save your instruction.
- Repeat these steps to add additional instructions for this class.
The Instruction List is updated with your new instruction. -
In the
Instruction Properties window, configure the following settings.
- Optional. To modify an instruction, double-click a value in the Instruction List and edit it as needed.
-
Optional. To delete an instruction, right-click and select
Delete.