latn_cstr_2.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 53 行
CC
53 行
// file: latn_cstr_2.cc//// isip include files//#include "lattice_node.h"#include "lattice_node_constants.h"#include <lex_tree.h>#include <lex_tree_constants.h>// method: overloaded constructor//// arguments:// int_4 node_index_a: (input) node index of the node//// return: none//// this is the overloaded constructor which also sets the node index to a// specified value//Lattice_node::Lattice_node(int_4 node_index_a) { // set node identity // type_d = LATTICE_NODE_DEFAULT_TYPE; word_d = (Word*)NULL; pron_variant_d = LATTICE_NODE_DEFAULT_PRON_VAR; frame_d = LATTICE_NODE_DEFAULT_FRAME; node_index_d = node_index_a; num_arcs_in_d = LATTICE_NODE_DEFAULT_NUM_ARCS_IN; num_arcs_out_d = LATTICE_NODE_DEFAULT_NUM_ARCS_OUT; // set node pointers // prev_nodes_d = (Link_list*)NULL; next_nodes_d = (Link_list*)NULL; // set the lexical tree // lex_tree_d = (Lex_tree*)NULL; // set the lm and ac scores array // lm_scores_d = (float_4*)NULL; ac_scores_d = (float_4*)NULL; // exit gracefully //}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?