CompareFieldsText
Calculates the page type classification and field recognition accuracy statistics and updates database report tables. Call this action after data verification to calculate accuracy based on changes to the data during verification.
Syntax
bool CompareFieldsText (strParam)
Parameters
NoneReturns
Always TrueLevel
Batch level onlyDetails
CompareFieldsText requires that you have previously run the SaveFieldsText action between the recognition (Profiler) and verification tasks. You can prevent inclusion of a page or field in accuracy statistics by setting the ClassifiedPageType or RecongizedText variables to an empty string before calling CompareFieldsText. The action will populate the following batch variables:- PageClassifiedErrors
- The number of page classification errors (errors that result in a change to the page type after auto-classification).
- PageClassifiedCount
- The number of pages classified in the batch.
- FieldRecognitionCount
- The number of fields recognized.
- FieldRecognitionErrors
- The number of fields that were incorrectly recognized (fields that were changed after recognition).
- Example
CompareFieldsText()