kaldi-error.cc File Reference
#include "base/kaldi-common.h"
#include "base/kaldi-error.h"
#include "base/version.h"
Include dependency graph for kaldi-error.cc:

Go to the source code of this file.

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 
 kaldi::internal
 

Functions

void SetProgramName (const char *basename)
 Called by ParseOptions to set base name (no directory) of the executing program. More...
 
static const char * GetShortFileName (const char *path)
 
bool LocateSymbolRange (const std::string &trace_name, size_t *begin, size_t *end)
 
static std::string KaldiGetStackTrace ()
 
void KaldiAssertFailure_ (const char *func, const char *file, int32 line, const char *cond_str)
 
LogHandler SetLogHandler (LogHandler)
 Set logging handler. More...
 

Variables

int32 g_kaldi_verbose_level = 0
 This is set by util/parse-options. More...
 
static std::string program_name
 
static LogHandler log_handler = NULL