ClassifyCC
Identifies the page type for the current page by using category-based classification.
Member of namespace
CCSyntax
bool ClassifyCC()
Returns
True if a category is matched. Otherwise, this action returns False.Level
Page level.Details
Use this action to set the following items:
| Item | Description | Comments |
|---|---|---|
| Page type field | If matching categories are found, the value of the page type field is set to the ID of the matching category with the highest confidence score. Otherwise, if no matching categories are found, the page type is unchanged. |
The page type is updated by this action only if the variable UpdateDCOType has a value other than “0”. If you do not want the page type to be updated, set UpdateDCOType to “0” before you call this action. |
| Match variables | Some variables are set to contain category match data. For more information, see Category match variables. |
- Example
// Mandatory prerequisite: An action that performs OCR for the page Recognize() // Mandatory settings SetListenerURLCC("http://localhost:18087") SetKnowledgeBaseCC("Mortgage") SetLanguageCC("English") // Optional settings SetProblemValueCC(0.9) // Identify the page type ClassifyCC()