00001 #pragma once
00002
00016 #define MAX_PHONE 50
00017 #define MAX_LINE 1000
00018
00019 const float HLab_INFINITY = 1e10;
00020 const int MAX_NUM_STATES = 5;
00021 const int MAX_FEAT_DIM = 100;
00022 const int DEFAULT_FEAT_LEN = 13;
00023
00024 const int MAX_LINE_LEN = 500;
00025
00026
00027
00028 #define SQ(X) ((X) * (X))
00029
00030 #define MAX2(X, Y) (((X) > (Y))? (X) : (Y))
00031 #define MAX3(X, Y, Z) (MAX2(MAX2(X, Y), Z))
00032
00033 #define MIN2(X, Y) (((X) < (Y))? (X) : (Y))
00034 #define MIN3(X, Y, Z) (MIN2(MIN2(X, Y), Z))
00035