|
tesseract
4.00.00dev
|
Struct to store information maintained by various language model components. More...
#include <lm_state.h>
Public Member Functions | |
| LanguageModelState () | |
| ~LanguageModelState () | |
| void | Clear () |
| Clears the viterbi search state back to its initial conditions. More... | |
| void | Print (const char *msg) |
Public Attributes | |
| ViterbiStateEntry_LIST | viterbi_state_entries |
| Storage for the Viterbi state. More... | |
| int | viterbi_state_entries_prunable_length |
| Number and max cost of prunable paths in viterbi_state_entries. More... | |
| float | viterbi_state_entries_prunable_max_cost |
| int | viterbi_state_entries_length |
| Total number of entries in viterbi_state_entries. More... | |
Struct to store information maintained by various language model components.
Definition at line 193 of file lm_state.h.
|
inline |
Definition at line 194 of file lm_state.h.
|
inline |
Definition at line 198 of file lm_state.h.
| void tesseract::LanguageModelState::Clear | ( | ) |
Clears the viterbi search state back to its initial conditions.
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.
| ViterbiStateEntry_LIST tesseract::LanguageModelState::viterbi_state_entries |
Storage for the Viterbi state.
Definition at line 206 of file lm_state.h.
| int tesseract::LanguageModelState::viterbi_state_entries_length |
Total number of entries in viterbi_state_entries.
Definition at line 211 of file lm_state.h.
| int tesseract::LanguageModelState::viterbi_state_entries_prunable_length |
Number and max cost of prunable paths in viterbi_state_entries.
Definition at line 208 of file lm_state.h.
| float tesseract::LanguageModelState::viterbi_state_entries_prunable_max_cost |
Definition at line 209 of file lm_state.h.