Skip to main content
A Labeled Field element is a compound element with pre-defined components. Hypotheses for this element are generated and assessed in the same way as for Group element.

Labeled Field hypothesis properties

A hypothesis generated for a Labeled Field element has the following properties:
PropertyDescription
Element nameThe full name of the element.
PageThe number of the page on which the element has been detected.
Surrounding rectThe coordinates of the surrounding rectangle that encloses the region of the hypothesis.
WidthThe width of the region of the hypothesis.
HeightThe height of the region of the hypothesis.
DetectedIndicates whether the area of the element has been detected (true) or a null hypothesis has been generated (false).
From the best pathIndicates whether the hypothesis belongs to the best path in the tree of hypotheses (true) or not (false).
Pre-search qualityIndicates the quality of the hypothesis required for the hypothesis to satisfy the properties of the element, specified either directly or via Advanced pre-search relations.
Post-search qualityIndicates the quality of the hypothesis required for the hypothesis to satisfy the conditions in Advanced post-search relations.
Chain qualityIndicates the current quality of the segment of the chain of hypotheses, from the first subelement of the current group to and including the current subelement. The quality of the chain is calculated by multiplying the qualities of all the subelements in the chain. Chain quality makes it possible to compare rival chains.

Subelement hypothesis properties

The hypotheses generated for subelements have all of the above properties supplemented with the following properties.

LabeledField.Name subelement

PropertyDescription
KeywordIndicates the keywords included in the hypothesis. For each keyword, the number of errors is indicated.

LabeledField.Gap subelement

PropertyDescription
OrientationIndicates the orientation of the detected gap.
Histogram maximum in search areaIndicates the histogram maximum in the search area.
White Gap thresholdIndicates the calculated threshold to treat the gap as detected.
Histogram maximum within hypothesisIndicates the histogram maximum in the region of the gap hypothesis.

LabeledField.Field subelement

A hypothesis generated for this subelement may have different properties depending on the type of field:
Field typePropertyDescription
Any textTextThe text of the hypothesis.
Fixed variantsKeywordThe keywords included in the hypothesis. For each keyword, the number of errors is indicated.
NumberTextThe text of the hypothesis.
CurrencyValueThe detected numerical value.
CurrencyCurrency nameThe detected name of the currency.
DateDayDay.
DateMonthMonth.
DateYearYear.
PhoneNumberThe detected telephone number.
PhonePrefixThe detected telephone prefix.
Regular expressionTextThe text of the hypothesis.