tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::BestChoiceBundle Struct Reference

Bundle together all the things pertaining to the best choice/state. More...

#include <lm_state.h>

Collaboration diagram for tesseract::BestChoiceBundle:

Public Member Functions

 BestChoiceBundle (int matrix_dimension)
 
 ~BestChoiceBundle ()
 

Public Attributes

bool updated
 Flag to indicate whether anything was changed. More...
 
DANGERR fixpt
 Places to try to fix the word suggested by ambiguity checking. More...
 
PointerVector< LanguageModelStatebeam
 
ViterbiStateEntrybest_vse
 Best ViterbiStateEntry and BLOB_CHOICE. More...
 

Detailed Description

Bundle together all the things pertaining to the best choice/state.

Constructor & Destructor Documentation

◆ BestChoiceBundle()

tesseract::BestChoiceBundle::BestChoiceBundle ( int  matrix_dimension)
inlineexplicit

◆ ~BestChoiceBundle()

tesseract::BestChoiceBundle::~BestChoiceBundle ( )
inline

Member Data Documentation

◆ beam

PointerVector<LanguageModelState> tesseract::BestChoiceBundle::beam

The beam. One LanguageModelState containing a list of ViterbiStateEntry per row in the ratings matrix containing all VSEs whose BLOB_CHOICE is somewhere in the corresponding row.

◆ best_vse

ViterbiStateEntry* tesseract::BestChoiceBundle::best_vse

◆ fixpt

DANGERR tesseract::BestChoiceBundle::fixpt

Places to try to fix the word suggested by ambiguity checking.

◆ updated

bool tesseract::BestChoiceBundle::updated

Flag to indicate whether anything was changed.


The documentation for this struct was generated from the following file: