- Compiling and matching the activity.
- Reviewing the errors and refining the rules to improve object extraction.
Compiling and matching
The Extraction Rules activity is compiled automatically when you exit the activity editor or when you click Match or Test Activity. If any compilation errors occur, matching cannot proceed. Any search elements with compilation errors will be marked with an error icon. Hover your mouse over this icon to see a detailed description of the error. Compilation errors may occur in the following:- Element dependencies: Elements are searched top down. This means that elements used in the search conditions of another element must precede that element in the list of elements. For example, if Element A is referenced in the search conditions for Element B, then Element A must precede Element B in the list of elements. If you disable Element A or move it below Element B in the list of elements, a compilation error will occur, and Element B will be marked with an error icon.
- Regular expressions: If the regular expression in a Value from Regular Expression search element is invalid, an error will occur in this element.
- Dictionaries: If the program is unable to connect to the dictionary used by a Value from Dictionary search element, an error will occur in this element.
- Code (see Code syntax for Extraction Rules activity for NLP)
