asr_result_map_status()

Map a vendor-specific recognition result status to a generic ASR result status.

Synopsis:

#include "asr/asr.h"
 
int asr_result_map_status(void *vendor_AsrRes)

Arguments:

vendor_AsrRes

The vendor-specific result status.

Library:

libasr

Description:

The asr_result_map_status() maps a results status and confidence level to a member of the result_status enumeration. The exact mapping is vendor dependent.

Returns:

A corresponding generic ASR result status from the result_status enumeration. Note that a return code of ASR_RESULT_OK means that an exact mapping wasn't successful.