- In the Document Definition editor, click Document Definition → Document Definition Properties…
- In the dialog box that opens, click the Document Definition Settings tab.
- Click the Edit… button to the right of the Additional Fields and Features group.
- In the Document Definition Features dialog box, clear the Enable clustering option.

- If the clustering feature is turned off, documents will be placed into their appropriate training batches used for their respective companies and a FlexiLayout will be created for each company.
- If the clustering feature is turned on, documents will be clustered inside the training batch and a FlexiLayout will be created for each cluster.
When updating a project created in an earlier version of ABBYY FlexiCapture, you can use your existing FlexiLayouts without any modifications. However, if you choose to use the clustering feature, the clustering algorithm will redistribute your documents among the training batches and a new FlexiLayout will be created for each cluster.
- On the Project Setup Station, switch to the training batch view by clicking Field Training → Open Field Extraction Training Batches (or by pressing Ctrl + Alt + B).
- Right-click the batch and then click Export Trained FlexiLayout… on the shortcut menu.
- In the dialog box that opens, select where you want to save the *.fsp project file containing your FlexiLayout. (You will then be able to open this file in ABBYY FlexiLayout Studio and modify the FlexiLayout.)
- On the Project Setup Station, switch to the Field Extraction Training Batches view by clicking Fields Training → Open Field Extraction Training Batches (or by pressing Ctrl + Alt + B).
- Right-click the batch and then click Import FlexiLayout… on the shortcut menu.
- In the dialog box that opens, select the *.afl file containing your FlexiLayout.
- If you are creating a new FlexiLayout manually, make sure that it covers all the possible document variants originating from the given company — you cannot manually create a FlexiLayout for one cluster only.
- Only a FlexiLayout for the main document fields will be exported. No FlexiLayout can be generated and exported for line item fields, as this type of field uses a separate machine learning algorithm, whose results cannot be exported or modified. However, you can still create a FlexiLayout for line item fields manually.
- Only the FlexiLayout trained for the first cluster will be exported.
-
After you import a new or modified FlexiLayout into your training batch:
- There will be no training while processing documents.
-
Clustering will be disabled for this batch.
- The imported FlexiLayout will be used for processing all documents from this company, regardless of their cluster.
