libak  0.4.0
Data Fields
akRecWord Struct Reference

Recognized word. More...

Data Fields

unsigned long w
 Word identifier.
const akCSeqcs
 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.

Detailed Description

Recognized word.

Structure used to store a recognized word by 'ak_recognise'.


Field Documentation

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.

Position of the first frame.

In case of alignment.

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.

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.

 All Data Structures Variables