Void AllowEmbeddedHypotheses( Logic ) | See Character String, Allow embedded hypotheses. |
Void MinQuality( Real ) | Sets the minimum quality of the hypothesis. Hypotheses with a quality lower than this minimum are discarded. |
Void MaxNonDefinedCount( Real ) | See Character String, Percentage of non-alphabet characters. |
Void MaxWordBreakCount( Real ) | The maximum number of word ends in the line. The line is divided into words based on the Detect words by interword space parameter (see the Element Properties dialog box, Character String tab). The parameter is specified as a ratio: [number of word ends]/[number of characters in the string]. |
Void MinInterwordSpace( Distance ) | Enables division into words based on the width of the space (see the Element Properties dialog box, Character String tab, Detect words by interword space) and specifies the minimum width of the space to Distance (the Min interword space parameter). |
Void WordsCount( Int, Int, Int, Int ) | See the Element Properties dialog box, Character String tab, Words count. |
Void TotalChainLength( Int, Int, Int, Int ) | See Character String, Characters Count. |
Void TotalGapLength( Distance, Distance, Distance, Distance ) | Specifies the maximum allowed total length of spaces in the string as a fuzzy interval. The quality of the hypotheses is assessed based on the total length of the spaces. |
Void MaxGapInLine( Distance ) | Sets the maximum distance between neighboring characters. When generating a hypothesis, FlexiLayout Studio adds characters to the hypothesis as long as the distance between two neighboring characters does not exceed MaxGapInLine. See also Character String, Max space length. |
Void MaxRelativeGapInLine( Real ) | The maximum distance between neighboring characters expressed as a percentage of the line height. |
Void AllowChoppedWords( Logic ) | This flag specifies whether text objects that do not fit entirely within the left and right boundaries should be included in the hypothesis. The default value is true. |
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. Characters that have the specified or smaller part outside the search area are included in the hypothesis. |
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. Characters that have the specified or smaller part outside the search area are included in the hypothesis. |
Void AddAlphabet( String alphabet, Real portion, Logic isRestrictionStrong ) | Sets the alphabet and the allowed percentage of alphabet characters in the hypothesis. The isRestrictionStrong flag specifies whether hypotheses that exceed the permissible percentage of alphabet characters must be considered valid. If the flag is set to true, hypotheses that exceed the permissible percentage are discarded. If the flag is set to false, excess symbols are considered to belong to no alphabet. The default setting is true. |
Void RegularExpression( String ) | Sets the regular expression defining the text of the hypothesis. |
Void WholeWordMode ( Logic ) | This flag specifies whether only whole words must be considered as valid hypotheses. If the flag is set to true, hypotheses made up of parts of words are discarded. The default setting is false. Note. This property is different from AllowChoppedWords in that AllowChoppedWords affects only formulation of hypotheses made up of words on the boundary of the search area, whereas WholeWordMode affects formulation of all hypotheses. |
Void RegularExpressionFromDB( String connectionString, String selectString, Int maxRecordsCount = 1000 ) | Uses a database to set the regular expression defining the text of the hypotheses. For more information, see Databases and text files in the FlexiLayout language. The connectionString argument sets the string for connecting to the database. The selectString argument sets an SQL query, which starts with the SELECT command. To speed up the search, only the first maxRecordsCount variants are used (the default setting is 1000). |
Void RegularExpressionFromFile( String fileName, Int maxRecordsCount = 1000 ) | Uses a text file to set the regular expression defining the text of the hypotheses. For more information, see Databases and text files in the FlexiLayout language. The fileName argument sets the name of the text file. To speed up the search, only the first maxRecordsCount variants are used (the default setting is 1000). |
Void Width( Distance, Distance, Distance, Distance ) | The width of the hypothesis specified as a fuzzy interval. |
Void Height( Distance, Distance, Distance, Distance ) | The height of the hypothesis specified as a fuzzy interval. |
Void TrimSymbols( String ) | Specifies the characters to be trimmed at the beginning and at the end of a hypothesis. |
Void SimilarSymbolQuality( Real ) | Specifies a coefficient by which the quality of a hypothesis should be multiplied if it includes a character from the list of characters that look like those in the alphabet. |
Void AllowedTextRotations ( TextRotations ) | Specifies a set of orientations of the recognized text in which an element search is allowed. |