Enable key-value pair extraction
Use the procedure in this topic to enable key-value pair extraction.
In order to extract key-value pairs from a document it is necessary to enable this functionality at the class level. Use the Key-Value Pairs Locator to process this information. When enabled the Semantic AI is performed after classification but before the locators are executed. The key-value predictions are stored in the XDoc representation so they are accessible to the Key-Value Pairs Locator and script.
-
Select the class from the
Project Tree that you want to extract key-value pairs.
The class details are displayed.
-
Scroll to the
Key-Value Pairs Extraction section and configure the following setting.
Setting
Description
Extract key-value pairs
When enabled, a specialized recognition is run between classification and locator extraction. Any key-value pairs are stored as dedicated objects in the XDoc representation. These key value predictions are also visible in the XDoc Browser. These XDoc representations are also accessible via script.
The specialized AI engine will now extract key-value pairs for documents of this class. To use this information, configure a Key-Value Pairs Locator or a script.
- Optional. Repeat these steps for other classes as needed.