SPRAAK
Data Fields
SpraakWord Struct Reference

Data Fields

const char * word
 The word string. More...
 
const void * handler
 
int word_id
 
int class_id
 
int t0
 Begin time of the word; in mili seconds. More...
 
int len
 Duration of the word in mili seconds. More...
 
float av_bw
 
float ac_score
 
float lm_fwd
 Score provided by the language model: P(word|previous_words). More...
 
float lm_bwd
 

Detailed Description

Structure used to return recognition resuls (single best sequences).

Field Documentation

§ word

const char* SpraakWord::word

The word string.

§ handler

const void* SpraakWord::handler

An opaque handler that can be used to request more detailed info on the word

§ word_id

int SpraakWord::word_id

Number of the word (and class for class based grammars) in the lexicon.

§ class_id

int SpraakWord::class_id

Number of the word (and class for class based grammars) in the lexicon.

§ t0

int SpraakWord::t0

Begin time of the word; in mili seconds.

§ len

int SpraakWord::len

Duration of the word in mili seconds.

§ av_bw

float SpraakWord::av_bw

Normalized average beam width (search effort): is a reasonable indicator for the confidence.

§ ac_score

float SpraakWord::ac_score

Normalised acoustic score, usable as indicator for the confidence (relative scores, e.g. distance with second best, may provide better results).

§ lm_fwd

float SpraakWord::lm_fwd

Score provided by the language model: P(word|previous_words).

§ lm_bwd

float SpraakWord::lm_bwd

Score provided by the language model (inverse evaluation): P(word|next_words).