Main Page   Compound List   File List   Compound Members   File Members  

arpa_lm_t Struct Reference

Type specification for ARPA LM type. More...

#include <evallm.h>

List of all members.

Public Attributes

unsigned short n
sih_tvocab_ht
unsigned short vocab_size
char ** vocab
flagcontext_cue
int no_of_ccs
table_size_ttable_sizes
id__t ** word_id
bo_t ** bo_weight
prob_t ** probs
index__t ** ind
ptr_tab_t ** ptr_table
unsigned short * ptr_table_size
int * num_kgrams
unsigned short vocab_type
unsigned short first_id


Detailed Description

Type specification for ARPA LM type.

Type specification for arpa_lm type

Definition at line 53 of file evallm.h.


Member Data Documentation

bo_t** arpa_lm_t::bo_weight
 

Pointer to array of id lists

Definition at line 71 of file evallm.h.

Referenced by arpa_bo_ng_prob(), and load_arpa_lm().

flag* arpa_lm_t::context_cue
 

Array of vocabulary words

Definition at line 62 of file evallm.h.

Referenced by compute_perplexity(), display_arpa_stats(), main(), and validate().

unsigned short arpa_lm_t::first_id
 

see define stuff at the top

Definition at line 89 of file evallm.h.

Referenced by display_arpa_stats(), load_arpa_lm(), and validate().

index__t** arpa_lm_t::ind
 

Pointer to array of probabilities

Definition at line 73 of file evallm.h.

Referenced by arpa_bo_ng_prob(), and load_arpa_lm().

unsigned short arpa_lm_t::n
 

Definition at line 55 of file evallm.h.

Referenced by compute_perplexity(), display_arpa_stats(), load_arpa_lm(), main(), and validate().

int arpa_lm_t::no_of_ccs
 

True if word with this id is a context cue

Definition at line 64 of file evallm.h.

Referenced by display_arpa_stats(), and main().

int* arpa_lm_t::num_kgrams
 

Pointer to array of pointer tables

Definition at line 83 of file evallm.h.

Referenced by arpa_bo_ng_prob(), display_arpa_stats(), and load_arpa_lm().

prob_t** arpa_lm_t::probs
 

Pointer to array of back-off weights

Definition at line 72 of file evallm.h.

Referenced by arpa_bo_ng_prob(), and load_arpa_lm().

ptr_tab_t** arpa_lm_t::ptr_table
 

Pointer to array of index lists

Definition at line 77 of file evallm.h.

Referenced by arpa_bo_ng_prob(), and load_arpa_lm().

unsigned short* arpa_lm_t::ptr_table_size
 

Pointer to the tables used for compact representation of the indices

Definition at line 79 of file evallm.h.

Referenced by arpa_bo_ng_prob(), and load_arpa_lm().

table_size_t* arpa_lm_t::table_sizes
 

The number of context cues in the LM

Definition at line 68 of file evallm.h.

Referenced by load_arpa_lm(), and main().

char** arpa_lm_t::vocab
 

Vocabulary size

Definition at line 61 of file evallm.h.

Referenced by compute_perplexity(), display_arpa_stats(), load_arpa_lm(), and validate().

sih_t* arpa_lm_t::vocab_ht
 

n=3 for trigram, n=4 for 4-gram etc.

Definition at line 59 of file evallm.h.

Referenced by compute_perplexity(), load_arpa_lm(), main(), and validate().

unsigned short arpa_lm_t::vocab_size
 

Vocabulary hash table

Definition at line 60 of file evallm.h.

Referenced by arpa_bo_ng_prob(), compute_perplexity(), display_arpa_stats(), load_arpa_lm(), and validate().

unsigned short arpa_lm_t::vocab_type
 

Array indicating how many 2-grams, ... ,n-grams, have been processed so far

Definition at line 87 of file evallm.h.

Referenced by calc_prob_of(), compute_perplexity(), display_arpa_stats(), load_arpa_lm(), and validate().

id__t** arpa_lm_t::word_id
 

Pointer to table size array

Definition at line 69 of file evallm.h.

Referenced by arpa_bo_ng_prob(), and load_arpa_lm().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 21 13:54:48 2004 by doxygen1.2.18