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

📄 lat_set_2.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: lat_set_2.cc//// isip include files//#include "lattice.h"#include "lattice_constants.h"// method: set_lang_model_cc//// arguments://  char_1* lang_model_a: (input) language model used for generating lattice//// return: a logical_1 indicating status//// this method sets the name of the language model used for lattice generation//logical_1 Lattice::set_lang_model_cc(char_1* lang_model_a) {  // get the length of the input string  //  int_4 str_len = strlen((char*)lang_model_a);  // allocate memory for the language model name  //  if (lang_model_d != (char_1*)NULL) {    delete [] lang_model_d;  }  lang_model_d = new char_1[str_len + (int_4)1];  // copy the string  //  strcpy((char*)lang_model_d, (char*)lang_model_a);  // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

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