sparknlp_jsl.annotator.handle_exception_params#

Module Contents#

Classes#

HandleExceptionParams

Configuration parameters for handling exceptions during processing.

class HandleExceptionParams#

Configuration parameters for handling exceptions during processing.

doExceptionHandling#
setDoExceptionHandling(value: bool)#

If True, exceptions are handled. If exception causing data is passed to the model, a error annotation is emitted which has the exception message. Processing continues with the next one. This comes with a performance penalty.

Parameters:

value (bool) – If True, exceptions are handled.