|
tesseract
3.03
|
#include <lm_state.h>
Public Member Functions | |
| LanguageModelState () | |
| ~LanguageModelState () | |
| void | Clear () |
| void | Print (const char *msg) |
Public Attributes | |
| ViterbiStateEntry_LIST | viterbi_state_entries |
| int | viterbi_state_entries_prunable_length |
| float | viterbi_state_entries_prunable_max_cost |
| int | viterbi_state_entries_length |
Definition at line 194 of file lm_state.h.
| tesseract::LanguageModelState::LanguageModelState | ( | ) | [inline] |
Definition at line 195 of file lm_state.h.
| tesseract::LanguageModelState::~LanguageModelState | ( | ) | [inline] |
Definition at line 199 of file lm_state.h.
{}
| void tesseract::LanguageModelState::Clear | ( | ) |
Definition at line 63 of file lm_state.cpp.
| void tesseract::LanguageModelState::Print | ( | const char * | msg | ) |
Definition at line 70 of file lm_state.cpp.
{
tprintf("%s VSEs (max_cost=%g prn_len=%d tot_len=%d):\n",
msg, viterbi_state_entries_prunable_max_cost,
viterbi_state_entries_prunable_length, viterbi_state_entries_length);
ViterbiStateEntry_IT vit(&viterbi_state_entries);
for (vit.mark_cycle_pt(); !vit.cycled_list(); vit.forward()) {
vit.data()->Print("");
}
}
| ViterbiStateEntry_LIST tesseract::LanguageModelState::viterbi_state_entries |
Definition at line 207 of file lm_state.h.
Definition at line 212 of file lm_state.h.
Definition at line 209 of file lm_state.h.
Definition at line 210 of file lm_state.h.