Classification online learning

The script property ForceClassificationOnlineLearning is available and can be accessed from the xDoc as well as xDocInfo through script. This property is not available on user interface, so can only be used by script.

This script property can be used during any event or module that supports xDoc and xDocInfo. This includesThin Client Correction, Thin Client Validation, and Thin Client Verification.

This property is used only to force classification online leaning by setting the value of ForceClassifcationOnlineLearning to TRUE.

This property can be used as long as classification online leaning is enabled for your project. However, the class-level classification settings are not required. This means that you can use this property to mark documents for collection for some classes, and rely on the class-level settings for other classes.

Important If the value is of ForceClassificationOnlineLearning is set to FALSE, the property is ignored.

For example:

Private Sub Batch_Open(ByVal pXRootFolder As CASCADELib.CscXFolder)
   pXRootFolder.DocInfos.ItemByIndex(0).ForceClassificationOnlineLearning = True
End Sub

Alternatively:

Private Sub Document_Validated(ByVal pXDoc As CASCADELib.CscXDocument)
   pXDoc.ForceClassificationOnlineLearning = True
End Sub