asrm_context_save()

Save a context.

Synopsis:

#include "asr/asrm.h"
 
int asrm_context_save(asr_context_hdl_t *chdl, const char *section_identifier)

Arguments:

chdl

A pointer to the context handle.

section_identifier

The configuration section to save.

Library:

libasr

Description:

The asrm_context_save() function saves the specified context by first finding the configuration section identified by the section_identifier, then invoking the current recognition module's context_save() callback function on that section. The exact implementation of the callback depends on the ASR vendor.

Returns:

0 Success.

<0 An error occurred.