#include <lab2_fb.H>
Public Member Functions | |
| Lab2FbMain (const map< string, string > ¶ms) | |
| Initialize all data given parameters. | |
| bool | init_iter () |
| Called at the beginning of processing each iteration. | |
| void | finish_iter () |
| Called at the end of processing each iteration. | |
| 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. | |
| matrix< FbCell > & | get_chart () |
| Returns DP chart. | |
| GmmSet & | get_gmm_set () |
| Returns acoustic model. | |
| vector< GmmCount > & | get_gmm_counts () |
| Returns object for storing GMM counts. | |
| map< int, double > & | get_trans_counts () |
| Returns object for storing transition counts. | |
| const matrix< double > & | get_feats () const |
| Returns feature vectors. | |
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.
| Lab2FbMain::Lab2FbMain | ( | const map< string, string > & | params | ) |
Initialize all data given parameters.
| bool Lab2FbMain::init_iter | ( | ) |
Called at the beginning of processing each iteration.
Returns whether at EOF.
| void Lab2FbMain::finish_iter | ( | ) |
Called at the end of processing each iteration.
| bool Lab2FbMain::init_utt | ( | ) |
Called at the beginning of processing each utterance.
Returns whether at EOF.
| void Lab2FbMain::finish_utt | ( | double | logProb | ) |
Called at the end of processing each utterance.
| void Lab2FbMain::finish | ( | ) |
Called at end of program.
| const Graph& Lab2FbMain::get_graph | ( | ) | const [inline] |
Returns decoding graph/HMM.
| const matrix<double>& Lab2FbMain::get_gmm_probs | ( | ) | const [inline] |
Returns matrix of GMM log probs for each frame.
| matrix<FbCell>& Lab2FbMain::get_chart | ( | ) | [inline] |
Returns DP chart.
| GmmSet& Lab2FbMain::get_gmm_set | ( | ) | [inline] |
Returns acoustic model.
| vector<GmmCount>& Lab2FbMain::get_gmm_counts | ( | ) | [inline] |
Returns object for storing GMM counts.
| map<int, double>& Lab2FbMain::get_trans_counts | ( | ) | [inline] |
Returns object for storing transition counts.
| const matrix<double>& Lab2FbMain::get_feats | ( | ) | const [inline] |
Returns feature vectors.
1.5.5