Modify a custom subfield for an A2iA Zone Locator
If a custom subfield is not performing as expected, or if you want to change a predefined subfield, follow these steps:
- Open the locator properties.
- Click the Custom Subfields tab.
- In the Subfields section, in the Name list, select the custom subfield to be modified.
- To rename the custom subfield, click Rename and type a new name.
-
To change the output path for the selected custom subfield, do the following.
-
In the
A2iA
Output Path column, double-click the output path to change.
The A2iA Output Path for Custom Subfield window is displayed so that you can select or enter the output path.
-
In the
A2iA
Output Path for Custom Subfield window, select the node in the tree containing the desired output
path.
The complete path appears in the A2iA Output Path field. You can also type or edit the path in the field.
If you select a node for an array, a placeholder ([?]) appears for the array index number. Replace the question mark inside the brackets with the correct array index, such as [1].
If the path you selected is invalid, an icon appears in the window. Mouse over the icon to view a description of the error.
-
If the path you selected is correct, click
OK.
The A2iA Output Path for Custom Subfield window closes, and the selected path appears in the field in the A2iA Output Path column.
- Optionally, change the Prefix field to enter characters to append to the beginning of the output string before it is processed by the regular expressions. Click the field and enter characters.
- Optionally, change the RegEx Match and RegEx Replace fields as needed. Click the field to enter characters.
Note If you need to delete an output path, select the row in the Properties table and click the Delete button in the Properties section. Do not click the Delete button in the Subfields section because it deletes a custom subfield. -
In the
A2iA
Output Path column, double-click the output path to change.
-
If the custom subfield uses multiple output paths, do the following:
- Add output paths by repeating the previous step.
- Set the output paths in the order they should be concatenated. Select an output path and click Move Up or Move Down to change the order.
- In the Delimiter field, enter the characters used as a delimiter between the output paths.
-
In the
Location field, select or enter the location of the subfield data.
-
Click
Browse to the right of the field.
The Location for Custom Subfield window appears.
-
In the
Location for Custom Subfield window, select the node in the tree containing the location of
the subfield data. A location node must contain the following child nodes: x_tl, x_br, y_tl, y_br, and pageIndex.
The complete path appears in the Location field. You can also type or edit the path in the field.
If you select a node for an array, a placeholder ([?]) appears for the array index number. Replace the question mark inside the brackets with the correct array index, such as [1].
If the path you selected is invalid, an icon appears in the window. Mouse over the icon to view a description of the error.
-
If the path you selected is correct, click
OK.
The Location for Custom Subfield window closes, and the selected path appears in the Location field.
-
Click
Browse to the right of the field.
-
In the
Confidence field, select or enter the path for the confidence value of the subfield data.
-
Click
Browse to the right of the field.
The Confidence for Custom Subfield window appears.
-
In the
Confidence for Custom Subfield window, select the node in the tree containing the location of
the subfield data.
The complete path appears in the Confidence field. You can also type or edit the path in the field.
If you select a node for an array, a placeholder ([?]) appears for the array index number. Replace the question mark inside the brackets with the correct array index, such as [1].
If the node is invalid, an icon appears. Mouse over the icon for more information.
-
If the path you selected is correct, click
OK.
The Confidence for Custom Subfield window closes, and the selected path appears in the Confidence field.
-
Click
Browse to the right of the field.
- Click Close to close the locator properties window.
- Save the changes to your project.