asr_context_save()

Save a context.

Synopsis:

#include "asr/asr.h"
 
int asr_context_save(asr_context_hdl_t *chdl, cfg_item_t *cfg)

Arguments:

chdl

The context handle.

cfg

The configuration structure for the recognizer.

Library:

libasr

Description:

The asr_context_save() function invokes the context_save() callback function defined in the recognizer interface, asr_recognizer_if.

Returns:

0 Success.

<0 An error occurred.