tr_lxn_cstr_3.cc

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

CC
48 行
字号
// file: tr_lxn_cstr_3.cc//// isip include files//#include "train_lex_node.h"#include "train_lex_node_constants.h"// method: constructor//// arguments://  int_4 phone : (input) the monophone at this node//  void_p tree : (input) the lexical tree containing this node//// return: none//// this is an overloaded constructor//Train_Lex_node::Train_Lex_node(int_4 phone_a, void_p tree_a) {  // set the phone-related data  //  phone_d = phone_a;  phone_index_d = TRAIN_LXN_NULL_PHONE;  child_d = (Train_Link_list*)NULL;  // set the word data  //  word_list_d = (Train_Link_list*)NULL;  score_list_d = (float_8*)NULL;  num_words_d = (int_4)0;  // set the max LM score  //  max_lm_score_d = TRAIN_LXN_LM_SCORE;    // initialize the parent lexical tree  //  tree_d = tree_a;    // initialize the status flag  //  status_d = ISIP_FALSE;    // exit gracefully  //}

⌨️ 快捷键说明

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