latn_add_6.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 35 行
CC
35 行
// file: latn_add_6.cc//// isip include files//#include "lattice_node.h"#include "lattice_node_constants.h"// method: replace_lm_score_cc//// arguments:// float_4 lm_score: (input) new lm score which replaces old lm score// int_4 index: position of the lm score in the array//// return: logical_1 indicating status//// this method replaces the existing lm score with a new lm score//logical_1 Lattice_node:: replace_lm_score_cc(float_4 lm_score_a, int_4 index_a) { // replace the old value by the new value // for (int_4 i = 0; i < num_arcs_out_d; i++) { if (i == index_a) { lm_scores_d[i] = lm_score_a; } } // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?