Main Page | Class List | Directories | File List | Class Members | File Members

confidence.h File Reference

#include <stdio.h>
#include <logmath.h>
#include "dict.h"
#include "lm.h"
#include "fillpen.h"
#include "s3types.h"
#include "search.h"

Go to the source code of this file.

Classes

struct  ca_dagnode_type
struct  ca_daglink_type
struct  ca_dag_type

Defines

#define CONFIDENCE_MAX_INT   2147483640
#define CONFIDENCE_MIN_INT   -2147483640
#define CONFIDENCE_FAILURE   0
#define CONFIDENCE_SUCCESS   1
#define MAGIC_CONFIDENCE_CONSTANT   39.5
#define MIN_LOG   -690810000

Typedefs

typedef ca_dagnode_type ca_dagnode
typedef ca_daglink_type ca_daglink
typedef ca_dag_type ca_dag

Functions

S3DECODER_EXPORT int32 confidence_word_posterior (char *dagfile, seg_hyp_line_t *seg_hyp_line, char *uttid, lm_t *lm, dict_t *dict, fillpen_t *fpen)
S3DECODER_EXPORT int compute_lmtype (seg_hyp_line_t *seg_hyp_line, lm_t *lm, dict_t *dict)
S3DECODER_EXPORT int compute_combined_lmtype (seg_hyp_line_t *seg_hyp_line)


Define Documentation

#define CONFIDENCE_FAILURE   0
 

#define CONFIDENCE_MAX_INT   2147483640
 

#define CONFIDENCE_MIN_INT   -2147483640
 

#define CONFIDENCE_SUCCESS   1
 

#define MAGIC_CONFIDENCE_CONSTANT   39.5
 

#define MIN_LOG   -690810000
 


Typedef Documentation

typedef struct ca_dag_type ca_dag
 

typedef struct ca_daglink_type ca_daglink
 

typedef struct ca_dagnode_type ca_dagnode
 


Function Documentation

S3DECODER_EXPORT int compute_combined_lmtype seg_hyp_line_t seg_hyp_line  ) 
 

S3DECODER_EXPORT int compute_lmtype seg_hyp_line_t seg_hyp_line,
lm_t lm,
dict_t dict
 

Compute the LM type of (Need more documents)

Parameters:
seg_hyp_line  A seg_hyp line

S3DECODER_EXPORT int32 confidence_word_posterior char *  dagfile,
seg_hyp_line_t seg_hyp_line,
char *  uttid,
lm_t lm,
dict_t dict,
fillpen_t fpen
 

Compute word posterior probability given a hypotheiss and the corresponding DAG.

Parameters:
dagfile  The file name of the DAG
seg_hyp_line  a pointer of a seg_hyp_line_t
uttid  The utterance ID
lm  An LM
dict  Dictionary
fpen  Filler penalty structure


Generated on Sat Apr 11 00:02:29 2009 by  doxygen 1.3.9.1