#include <lab4_vit.H>
Public Member Functions | |
| Lab4VitMain (const map< string, string > ¶ms) | |
| Initialize all data given parameters. | |
| bool | init_utt () |
| Called at the beginning of processing each utterance. | |
| void | finish_utt (double logProb) |
| Called at the end of processing each utterance. | |
| void | finish () |
| Called at end of program. | |
| const Graph & | get_graph () const |
| Returns decoding graph/HMM. | |
| const matrix< double > & | get_gmm_probs () const |
| Returns matrix of GMM log probs for each frame. | |
| vector< int > & | get_label_list () |
| Returns vector to place decoded labels in. | |
| double | get_acous_wgt () const |
| Returns acoustic weight. | |
| double | get_log_prob_beam () const |
| Returns beam width, log base e. | |
| unsigned | get_state_count_beam () const |
| Returns rank beam; 0 signals no rank pruning. | |
| matrix< FrameCell > & | get_chart () |
| Returns full DP chart; only used for storing diagnostic info. | |
Holds global variables and has routines for initializing variables and updating them for each utterance. We do this so that we can call this code from Java as well.
| Lab4VitMain::Lab4VitMain | ( | const map< string, string > & | params | ) |
Initialize all data given parameters.
| bool Lab4VitMain::init_utt | ( | ) |
Called at the beginning of processing each utterance.
Returns whether at EOF.
| void Lab4VitMain::finish_utt | ( | double | logProb | ) |
Called at the end of processing each utterance.
| void Lab4VitMain::finish | ( | ) |
Called at end of program.
| const Graph& Lab4VitMain::get_graph | ( | ) | const [inline] |
Returns decoding graph/HMM.
| const matrix<double>& Lab4VitMain::get_gmm_probs | ( | ) | const [inline] |
Returns matrix of GMM log probs for each frame.
| vector<int>& Lab4VitMain::get_label_list | ( | ) | [inline] |
Returns vector to place decoded labels in.
| double Lab4VitMain::get_acous_wgt | ( | ) | const [inline] |
Returns acoustic weight.
| double Lab4VitMain::get_log_prob_beam | ( | ) | const [inline] |
Returns beam width, log base e.
| unsigned Lab4VitMain::get_state_count_beam | ( | ) | const [inline] |
Returns rank beam; 0 signals no rank pruning.
| matrix<FrameCell>& Lab4VitMain::get_chart | ( | ) | [inline] |
Returns full DP chart; only used for storing diagnostic info.
1.5.5