31     std::cerr << 
"Ignore next error:\n";
    37                        const std::string &want_symbol) {
    40   if (found != want_found) {
    41     KALDI_ERR << 
"Found mismatch, got " << found << 
" want " << want_found;
    46   const std::string symbol = trace.substr(begin, end - begin);
    47   if (symbol != want_symbol) {
    48     KALDI_ERR << 
"Symbol mismatch, got " << symbol << 
" want " << want_symbol;
    55       R
"TRACE(./kaldi-error-test(_ZN5kaldi13UnitTestErrorEv+0xb) [0x804965d])TRACE",    56       true, 
"_ZN5kaldi13UnitTestErrorEv");
    59       R
"TRACE(31  libsystem_pthread.dylib             0x00007fff6fe4e40d thread_start + 13)TRACE",    62       R
"TRACE(0 server 0x000000010f67614d _ZNK5kaldi13MessageLogger10LogMessageEv + 813)TRACE",    63       true, 
"_ZNK5kaldi13MessageLogger10LogMessageEv");
    65       R
"TRACE(29  libsystem_pthread.dylib             0x00007fff6fe4f2eb _pthread_body + 126)TRACE",    66       true, 
"_pthread_body");
    80     std::cout << 
"The error we generated was: '" << e.
KaldiMessage() << 
"'\n";
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
 
void SetProgramName(const char *basename)
Called by ParseOptions to set base name (no directory) of the executing program. 
 
Kaldi fatal runtime error exception. 
 
void TestLocateSymbolRange()
 
void VerifySymbolRange(const std::string &trace, const bool want_found, const std::string &want_symbol)
 
const char * KaldiMessage() const
Returns the Kaldi error message logged by KALDI_ERR. 
 
#define KALDI_ASSERT(cond)
 
bool LocateSymbolRange(const std::string &trace_name, size_t *begin, size_t *end)