asr_context_create()

Create a conversation context.

Synopsis:

#include "asr/asr.h"
 
asr_context_hdl_t* asr_context_create(cfg_item_t *cfg)

Arguments:

cfg

A pointer to the configuration item associated with the context.

Library:

libasr

Description:

The asr_context_create() function invokes the context_create() callback function defined in the recognizer interface, asr_recognizer_if.

Returns:

A pointer to the new context handle on success; NULL on error.