Skip to main content
To train and test a skill, you need labeled documents — documents whose field locations and data types are explicitly marked. The fastest way to get a labeled set is to label documents manually, but that’s time-consuming, especially for Deep Learning activities that need large training sets. To save time, you can reuse labeled documents from skills you’ve already built, from manually reviewed processing results, or from ABBYY FlexiCapture.

Label documents manually

For each uploaded document, mark out the field locations and specify the data type each field is expected to contain. Follow the labeling guidelines for reliable training results.

Reuse labeled documents from another source

You can import labeled documents from three sources. In each case, export the labeled documents from the source to a folder, and then import that folder into your skill on the All Documents set.
SourceBest forExport action
Skill training setReusing your own labels for a new skill versionExport Set with Labeling on the document set
Manually reviewed processing resultsLabels created during operationsConfigure field-data + image exports
FlexiCaptureReusing labels from earlier FlexiCapture workSee Import labeled documents from FlexiCapture

Skill training set

When you publish a skill for production, you usually remove the training set and keep only a few sample documents in the published version. To reuse the same training set for a new version of the skill, export it before publishing. To export, click the more icon next to the document set name and choose Export Set with Labeling. The destination folder contains:
  • documentdefinition.json
  • skillsettings.json
  • A <Document name> subfolder for each document, containing the document images, documentinfo.json, and labeling.json

Manually reviewed processing results

Manual review produces labeled documents as a side effect. Set up exports of:
  • Field data to JSON with the Values, metadata, and field structure for each document option enabled.
  • Document images in any supported image format.
The destination folder contains one subfolder per transaction. Each <Transaction ID> subfolder contains:
  • <Applied skill name>.json with the field data.
  • Exported images: <Applied skill name>.pdf, <Applied skill name>.tiff, or a <Applied skill name>/Pages subfolder with page_*.jpg files.

FlexiCapture

You can reuse documents labeled earlier in ABBYY FlexiCapture — see Import labeled documents from FlexiCapture for the format and procedure.

Import the labeled documents

Once you have an export folder from any of the sources above, import it into your skill:
1

Open the All Documents set

On the Documents tab, select the All Documents set.
2

Choose Import Labeled Documents From Folder

Click the drop-down arrow next to Upload and choose Import Labeled Documents From Folder….
3

Select the export folder

Select the folder you created with the export procedure for your source.
Don’t change the folder that was created during export. Renaming files or altering the subfolder structure can break the import.
If a document with the same name already exists, Advanced Designer asks how to handle the duplicate:
  • Update Labeling — overwrites field locations and settings on identically-named fields, and adds any fields present only in the imported document.
  • Import As New Documents — renames the duplicates and imports them with their labeling intact.