This source file includes following definitions.
- DbgScoreInit
- DbgLangName3
- DbgScoreState
- DbgScoreTop
- DbgScoreFlush
- DbgScoreRecord
- DbgScoreRecordUni
- PrintLang
- PrintLang2
- PrintText
- PrintTextSpeculative
- PrintSkippedText
- DbgProbsToStderr
- DbgUniTermToStderr
- DbgBiTermToStderr
- DbgQuadTermToStderr
- DbgWordTermToStderr
#include "encodings/compact_lang_det/cldutil_dbg.h"
#include "encodings/compact_lang_det/win/cld_commandlineflags.h"
DEFINE_bool(dbgscore, false, "Print picture of score calculation");
DEFINE_bool(dbglookup, false, "Print every quad/uni lookup in score calc");
DEFINE_bool(dbgreli, false, "Print reliability in score calc");
namespace cld {
void DbgScoreInit(const char* src, int len) {};
void DbgLangName3(Language lang, char* temp) {};
void DbgScoreState() {};
void DbgScoreTop(const char* src, int srclen, Tote* chunk_tote) {};
void DbgScoreFlush() {};
void DbgScoreRecord(const char* src, uint32 probs, int len) {};
void DbgScoreRecordUni(const char* src, int propval, int len) {};
void PrintLang(FILE* f, const Tote* chunk_tote,
const Language cur_lang, const bool cur_unreliable,
Language prior_lang, bool prior_unreliable) {};
void PrintLang2(FILE* f,
const Language lang1, const Language lang2, bool diff_prior) {};
void PrintText(FILE* f, Language cur_lang, const string& str) {};
void PrintTextSpeculative(FILE* f, Language cur_lang, const string& str) {};
void PrintSkippedText(FILE* f, const string& str) {};
void DbgProbsToStderr(uint32 probs) {};
void DbgUniTermToStderr(int propval, const uint8* usrc, int len) {};
void DbgBiTermToStderr(uint32 bihash, uint32 probs,
const char* src, int len) {};
void DbgQuadTermToStderr(uint32 quadhash, uint32 probs,
const char* src, int len) {};
void DbgWordTermToStderr(uint64 wordhash, uint32 probs,
const char* src, int len) {};
}