ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Approx Regex Functions > IG_REC_approx_regex_maximum_delete_count_set |
Assigns the maximum Delete count.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_maximum_delete_count_set( const HIG_REC_APPROX_REGEX higRecApproxRegex, const AT_INT count ); |
Name | Type | Description |
higRecApproxRegex | const HIG_REC_APPROX_REGEX | The handle to an approximate regex instance. |
count | const AT_INT | The new maximum number of Deletions allowed for a fuzzy search match. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT errCount = 0 ; HIG_REC_APPROX_REGEX higRecApproxRegex = 0 ; IG_REC_approx_regex_create( &higRecApproxRegex ) ; errCount = IG_REC_approx_regex_maximum_delete_count_set ( higRecApproxRegex, 1 ) ; IG_REC_approx_regex_delete( higRecApproxRegex ) ; |
Establishes the maximum number of Deletions allowed for a fuzzy search match. A match is only reported if the total count of Deletions does not exceed this threshold.
The default value is 1.
With maximum error count and maximum delete count set to 1, and maximum insert count and maximum substitute count set to 0, the following strings match the pattern "12345":