SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
spr_t_cwr_lm_instance_ext Struct Reference
+ Collaboration diagram for spr_t_cwr_lm_instance_ext:

Data Fields

const int * wxlat
 convert lexicon word numbering to LM word numbering More...
 
const float * wdsf
 optional word dependent scale factor More...
 
const SprCwrLMExtinfo
 reference to all extension info More...
 
SprCwrLMExtSM *const * sm
 list of sub-models More...
 
_FuncPtr1_CWR_LM_EXT_ base_prob
 
_FuncPtr2_CWR_LM_EXT_ base_lmcn
 
void(* base_lmcr )(SprCwrLMInstance *lm, const SprLMContext *lmc)
 
SprCwrSearchLmcHashbase_lmcr_lmi
 
void(* base_lmc0 )(SprCwrLMInstance *lm, SprLMContext *lmc_0)
 
int lmc_offs_base
 where to find the base LM-context More...
 
int lmc_offs_sm
 where to find the submod LM-context More...
 
int lmc_mx_sz
 
int xwrd_offs_wrd
 
int xwrd_offs_lmc
 
unsigned int class_id_fac
 
_FuncPtr3_CWR_LM_EXT_ base_lmcf
 
_FuncPtr4_CWR_LM_EXT_ base_pall
 
_FuncPtr5_CWR_LM_EXT_ base_lmcq
 
float cost_A
 
float cost_C
 LM scale factor (A) and offset (C) currently in use. More...
 
float Cost_A
 last set LM scale factor More...
 
float prob_sf
 scale factor for probs needed for the base_lm More...
 
float prob_low
 return value for zero probabilities (not found, error, ...) More...
 
float prob_sos
 correction (offset) for P(<s>|...) More...
 
const SprCwrSLexref_lex
 reference to the original shared lexicon-data More...
 
SprCwrLMInstance_ base_lm []
 followed by the base LM More...
 

Field Documentation

const int* spr_t_cwr_lm_instance_ext::wxlat

convert lexicon word numbering to LM word numbering

const float* spr_t_cwr_lm_instance_ext::wdsf

optional word dependent scale factor

const SprCwrLMExt* spr_t_cwr_lm_instance_ext::info

reference to all extension info

SprCwrLMExtSM* const* spr_t_cwr_lm_instance_ext::sm

list of sub-models

_FuncPtr1_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_prob
_FuncPtr2_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_lmcn
void(* spr_t_cwr_lm_instance_ext::base_lmcr)(SprCwrLMInstance *lm, const SprLMContext *lmc)
SprCwrSearchLmcHash* spr_t_cwr_lm_instance_ext::base_lmcr_lmi

hash table for base LM-contexts when LM-context release is needed

void(* spr_t_cwr_lm_instance_ext::base_lmc0)(SprCwrLMInstance *lm, SprLMContext *lmc_0)
int spr_t_cwr_lm_instance_ext::lmc_offs_base

where to find the base LM-context

only present when there is a sub-model active; location of copy of base LM-context (starting with the 'len' element) - 1

int spr_t_cwr_lm_instance_ext::lmc_offs_sm

where to find the submod LM-context

location of submod LM-context (has no len element) - 2

int spr_t_cwr_lm_instance_ext::lmc_mx_sz

max. size of the combined LM-context - 2 (i.e. size not including the len and submod-ndx elements)

int spr_t_cwr_lm_instance_ext::xwrd_offs_wrd

where to find the extra LMWord structure for the base LM in the incomming LMWord structure

int spr_t_cwr_lm_instance_ext::xwrd_offs_lmc

where to find the scratch LM-context array for the base LM in the LMWord structure

unsigned int spr_t_cwr_lm_instance_ext::class_id_fac

factor to multiply the submodel/main-model class id's with so that two class id's can be stored in a single integer

_FuncPtr3_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_lmcf
_FuncPtr4_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_pall
_FuncPtr5_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_lmcq
float spr_t_cwr_lm_instance_ext::cost_A
float spr_t_cwr_lm_instance_ext::cost_C

LM scale factor (A) and offset (C) currently in use.

float spr_t_cwr_lm_instance_ext::Cost_A

last set LM scale factor

float spr_t_cwr_lm_instance_ext::prob_sf

scale factor for probs needed for the base_lm

float spr_t_cwr_lm_instance_ext::prob_low

return value for zero probabilities (not found, error, ...)

float spr_t_cwr_lm_instance_ext::prob_sos

correction (offset) for P(<s>|...)

const SprCwrSLex* spr_t_cwr_lm_instance_ext::ref_lex

reference to the original shared lexicon-data

SprCwrLMInstance_ spr_t_cwr_lm_instance_ext::base_lm[]

followed by the base LM