tr_lat_get_4.cc

来自「这是处理语音信号的程序」· CC 代码 · 共 32 行

CC
32
字号
// file: tr_lat_get_4.cc//// isip include files//#include "train_lattice.h"#include "train_lattice_constants.h"// method: get_model_set_cc//// arguments://  char_1*& model_set_a: (output) Train_Model set used for generating Train_Lattice//  // return: a logical_1 indicating status//// this method returns the Train_Model set used for Train_Lattice generation//logical_1 Train_Lattice::get_model_set_cc(char_1*& model_set_a) {  // allocate memory for the output buffer  //  if (model_set_a != (char_1*)NULL) {    delete [] model_set_a;  }  model_set_a = new char_1[strlen((char*)model_set_d)+1];  strcpy((char*)model_set_a, (char*)model_set_d);    // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

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