📄 tr_lat_get_2.cc
字号:
// file: tr_lat_get_2.cc//// isip include files//#include "train_lattice.h"#include "train_lattice_constants.h"// method: get_lang_model_cc//// arguments:// char_1*& lang_model_a: (output) language Train_Model used for generating Train_Lattice// // return: a logical_1 indicating status//// this method returns the language Train_Model used for Train_Lattice generation//logical_1 Train_Lattice::get_lang_model_cc(char_1*& lang_model_a) { // allocate memory for the output buffer // if (lang_model_a != (char_1*)NULL) { delete [] lang_model_a; } lang_model_a = new char_1[strlen((char*)lang_model_d)+1]; strcpy((char*)lang_model_a, (char*)lang_model_d); // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -