#include <sent/stddefs.h>
#include <sent/htk_param.h>
#include <sent/htk_hmm.h>
paramselect.cのインクルード依存関係図
関数 | |
static void | init_mark (HTK_Param *param) |
static void | free_mark () |
static void | mark_exclude_vector (int loc, int len) |
static void | exec_exclude_vectors (HTK_Param *new, HTK_Param *src) |
Execute exclusion for a parameter data according to the exclusion marks. | |
int | exec_exclude_one_vector (VECT *vec, int len) |
Execute deletion for one vector according to the exlusion marks. | |
int | guess_basenum (HTK_Param *p, short qualtype) |
boolean | select_param_vmark (HTK_Param *src, short dst_type_arg) |
HTK_Param * | new_select_param_kind (HTK_Param *src, short dst_type_arg) |
HTK_Param * | new_param_check_and_adjust (HTK_HMM_INFO *hmminfo, HTK_Param *param, boolean vflag) |
Top function to adjust parameter. | |
変数 | |
static int * | vmark |
Exclusion marks of input vector. | |
static int | vlen |
Length of above. | |
static int | vnewlen |
Adjusted new length. | |
static short | src_type |
Newly set source type. |
調整アルゴリズムは以下のとおりです.
paramselect.c で定義されています。
|
Allocate new area for exclusion marks.
paramselect.c の 65 行で定義されています。 参照元 select_param_vmark(). |
|
Free the exclusion marks. paramselect.c の 80 行で定義されています。 |
|
Put exlusion marks for vector for len elements from loc -th dimension.
paramselect.c の 92 行で定義されています。 参照元 select_param_vmark(). |
|
Execute exclusion for a parameter data according to the exclusion marks. Execute vector element exclusion by copying vector from src to new according to the current exclusion marks. The parameter vector of new will be newly allocated here.
paramselect.c の 129 行で定義されています。 |
|
Execute deletion for one vector according to the exlusion marks. This can be used to frame-synchronous parameter adjustment.
paramselect.c の 168 行で定義されています。 |
|
Guess the length of the base coefficient according to the total vector length and parameter type.
paramselect.c の 195 行で定義されています。 |
|
Compare source parameter type and required type in HTK HMM, and set mark.
paramselect.c の 227 行で定義されています。 |
|
Extracts needed parameter vector specified in dst_type_arg from src, and returns newly allocated parameter structure.
paramselect.c の 382 行で定義されています。 |
|
Top function to adjust parameter. It compares the types for the given parameter param and HMM definition hmminfo. If type is not the same, adjustment will be tried. If adjustment is performed, the input param will be freed and the newly allocated adjusted parameter will be returned. Otherwise, the original param will be returned.
paramselect.c の 429 行で定義されています。 |