|
|
@ -41,22 +41,22 @@ typedef float BaseFloat; |
|
|
|
|
|
|
|
// for discussion on what to do if you need compile kaldi |
|
|
|
// without OpenFST, see the bottom of this this file |
|
|
|
#include <fst/types.h> |
|
|
|
|
|
|
|
namespace kaldi { |
|
|
|
using ::int16; |
|
|
|
using ::int32; |
|
|
|
using ::int64; |
|
|
|
using ::uint16; |
|
|
|
using ::uint32; |
|
|
|
using ::uint64; |
|
|
|
typedef float float32; |
|
|
|
typedef double double64; |
|
|
|
} // end namespace kaldi |
|
|
|
//#include <fst/types.h> |
|
|
|
// |
|
|
|
//namespace kaldi { |
|
|
|
//using ::int16; |
|
|
|
//using ::int32; |
|
|
|
//using ::int64; |
|
|
|
//using ::uint16; |
|
|
|
//using ::uint32; |
|
|
|
//using ::uint64; |
|
|
|
//typedef float float32; |
|
|
|
//typedef double double64; |
|
|
|
//} // end namespace kaldi |
|
|
|
|
|
|
|
// In a theoretical case you decide compile Kaldi without the OpenFST |
|
|
|
// comment the previous namespace statement and uncomment the following |
|
|
|
/* |
|
|
|
|
|
|
|
namespace kaldi { |
|
|
|
typedef int8_t int8; |
|
|
|
typedef int16_t int16; |
|
|
@ -70,6 +70,6 @@ namespace kaldi { |
|
|
|
typedef float float32; |
|
|
|
typedef double double64; |
|
|
|
} // end namespace kaldi |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#endif // KALDI_BASE_KALDI_TYPES_H_ |