latn_cstr_3.cc

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

CC
51
字号
// file: latn_cstr_3.cc//// isip include files//#include "lattice_node.h"#include "lattice_node_constants.h"#include <lex_tree.h>#include <lex_tree_constants.h>// method: copy constructor//// arguments://  Lattice_node& lat_node_a: (input) Lattice node from which to copy//                                    information//// return: none//// this is the copy constructor//Lattice_node::Lattice_node(Lattice_node& lat_node_a) {  // set node identity  //  type_d = lat_node_a.type_d;  word_d = lat_node_a.word_d;  pron_variant_d = lat_node_a.pron_variant_d;  frame_d = lat_node_a.frame_d;  node_index_d = lat_node_a.node_index_d;  num_arcs_in_d = lat_node_a.num_arcs_in_d;  num_arcs_out_d = lat_node_a.num_arcs_out_d;    // set node pointers  //  prev_nodes_d = lat_node_a.prev_nodes_d;  next_nodes_d = lat_node_a.next_nodes_d;    // set the lexical tree  //  lex_tree_d = lat_node_a.lex_tree_d;    // set the lm and ac scores arrays  //  lm_scores_d = lat_node_a.lm_scores_d;  ac_scores_d = lat_node_a.ac_scores_d;  // exit gracefully  //}

⌨️ 快捷键说明

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