Enables or disables the checking subsystem.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_spelling_is_enabled_set( AT_BOOL bChksubsystem ); |
Name | Type | Description |
---|---|---|
bChksubsystem | AT_BOOL | Flag that indicates whether the checking subsystem is enabled or disabled. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; HIG_REC_IMAGE higRecImage = 0; HIGEAR higImage = 0; ErrCount += IG_load_file("Image.tif", &higImage); ErrCount += IG_REC_image_import(higImage, &higRecImage); //... ErrCount += IG_REC_spelling_is_enabled_set(TRUE); ErrCount += IG_REC_image_recognize(higRecImage); //... ErrCount += IG_REC_image_delete(higRecImage); ErrCount += IG_image_delete(higImage); |
Running the checking subsystem may improve the overall throughput by marking suspicious words and characters, making it easier to correct them. It can also be set to improve accuracy by auto-correcting suspicious recognized words.
Once the checking subsystem has been enabled, it can still be configured to use any combination of these three possible checking methods.