asr_result_tag

Properties of the result.

Synopsis:

typedef struct asr_result_tag {
    uint64_t id ;
    int confidence ;
    int score ;
    unsigned begin_ms ;
    unsigned end_ms ;
}asr_result_tag_t;

Data:

uint64_t id
The ID of the result.
int confidence
The confidence score for the speech-to-text result.

A higher score indicates greater confidence.

int score
The score is used to determine the correct context for the result.

The lower the score for a context, the better the match.

unsigned begin_ms
The time in the audio capture (in milliseconds) where the terminal begins.
unsigned end_ms
The time in the audio capture (in milliseconds) where the terminal ends.

Library:

libasr

Description:

This data type represents properties of a recognition result.