#include <cstdio>#include <cstring>#include <sstream>#include <stdexcept>#include <string>#include <vector>#include "base/kaldi-types.h"#include "base/kaldi-utils.h"

Go to the source code of this file.
Classes | |
| struct | LogMessageEnvelope |
| Log message severity and source location info. More... | |
| class | KaldiFatalError |
| Kaldi fatal runtime error exception. More... | |
| class | MessageLogger |
| struct | MessageLogger::Log |
| struct | MessageLogger::LogAndThrow |
Namespaces | |
| kaldi | |
| This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference: | |
| kaldi::internal | |
Macros | |
| #define | KALDI_ERR |
| #define | KALDI_WARN |
| #define | KALDI_LOG |
| #define | KALDI_VLOG(v) |
| #define | KALDI_ASSERT(cond) |
| #define | KALDI_PARANOID_ASSERT(cond) (void)0 |
Typedefs | |
| typedef void(* | LogHandler) (const LogMessageEnvelope &envelope, const char *message) |
| Type of third-party logging function. More... | |
Functions | |
| void | SetProgramName (const char *basename) |
| Called by ParseOptions to set base name (no directory) of the executing program. More... | |
| int32 | GetVerboseLevel () |
| Get verbosity level, usually set via command line '–verbose=' switch. More... | |
| void | SetVerboseLevel (int32 i) |
| This should be rarely used, except by programs using Kaldi as library; command-line programs set the verbose level automatically from ParseOptions. More... | |
| void | KaldiAssertFailure_ (const char *func, const char *file, int32 line, const char *cond_str) |
| LogHandler | SetLogHandler (LogHandler) |
| Set logging handler. More... | |
| bool | LocateSymbolRange (const std::string &trace_name, size_t *begin, size_t *end) |