Main Page   Compound List   File List   Compound Members   File Members  

gen_fb_list.c File Reference

Generates a pointer to an array of size (vocab_size+1) of flags indicating whether or not there should be forced backing off from the vocab item, and returns a pointer to it. More...

#include "evallm.h"
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Functions

fb_infogen_fb_list (sih_t *vocab_ht, int vocab_size, char **vocab, flag *context_cue, flag backoff_from_unk_inc, flag backoff_from_unk_exc, flag backoff_from_ccs_inc, flag backoff_from_ccs_exc, char *fb_list_filename)


Detailed Description

Generates a pointer to an array of size (vocab_size+1) of flags indicating whether or not there should be forced backing off from the vocab item, and returns a pointer to it.

Definition in file gen_fb_list.c.


Function Documentation

fb_info* gen_fb_list sih_t   vocab_ht,
int    vocab_size,
char **    vocab,
flag   context_cue,
flag    backoff_from_unk_inc,
flag    backoff_from_unk_exc,
flag    backoff_from_ccs_inc,
flag    backoff_from_ccs_exc,
char *    fb_list_filename
 

Definition at line 31 of file gen_fb_list.c.

References fb_info::backed_off, flag, fprintf(), i, fb_info::inclusive, rr_calloc(), rr_iclose(), rr_iopen(), and sih_lookup().

Referenced by compute_perplexity(), and validate().


Generated on Tue Dec 21 13:54:47 2004 by doxygen1.2.18