How lines and fragments are identified
FlexiLayout Studio considers all the text objects that horizontally intersect the search area (vertically, the objects must fit within the search area in their entirety). The text objects are then grouped into lines. Lines are built left to right and stop when the maximum length of space (set in the Max space length property) is exceeded. In the resulting lines, FlexiLayout Studio identifies character strings, each of which contains characters from only one of the user-defined alphabets. In the same way, it divides lines into fragments.Embedded hypotheses
Next, FlexiLayout Studio formulates a hypothesis for each of the fragments. Depending on whether the Allow embedded hypotheses option is selected, hypotheses are formulated in one of two ways. Suppose FlexiLayout Studio detected three fragments at a previous stage. If the Allow embedded hypotheses option is selected, hypotheses are formulated as follows:How hypothesis quality is calculated
Once all the possible hypotheses are generated, FlexiLayout Studio calculates the Pre-search quality for each. This value estimates how well a hypothesis meets the search constraints set in the Properties dialog box on the Character String tab, and on the Advanced tab in the Advanced pre-search relations field. At this stage, the quality depends on three checks:- Whether the length of the hypothesis in characters falls within the fuzzy interval specified in the Character count property
- Whether the length of the total gap in the line falls within the fuzzy interval specified in TotalGapLength
- Whether the number of words in the line falls within the fuzzy interval specified in the Word count property
