#include <julius/julius.h>
Go to the source code of this file.
Functions | |
LOGPROB | outprob_style (WCHMM_INFO *wchmm, int node, int last_wid, int t, HTK_Param *param) |
Calculate output probability on a tree lexion node. | |
void | error_missing_right_triphone (HMM_Logical *base, char *rc_name) |
Triphone error message for right context. | |
void | error_missing_left_triphone (HMM_Logical *base, char *lc_name) |
Triphone error message for left context. |
These functions compute the output probability of an input vector from a state on the lexicon tree.
When using triphone acoustic model, the cross-word triphone handling is done here. The head and tail phoneme of every words has corresponding pseudo phone set on the tree lexicon, so the actual likelihood computation will be done as the following:
To denote which operation to do for a state, AS_Style ID is assigned to each state.
The triphone transformation, that will be performed on the state of 2 and 4 above, will be cached on the tree lxicon by each state per frame, to suppress computation overhead.
Definition in file outprob_style.c.
LOGPROB outprob_style | ( | WCHMM_INFO * | wchmm, | |
int | node, | |||
int | last_wid, | |||
int | t, | |||
HTK_Param * | param | |||
) |
Calculate output probability on a tree lexion node.
This function calculates log output probability of an input vector on time frame t in input paramter param at a node on tree lexicon.
wchmm | [in] tree lexicon structure | |
node | [in] node ID to compute the output probability | |
last_wid | [in] word ID of last word hypothesis (used when the node is within the word beginning phone and triphone is used. | |
t | [in] time frame of input vector in param to compute. | |
param | [in] input parameter structure |
< Local workarea for HMM name conversion
Definition at line 351 of file outprob_style.c.
Referenced by bt_discount_pescore().
void error_missing_right_triphone | ( | HMM_Logical * | base, | |
char * | rc_name | |||
) |
Triphone error message for right context.
Output error message when a triphone with the specified right context is not defined.
base | [in] base triphone | |
rc_name | [in] name of right context phone |
< Local workarea for HMM name conversion
Definition at line 516 of file outprob_style.c.
Referenced by next_word(), and scan_word().
void error_missing_left_triphone | ( | HMM_Logical * | base, | |
char * | lc_name | |||
) |
Triphone error message for left context.
Output error message when a triphone with the specified right context is not defined.
base | [in] base triphone | |
lc_name | [in] name of left context phone |
< Local workarea for HMM name conversion
Definition at line 548 of file outprob_style.c.
Referenced by scan_word().