SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprCwrLMWordHdr Struct Reference

Data Fields

int word_ndx
 
int first_last
 
int class_id
 
const void * ext_info
 

Field Documentation

int SprCwrLMWordHdr::word_ndx

word index according to the lexicon (the LM may use a different internal numbering scheme)

int SprCwrLMWordHdr::first_last

at input: zero at first sub-class, non-zero for all subsequent calls at output: non-zero if more sub-classes are pending (and thus zero when the last sub-class is handled)

int SprCwrLMWordHdr::class_id

class id returned by func_lmcn(); uniquely identifies the sub-class given the LM-context and word index; must have a reasonable upperbound if the LM is to be combined with other LM's (see also the 'max_class_id' field in SprCwrLMInterface) the class_id must be set, even in non multi-class LM's

const void* SprCwrLMWordHdr::ext_info

info from the recognizer passed on to the LM (reserved for future use)