Skip to main content
The cooking time is a short string of digits, so define it as a Character String element.
1

Create the Character String element

Create an element of type Character String and name it CookingTime.
2

Open the Character String tab

Click the Character String tab.
3

Set the alphabet

In the test images, the alphabet includes only digits. To set it, click Add… and select the digits in the Add New Alphabet dialog box.
4

Set the percentage of alphabet characters

In the Percentage of alphabet characters field, enter 1.
5

Disable embedded hypotheses

Clear the Allow embedded hypotheses check box.
6

Set the percentage of non-alphabet characters

In the Percentage of non-alphabet characters field, set the maximum to 10%.
7

Set the character count

In the Character count field, specify this fuzzy range: {0, 1, 3, 4}. This range estimates the string length, assuming the string is 1 to 3 characters long. Any hypotheses outside it are penalized.
8

Open the Relations tab

Click the Relations tab.
9

Constrain the horizontal position

The cooking time always appears to the left of the time units, no more than 100 dots away. Add these relations relative to the CookingTimeHeader element:
  • Left of, Offset = 0
  • Right of the left boundary, Offset = -100, Reference boundary = Left
10

Constrain the vertical position

The cooking time is always on the same level as the time units. Add these relations relative to the CookingTimeHeader element:
  • Above, Offset = -20, Reference boundary = Bottom
  • Below, Offset = -20, Reference boundary = Top