⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 latn_score_0.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: latn_score_0.cc//// isip include files//#include "lattice_node.h"#include "lattice_node_constants.h"// method: get_lmscore_cc//// arguments://  Lattice_node* lnode: (input) the next lattice node//  // return: a float_4 with lm score//// this method gets the lm score of the specified end node//float_4 Lattice_node::get_lmscore_cc(Lattice_node* lnode_a) {  // loop over all the next lattice nodes  //  float_4 score = (float_4)0;  int_4 index = (int_4)0;  for (Link_node* nd = next_nodes_d->get_head_cc();       nd != (Link_node*)NULL; nd = nd->get_next_cc()) {        // break if the desired lattice node is found    //    if ((Lattice_node*)(nd->get_item_cc()) == lnode_a) {      score = lm_scores_d[index];      break;    }    // increment count    //    index++;  }    // return score and exit gracefully  //  return score;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -