8.0

© 2009 ABBYY. All rights reserved.
31
To specify a resolution value for a picture, select Change resolution to and then select the desired value
from the list.
4.3.4.6. Rule-based checks
Rules are used to check recognition results automatically. Rules, like data types, allow you to specify
data constraints. i.e. specify the requirements that values of certain fields must meet. If the values in
filled-out documents do not meet these requirements, such pages are marked with a flag and a
corresponding message. The main purpose of using rules is to check the data integrity in a document.
Rules can also be used to process entered data, for example to merge the values of several fields or to
substitute recognized values with corresponding values from a database.
ABBYY FlexiCapture 8.0 Professional allows you to create rules of the following types:
Check Sum – checking the sum of values of several fields. This sum is compared against the
specified number or a value in another field. For example, if the document contains the salary
and the bonus payment of an employee and there is a field for the total income of this employee,
you can create a rule that will check if the sum of the salary and the bonus payment is equal to
the total income. If it is not, the program will display an error message.
Compare Fields – comparing the values of several fields. This rule may be used if a document
contains several fields whose values must be identical. If they are not, the program will display a
rule error message for the document.
Database Check Rule – checking entered values against certain values in a database.
Merge Fields – merging the values of several fields. Values of merged fields may be separated
by dots, blank spaces, or other separators. For example, it may be convenient not to recognize the
data as a single element but to merge the values of separately recognized fields “Day”, “Month”,
and “Year”. Dots may be used as separators of the merged value. The result of such merging
may be stored in any field of the template. It is particularly convenient to use fields without
marking to store such results (see Fields without marking
).
Sum in figures - sum in words (Russian language only). This rule is only available if Russian is
selected as the recognition language for the template.
Script Rule – the user can describe the constraints with the help of a script.
Rules are specified on the Rules tab of the Properties dialog box (Figure 15). A rule can be assigned to
one field or to several fields simultaneously.
You can assign the error or warning status to a rule. If the requirement is not satisfied, a field will be
marked with a red flag in the case of an error or with a yellow flag in the case of a warning.
If the program tries to export a document containing rule errors, a corresponding warning will be
displayed.