Skip to main content
A Phone element describes a telephone number, which is often preceded by a prefix such as Tel. or Phone and an area or city code in brackets, as shown in the following figure. The prefix and the telephone number must be typed on the same line.
Screenshot of a telephone number on a document image, preceded by the Tel. prefix and an area code in brackets, as detected by a Phone element in ABBYY FlexiLayout Studio.
Phone elements are marked with the Phone element icon icon in the FlexiLayout tree.

Phone element properties

Click the Phone tab in the Properties dialog box to describe a Phone element. To open the Properties dialog box, right-click the element in the FlexiLayout tree and select Properties… on the shortcut menu.
Screenshot of the Phone tab of the Phone element's Properties dialog box in ABBYY FlexiLayout Studio.
Specify the following properties to describe a phone number:
  • Prefixes for phone numbers — Specifies the words or phrases that can precede the phone number. 20% of errors are allowed in a prefix (one error for every 5 characters).
    • To add a prefix to the list, click Add… and, in the Add Phone Prefix dialog box, type a new prefix.
    • To edit a prefix, click Edit… and make the necessary changes in the Edit Phone Prefix dialog box.
    • To delete a prefix from the list, select the prefix and click Delete.
  • Missing prefix penalty — Specifies a penalty coefficient (a number from 0 to 1) by which the quality of the hypothesis is multiplied if the prefix is not found.
  • Possible digit separators — Specifies the symbols that can separate digits in the phone number. A separator can consist of only one symbol. By default, the list of separators includes a space. When you enter several separators, do not separate them by commas or spaces.
  • Minimum number of digits — Specifies the minimum number of digits the phone number can contain. Hypotheses with fewer digits are discarded.
  • Maximum number of digits — Specifies the maximum number of digits the phone number can contain. Excess digits are discarded.
  • Max space length — Specifies the maximum allowed absolute length of the space inside the detected object. The space length is measured in the user-defined units of measurement. When looking for the text, the program adds characters to the string until the distance between neighboring characters reaches the value in the Max space length field.
  • Area code/city code brackets — Allows brackets around city and area codes.
    • To add an opening and closing bracket, click Add… and, in the Add Phone Code Brackets dialog box, type the opening bracket in the Opening symbol field and the closing bracket in the Closing symbol field.
    • To change the opening and closing brackets, click Edit… and make the necessary changes in the Opening symbol and Closing symbol fields of the Edit Phone Code Brackets dialog box.
    • To delete brackets from the list, select the brackets and click Delete.