train_lattice_constants.h

来自「这是处理语音信号的程序」· C头文件 代码 · 共 61 行

H
61
字号
// file: train_lattice_constants.h//// this is the header for the path lattice class//// make sure definitions are only made once//#ifndef __ISIP_TRAIN_LATTICE_CONSTANTS#define __ISIP_TRAIN_LATTICE_CONSTANTS// isip include files//#ifndef __ISIP_INTEGRAL_CONSTANTS#include <integral_constants.h>#endif// forward declaration of classes//#ifndef __ISIP_TRAIN_LINK_LIST_CONSTANTS#include <train_link_list_constants.h>#endif#ifndef __ISIP_TRAIN_LATTICE_NODE_CONSTANTS#include <train_lattice_node_constants.h>#endif#ifndef __ISIP_TRAIN_HASH_TABLE_CONSTANTS#include <train_hash_table_constants.h>#endif// define the class name//#define TRAIN_LATTICE_CLASS_NAME (char_1*)"Train_Lattice"// define some constants//#define TRAIN_LATTICE_DEFAULT_NUM_ARCS (int_4)0#define TRAIN_LATTICE_DEFAULT_NUM_NODES (int_4)0#define TRAIN_LATTICE_DEFAULT_SCALE (float_4)1#define TRAIN_LATTICE_DEFAULT_PENALTY (float_4)0#define TRAIN_LATTICE_KEYSTR_LENGTH (int_4)8// lattice generation related constants//#define TRAIN_LATTICE_MAX_NUM_WORD (int_4)9999#define TRAIN_LATTICE_MAX_NUM_ARC (int_4)99999// define constants related to node information//#define TRAIN_LATTICE_FRAMES_PER_SEC (int_4)100#define TRAIN_LATTICE_FRAME_DURATION (float_4)(1.0/TRAIN_LATTICE_FRAMES_PER_SEC)// define some word strings//#define TRAIN_LATTICE_SENT_START (char_1*)"!SENT_START"#define TRAIN_LATTICE_SENT_END (char_1*)"!SENT_END"// end of file//#endif

⌨️ 快捷键说明

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