Skip to main content

Parameter

Description

Void AddLanguage( String )

Adds a language to be used for detecting dates to the list of already specified language(s). The parameter should be a string specifying any of the supported languages: “English”, “Czech”, “Danish”, “Dutch”, “Estonian”, “Finnish”, “French”, “German”, “Greek”, “Hungarian”, “Italian”, “Latvian”, “Lithuanian”, “Norwegian”, “Polish”, “Portuguese”, “Russian”, “Spanish”, “Swedish”, “Turkish”.

Void DateFormat( DateFormats )

See Date. Format. Date.

E.g.

The code below tells the program that the date has the format MM/DD/YYYY

DateFormat: MonthDayYear;

Void DayFormat( DayFormatVariants )

See Date. Format. Day.

Void IgnoreAccents( Logic value = true )

Specifies whether diacritics should to be taken into account when looking for names of months. By default, diacritics are ignored.

Void Language( String )

See Date. Language.

Void MaxDate( String )

A string in the format DD/MM/YYYY which sets the Date parameter. See Date interval. To.

E.g.

The code below tells the program that the date lies between January 1, 2000 and December 31, 2004 (format is irrelevant).

MinDate: “01/01/2000”;
MaxDate: “31/12/2004”;

Void MaxXOutsidePart( Real )

Specifies the part of the character that may extend beyond the search area horizontally. The part of the character is specified by a number from 0 to 1. Those characters are included in the hypothesis, that have the specified or smaller part outside the search area.

Void MaxYOutsidePart( Real )

Specifies the part of the character that may extend beyond the search area vertically. The part of the character is specified by a number from 0 to 1. Those characters are included in the hypothesis, that have the specified or smaller part outside the search area.

Void MaxRelativeGapInLine( Real )

The maximum distance between neighboring characters expressed as a percentage of the line height.

Void MinDate( String )

A string in the format DD/MM/YYYY which sets the Date parameter. See Date interval. From.

Void MinQuality( Real )

Sets the minimum quality of the hypothesis.

Void MonthFormat( MonthFormatVariants )

See Date. Format. Month.

E.g.

The code below tells the program that the month in the date may be written either as a word or as a two-digit number.

MonthFormat: DigitsWithLeadingZeroMonth + WordMonth;

Void Separators( String )

See Date. Separators.

E.g.

The code below tells the program that numbers in the date may be separated by dots (.) or forward slashes (/).

Separators: ”./“;

Void YearFormat( YearFormatVariants )

See Date. Format. Year.

Void AllowedTextRotations ( TextRotations )

Specifies a set of orientations of the recognized text in which an element search is allowed.