📄 bw_print_0.cc
字号:
// file: ht_print_0.cc//// isip include files//#include "bw_train.h"#include "bw_train_constants.h"// method: print_state_cc//// arguments:// char_1* file: (output) the new states file// State** states : (input) the new states need to be printed out// int_4 num_st : (input) the number of total states// int_4 num_feat : (input) the number of features// logical_1 output_mode : (input) output states file (binary / ascii)//// return: a logical flag to indicate success//// this method writes to the new states file//logical_1 print_states_cc(char_1* file_a, Train_State** states_a, int_4 num_st_a, int_4 num_feat_a, logical_1 output_mode_a) { // if binary output mode // if (output_mode_a == BW_BINARY_MODE) { print_bin_state_cc(file_a, states_a, num_st_a, num_feat_a); } // if ascii mode // else { print_ascii_state_cc(file_a, states_a, num_st_a, num_feat_a); } // exit gracefully // return ISIP_TRUE;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -