libak
0.4.0
|
Recognized word. More...
Data Fields | |
unsigned long | w |
Word identifier. | |
const akCSeq * | cs |
Character 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 recognized word by 'ak_recognise'.
const akCSeq* akRecWord::cs |
Character 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 akRecWord::pos |
Position of the first frame.
In case of alignment.
size_t akRecWord::sym |
In case of symbol alignment, this is the current symbol.
Usually this value is the same that 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 akRecWord::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 which sympos is cs->length+1, and the silence at the beginning of the sentence has sympos= (size_t) -1.
unsigned long akRecWord::w |
Word identifier.