IProcessingEvents Interface

This is a callback interface that is used for reporting events from the ClassificationTrainer and the FieldsExtractionTrainer objects during classifier training, field extraction training and NLP models training. The object implementing the IProcessingEvents Interface is connected to the trainer objects via the IConnectionPointContainer interface.

This interface is implemented on the client side. See the detailed implementation advice for your development tool in Working with Connectable Objects.

It is also used by the methods of other objects to report progress and warnings; those methods receive the object implementing this interface as an input parameter.

Methods

Name Description
OnError Called when an error is reported. Delivers to the client information about the errors which occur during the processing.
OnMessage Called when a message is reported. Allows the client to terminate the current operation of the processing.
OnProgress Delivers to the client information about approximate readiness of the current operation.
OnWarning Called when a warning is reported. Delivers to the client information about the warnings which occur on the client side.

Input parameter

The following methods receive a pointer to an object implementing this interface as an input parameter:

See also

ClassificationTrainer

DataSetTableRecords

FieldsExtractionTrainer

Working with Connectable Objects

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.