libTLK
1.3.1
|
Recognized word. More...
Data Fields | |
unsigned long | w |
Word identifier. | |
const tLSeq * | cs |
Symbol sequences. | |
int | pos |
Position of the first frame. | |
int | length |
Number of frames in the word or the current symbol. | |
size_t | sym |
In case of symbol alignment, this is the current symbol. | |
size_t | sympos |
In case of symbol alignment, this is the position of the current symbol inside the word. |
Recognized word.
Structure used to store a word recognized by 'tL_recognise'.
const tLSeq* tLRecWord::cs |
Symbol sequences.
It is worth noting that when a crossword lexicon is used, the first and last symbols are wildcards.
Number of frames in the word or the current symbol.
In case of alignment.
int tLRecWord::pos |
Position of the first frame.
In case of alignment.
size_t tLRecWord::sym |
In case of symbol alignment, this is the current symbol.
Usually this value is the same as the one contained in cs, however it could change when a crossword lexicon is used. In case of word alignment, this is the first symbol (the real one, not the wildcard) of cs.
size_t tLRecWord::sympos |
In case of symbol alignment, this is the position of the current symbol inside the word.
In case of word alignment, this is the last symbol (the real one, not the wildcard) of cs. If silences are inserted between words, in symbol alignment each word ends with a silence whose sympos is cs->length+1, and the silence at the beginning of the sentence has sympos= (size_t) -1.
unsigned long tLRecWord::w |
Word identifier.