SPRAAK
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 SprCwrLMExt * info
 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)
 
SprCwrSearchLmcHash * base_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 SprCwrSLex * ref_lex
 reference to the original shared lexicon-data More...
 
SprCwrLMInstance_ base_lm []
 followed by the base LM More...
 

Field Documentation

§ wxlat

const int* spr_t_cwr_lm_instance_ext::wxlat

convert lexicon word numbering to LM word numbering

§ wdsf

const float* spr_t_cwr_lm_instance_ext::wdsf

optional word dependent scale factor

§ info

const SprCwrLMExt* spr_t_cwr_lm_instance_ext::info

reference to all extension info

§ sm

SprCwrLMExtSM* const* spr_t_cwr_lm_instance_ext::sm

list of sub-models

§ base_prob

_FuncPtr1_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_prob

§ base_lmcn

_FuncPtr2_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_lmcn

§ base_lmcr

void(* spr_t_cwr_lm_instance_ext::base_lmcr) (SprCwrLMInstance *lm, const SprLMContext *lmc)

§ base_lmcr_lmi

SprCwrSearchLmcHash* spr_t_cwr_lm_instance_ext::base_lmcr_lmi

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

§ base_lmc0

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

§ lmc_offs_base

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

§ lmc_offs_sm

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

§ lmc_mx_sz

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)

§ xwrd_offs_wrd

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

§ xwrd_offs_lmc

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

§ class_id_fac

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

§ base_lmcf

_FuncPtr3_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_lmcf

§ base_pall

_FuncPtr4_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_pall

§ base_lmcq

_FuncPtr5_CWR_LM_EXT_ spr_t_cwr_lm_instance_ext::base_lmcq

§ cost_A

float spr_t_cwr_lm_instance_ext::cost_A

§ cost_C

float spr_t_cwr_lm_instance_ext::cost_C

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

§ Cost_A

float spr_t_cwr_lm_instance_ext::Cost_A

last set LM scale factor

§ prob_sf

float spr_t_cwr_lm_instance_ext::prob_sf

scale factor for probs needed for the base_lm

§ prob_low

float spr_t_cwr_lm_instance_ext::prob_low

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

§ prob_sos

float spr_t_cwr_lm_instance_ext::prob_sos

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

§ ref_lex

const SprCwrSLex* spr_t_cwr_lm_instance_ext::ref_lex

reference to the original shared lexicon-data

§ base_lm

SprCwrLMInstance_ spr_t_cwr_lm_instance_ext::base_lm[]

followed by the base LM