The documents fall into two layout classes, each with its own set of Extraction Rules. The skill also needs to support standard Vantage training. Configure the processing flow accordingly.Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
Add a Classify By Text and Image activity
First, we need to determine the document class. Click the
Classify By Text and Image activity on the Activities pane — it will be added to the workflow.When you add this activity, a new field is created in the skill structure to record the classification results. The field is hidden and not editable, but you can rename it in the Activity Properties pane on the Activities tab. Rename the field to “Layout”.Add an IF activity to fork the flow
Documents should be routed to different activities based on classification results.
- Click the
Classify By Text and Imageactivity in the workflow. - In the pop-up window, select the
IFitem. It will be added to the workflow after theClassify By Text and Imageactivity.
Instead of using the
IF activity, you can create a workflow item containing two Extraction Rules activities and select the “Layout” field as a source field so that its values serve as conditions for choosing which activity will be applied to each document. For more information about this option, see Several sets of Extraction Rules within a single activity.Add Extraction Rules activities for each class
Add the activities for extracting data from documents of different classes.
- Select the
Extraction Rulesactivity as the next item. Rename it to “Sick Note DE” — this activity will extract data from the German documents. - Click the
IFactivity and add anotherExtraction Rulesactivity. Rename it to “Sick Note BE-NL”. This handles Belgian and Dutch documents (variants inside this class can be handled by a single activity).
IF activity should now be connected to both Extraction Rules activities and to Finish.Add a Fast Learning activity at the end
The
Fast Learning activity enables further skill training during production via Online Learning.- Click “Sick Note BE-NL” in the processing flow.
- In the pop-up window, select the
Fast Learningactivity. It is added after “Sick Note BE-NL”, but “Sick Note DE” is still connected to Finish. - Hover over the arrow connecting “Sick Note DE” and Finish. The arrow turns orange.
- Drag and drop this arrow onto the
Fast Learningactivity. - Hover over the arrow connecting the
IFactivity and Finish. Drag and drop this arrow onto theFast Learningactivity as well.
Fast Learning activity.
What’s next
Step 3. Configure and train the Classify activity
Upload training documents, assign classes, and train the classification activity.
Tutorial overview
Back to the tutorial introduction.
