asrnl_evaluate_result()

Evaluate a result against the configuration.

Synopsis:

#include "asr/asrm.h"
 
asr_result_t* asrnl_evaluate_result(asr_result_t *result)

Arguments:

result

A pointer to the result to evaluated.

Library:

libasr

Description:

The asrnl_evaluate_result() function checks the recognized speech in the specified result against the active configuration sections to interpret it as a rule or an intent. If the result is successfully interpreted, it is appended to the results list.

Returns:

A pointer to the updated results list.