28 tprintf(
"%s ViterbiStateEntry", msg);
33 tprintf(
" with ratings_sum=%.4f length=%d cost=%.6f",
39 tprintf(
" inconsistent=(punc %d case %d chartype %d script %d font %d)",
48 tprintf(
" ngram_cl_cost=%g context=%s ngram pruned=%d",
50 this->ngram_info->context.string(),
71 tprintf(
"%s VSEs (max_cost=%g prn_len=%d tot_len=%d):\n",
75 for (vit.mark_cycle_pt(); !vit.cycled_list(); vit.forward()) {
76 vit.data()->Print(
"");
LanguageModelDawgInfo * dawg_info
LanguageModelNgramInfo * ngram_info
AssociateStats associate_stats
int NumInconsistentPunc() const
LanguageModelFlagsType top_choice_flags
ViterbiStateEntry_LIST viterbi_state_entries
Storage for the Viterbi state.
int viterbi_state_entries_prunable_length
Number and max cost of prunable paths in viterbi_state_entries.
int NumInconsistentChartype() const
float ngram_and_classifier_cost
-[ ln(P_classifier(path)) + scale_factor * ln(P_ngram_model(path)) ]
const char * string() const
void Clear()
Clears the viterbi search state back to its initial conditions.
float viterbi_state_entries_prunable_max_cost
void Print(const char *msg) const
XHeightConsistencyEnum xht_decision
int NumInconsistentCase() const
int viterbi_state_entries_length
Total number of entries in viterbi_state_entries.
void Print(const char *msg)
LMConsistencyInfo consistency_info