Identifies the maximum error count.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_maximum_error_count_get( const HIG_REC_APPROX_REGEX higRecApproxRegex, const LPAT_INT lpCount ); |
|
| Name | Type | Description |
|---|---|---|
| higRecApproxRegex | const HIG_REC_APPROX_REGEX | The handle to an approximate regex instance. |
| lpCount | const LPAT_INT | The far pointer indicating where to return the maximum errors 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 ;
AT_INT count = 0 ;
IG_REC_approx_regex_create( &higRecApproxRegex ) ;
errCount = IG_REC_approx_regex_maximum_error_count_get
( higRecApproxRegex,
&count
) ;
IG_REC_approx_regex_delete( higRecApproxRegex ) ;
|
|
Establishes the maximum number of errors allowed for a fuzzy search match. Each Insert, Delete, or Substitute applied contributes to the total error count for a match. A match is only reported if the total error count does not exceed this threshold.
The default value is 1.