Skip to main content
Basic Document Definition properties, such as name, language, and writing style, are set with the Document Definition Wizard. Other properties use default values. To view and change a Document Definition’s properties, select Document Definition → Document Definition Properties in the Document Definition editor.

General

Rename the Document Definition and enter or edit its description. The Enabled option includes or excludes the Document Definition from document processing.

Recognition

ABBYY FlexiCapture uses fast recognition (called full-text recognition) for classification, matching of a FlexiLayout, and highlighting of text on images. This tab specifies full-text recognition settings. Field recognition settings are specified in the field properties.
  • Prefer settings from batch type – Select this option to synchronize full-text recognition settings.
  • Languages – Set the correct language so that recognition proceeds without errors. This property defines the language and other settings such as date format and currency.
Disabling synchronization may slow down Document Definition matching.

Recognition mode

Select a recognition mode from the list.

Advanced recognition settings

The Advanced button opens additional image-correction settings.
1

Open the advanced settings

Click the Advanced button. The dialog box configures correction of linear and nonlinear image distortions, the direction of the scanner’s automatic feeder, and more.
2

Set the distortion parameters

Select the Correct linear distortion option to set image spreading or compression by height and width. Images are scaled by existing anchors (black square, cross, or corner) and by horizontal and vertical separators.
Extracting barcodes slows down recognition.

Currency codes for Amount of Money fields

The Amount of Money data type combines a numerical amount with a currency code or symbol. To avoid recognition errors for visually similar characters such as 1, I, i, s, and $, a regular expression allows letters only in certain combinations that represent currency codes, either preceding or immediately following the numerical amount. A set of major currency codes is provided by default. You can modify the list of possible currency codes and symbols. Removing redundant currencies improves recognition quality, and you can add custom codes and symbols. To modify the list, use one of the following ways:
  • Click the […] button on the right, and then add or remove codes or symbols in the Currency Symbols dialog box.
  • Open the field properties dialog box and make the changes on the Data tab.
For more information, see Data types of the text entry field.
A Document Definition can have only one list of possible currency codes and symbols. This list applies to all Amount of Money fields.

Assembly

Configure assembly rules for multipage documents. In the simplest scenario, the Document Definition comprises a single section that occurs once. If a Document Definition consists of several sections, this tab lists their names. Specify the number of occurrences of each section in the Min number and Max number columns.
  • Use key fields equality assembling rule – Enable this option to check document assembly based on key fields. Select a key field for each section in the Key Field column. Only documents whose key field values match in each section are considered correctly assembled. If the values do not match, an assembly error message is displayed.
  • Use standard assembly rules – Enable this option to check document assembly using standard rules:
    • Disable sections order check – Disable the check for the order of sections in the document (for example, if the order does not affect assembly). FlexiCapture still checks that all sections are present, but their order is ignored.
    • Enable annex pages – Process documents with annexes. You can also select Detect annexes using preset document structure, without analyzing (fast) to detect annexes faster, based on the existing document structure.
  • Use custom assembly rules – Enable this option to check document assembly using a document assembly script. A custom assembly script can run separately or together with the standard assembly rules. To edit the script, click the Edit Assembly Script button. The Script editor window opens.
The Detect annexes using preset document structure, without analyzing (fast) option is effective only for documents created by separation during the import stage or by applying a special flag in the API. Such documents are excluded from assembly.
For more information, see Create Document Definitions for multipage documents, Assemble documents, and Create Document Definitions for documents with annexes.

Rules

Delete, edit, or create Document Definition rules. For more information, see Rule validation.

Export Destinations

View the current export settings of the Document Definition. To change the export settings, click the Edit button.

Data Form

Modify the font outline and size for displaying recognized data.
  • Data Text Settings – Font settings for displaying recognized values.
  • Label Text Settings – Settings for displaying the explanatory text (field names).
For more information, see Configure how data is displayed in the document window.

Data Sets

Create and edit custom data sets. For more information, see Using vendor and business unit databases.

Event Handlers

Specify event handlers for documents of the current type. For more information, see Event handlers.

.NET References

Add external assemblies to be used in scripts and global modules. Both standard and compiled user assemblies can be used.
1

Start adding an assembly

Click Add.
2

Choose the assembly type

In the dialog box that opens, select Standard assembly name or Attached file.
3

Specify the assembly

Enter the standard assembly name, or browse to an assembly file.
For more information, see External assemblies.