SPRAAK
Data Fields
SprCwrPerp Struct Reference
+ Collaboration diagram for SprCwrPerp:

Data Fields

int allocated
 structure is allocated More...
 
int wrd_cnt
 
int hdr_cnt
 number of words in the condition More...
 
int sent_cnt
 number of sentences handled More...
 
int oov_cnt
 number of OOV's handled More...
 
int cnt
 number of words used to calculate the perplexity More...
 
double pp
 the perplexity of a sentence/corpus More...
 
double ppx
 the perplexity of a sentence/corpus excluding OOV's More...
 
SprCwrClassSeqPtr * opt_seq
 the best sequence More...
 
SprCwrLMInterface lmi
 interface to the LM More...
 
SprCwrLMInstance * lm_data
 pointer to the LM-data More...
 
SprCwrSearchLmcHash * lm_cache
 check which LM contexts are actively used More...
 
SprCwrClassSeq * class_seq_list
 leaves in the search tree, waiting to be expanded More...
 
SprCwrClassSeq * free_list
 a list of free elements More...
 
SprCwrClassSeqPtr * recomb_hash_tbl
 
SprCwrClassSeqPtr * first_used_slot
 
SprCwrClassSeq * best_seq
 
int cnt_ngram [16]
 
int cnt_steps [16]
 

Detailed Description

search space, used to find the best word/class sequence for a given LM

Field Documentation

§ allocated

int SprCwrPerp::allocated

structure is allocated

§ wrd_cnt

int SprCwrPerp::wrd_cnt

number of words processed in the current sentence (excluding the condition)

§ hdr_cnt

int SprCwrPerp::hdr_cnt

number of words in the condition

§ sent_cnt

int SprCwrPerp::sent_cnt

number of sentences handled

§ oov_cnt

int SprCwrPerp::oov_cnt

number of OOV's handled

§ cnt

int SprCwrPerp::cnt

number of words used to calculate the perplexity

§ pp

double SprCwrPerp::pp

the perplexity of a sentence/corpus

§ ppx

double SprCwrPerp::ppx

the perplexity of a sentence/corpus excluding OOV's

§ opt_seq

SprCwrClassSeqPtr* SprCwrPerp::opt_seq

the best sequence

§ lmi

SprCwrLMInterface SprCwrPerp::lmi

interface to the LM

§ lm_data

SprCwrLMInstance* SprCwrPerp::lm_data

pointer to the LM-data

§ lm_cache

SprCwrSearchLmcHash* SprCwrPerp::lm_cache

check which LM contexts are actively used

only needed if LM contexts must be released

§ class_seq_list

SprCwrClassSeq* SprCwrPerp::class_seq_list

leaves in the search tree, waiting to be expanded

§ free_list

SprCwrClassSeq* SprCwrPerp::free_list

a list of free elements

§ recomb_hash_tbl

SprCwrClassSeqPtr* SprCwrPerp::recomb_hash_tbl

a hash table containg the newly expanded sequences, the array is made of tuples (pointer_to_first_hash_el,pointer_to_next_used_slot)

§ first_used_slot

SprCwrClassSeqPtr* SprCwrPerp::first_used_slot

pointer to the first used slot (the second element in each slot point to the next used slot)

§ best_seq

SprCwrClassSeq* SprCwrPerp::best_seq

points to the best sequence (inverse tree) after processing a sentence

§ cnt_ngram

int SprCwrPerp::cnt_ngram[16]

histogram count on the context length used in prob. calc. on the best path

§ cnt_steps

int SprCwrPerp::cnt_steps[16]

histogram count on the nr. of. (typically fall-back) steps taken in prob. calc. on the best path