(Sphinx 3.0 specific) A module that wraps up the code of gauden and senone because they are closely related. More...
#include <cmd_ln.h>
#include <logmath.h>
#include <feat.h>
#include "ms_gauden.h"
#include "ms_senone.h"
Go to the source code of this file.
Data Structures | |
struct | mgau2sen_s |
struct | ms_mgau_model_t |
Defines | |
#define | ms_mgau_gauden(msg) (msg->g) |
#define | ms_mgau_senone(msg) (msg->s) |
#define | ms_mgau_mgau2sen(msg) (msg->mgau2sen) |
#define | ms_mgau_topn(msg) (msg->topn) |
Typedefs | |
typedef struct mgau2sen_s | mgau2sen_t |
Functions | |
ms_mgau_model_t * | ms_mgau_init (cmd_ln_t *config, logmath_t *lmath) |
void | ms_mgau_free (ms_mgau_model_t *g) |
Free memory allocated by ms_mgau_init. | |
int32 | ms_cont_mgau_frame_eval (ms_mgau_model_t *msg, int16 *senscr, int32 *senone_active, int32 n_senone_active, mfcc_t **feat, int32 frame, int32 compallsen, int32 *out_bestidx) |
(Sphinx 3.0 specific) A module that wraps up the code of gauden and senone because they are closely related.
At the time at Sphinx 3.1 to 3.2, Ravi has decided to rewrite only single-stream part of the code into cont_mgau.[ch]. This marks the beginning of historical problem of having two sets of Gaussian distribution computation routine, one for single-stream and one of multi-stream.
In Sphinx 3.5, when we figure out that it is possible to allow both 3.0 family of tools and 3.x family of tools to coexist. This becomes one problem we found that very hard to reconcile. That is why we currently allow two versions of the code in the code base. This is likely to change in the future.
Definition in file ms_mgau.h.
void ms_mgau_free | ( | ms_mgau_model_t * | g | ) |
Free memory allocated by ms_mgau_init.
g | In: A set of models to free |
Definition at line 141 of file ms_mgau.c.
References ms_mgau_model_t::g, and ms_mgau_model_t::s.