|
@ -17,8 +17,8 @@ |
|
|
#ifndef KALDI_BASE_KALDI_ERROR_H_ |
|
|
#ifndef KALDI_BASE_KALDI_ERROR_H_ |
|
|
#define KALDI_BASE_KALDI_ERROR_H_ 1 |
|
|
#define KALDI_BASE_KALDI_ERROR_H_ 1 |
|
|
|
|
|
|
|
|
#include "fst/log.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "kaldi-types.h" |
|
|
|
|
|
#include <glog/logging.h> |
|
|
namespace kaldi { |
|
|
namespace kaldi { |
|
|
|
|
|
|
|
|
#define KALDI_WARN \ |
|
|
#define KALDI_WARN \ |
|
@ -32,7 +32,7 @@ namespace kaldi { |
|
|
#define KALDI_ASSERT(condition) CHECK(condition) |
|
|
#define KALDI_ASSERT(condition) CHECK(condition) |
|
|
|
|
|
|
|
|
/***** PROGRAM NAME AND VERBOSITY LEVEL *****/ |
|
|
/***** PROGRAM NAME AND VERBOSITY LEVEL *****/ |
|
|
|
|
|
|
|
|
|
|
|
using namespace kaldi; |
|
|
/// Called by ParseOptions to set base name (no directory) of the executing |
|
|
/// Called by ParseOptions to set base name (no directory) of the executing |
|
|
/// program. The name is printed in logging code along with every message, |
|
|
/// program. The name is printed in logging code along with every message, |
|
|
/// because in our scripts, we often mix together the stderr of many programs. |
|
|
/// because in our scripts, we often mix together the stderr of many programs. |
|
|