Add context entries.
#include "asr/asrm.h"
int asrm_context_add_entries(asr_context_hdl_t *chdl, const char *slot_identifier_section, const char *slot_name, asr_slot_entry_t *slot_entry, int num_slot_entries)
A pointer to the handle of the context to add entries to.
The configuration node for the section required (e.g., "phone").
The name of the slot to add (e.g., "voice dialing").
An array of slot entries.
The size of the array of slot entries.
The asrm_context_add_entries() function adds entries to the specified context by first finding the configuration node identified by the slot_identifier_section, then invoking the current recognition module's context_add_entries() callback function on that configuration node. The exact implementation of the context_add_entries() callback function depends on the ASR vendor.
0 Success.
<0 An error occurred.