libsent/src/phmm/gprune_none.c File Reference

Calculate probability of a set of Gaussian densities (no pruning). More...

#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
#include <sent/htk_param.h>
#include <sent/hmm.h>
#include <sent/gprune.h>
#include "globalvars.h"

Include dependency graph for gprune_none.c:

Go to the source code of this file.

Functions

LOGPROB compute_g_base (HTK_HMM_Dens *binfo)
boolean gprune_none_init ()
void gprune_none_free ()
void gprune_none (HTK_HMM_Dens **g, int num, int *last_id)
 Compute a set of Gaussians with no pruning.


Detailed Description

Calculate probability of a set of Gaussian densities (no pruning).

Author:
Akinobu LEE
Date:
Thu Feb 17 05:09:46 2005
gprune_none() is one of the functions to compute output probability of a set of Gaussian densities. This function does no pruning, just computing each Gaussian density one by one. For non tied-mixture model, this function is used as default. Specifying "-gprune none" at runtime can also select this function.

gprune_none() will be used by calling outprob_init() to set its pointer to the global variable compute_gaussset. Then it will be called from calc_tied_mix() or calc_mix().

Revision
1.7

Definition in file gprune_none.c.


Function Documentation

LOGPROB compute_g_base ( HTK_HMM_Dens binfo  ) 

Calculate probability of a Gaussian density against input vector on OP_vec.

Parameters:
binfo [in] a Gaussian density
Returns:
the output log probability.

Definition at line 58 of file gprune_none.c.

Referenced by compute_gs_scores(), gprune_beam(), gprune_heu(), gprune_none(), and gprune_safe().

boolean gprune_none_init (  ) 

Initialize and setup work area for Gaussian computation

Returns:
TRUE on success, FALSE on failure.

Definition at line 84 of file gprune_none.c.

Referenced by outprob_init().

void gprune_none_free (  ) 

Free gprune_none related work area.

Definition at line 100 of file gprune_none.c.

Referenced by outprob_init().

void gprune_none ( HTK_HMM_Dens **  g,
int  num,
int *  last_id 
)

Compute a set of Gaussians with no pruning.

The calculated scores will be stored to OP_calced_score, with its corresponding mixture id to OP_calced_id. The number of calculated mixtures is also stored in OP_calced_num.

This can be called from calc_tied_mix() or calc_mix().

Parameters:
g [in] set of Gaussian densities to compute the output probability.
num [in] length of above
last_id [in] ID list of N-best mixture in previous input frame, or NULL if not exist

Definition at line 121 of file gprune_none.c.

Referenced by outprob_init().


Generated on Tue Dec 26 16:18:13 2006 for Julius by  doxygen 1.5.0