Tesseract 3.01
WERD_RES Class Reference

#include <pageres.h>

Inheritance diagram for WERD_RES:
ELIST_LINK

List of all members.

Public Member Functions

 WERD_RES ()
 WERD_RES (WERD *the_word)
 WERD_RES (const WERD_RES &source)
 ~WERD_RES ()
void InitPointers ()
void Clear ()
void ClearResults ()
WERD_RES & operator= (const WERD_RES &source)
void CopySimpleFields (const WERD_RES &source)
bool SetupForRecognition (const UNICHARSET &unicharset, bool numeric_mode, ROW *row, BLOCK *block)
void RebuildBestState ()
void CloneChoppedToRebuild ()
void SetupBoxWord ()
void SetScriptPositions (const UNICHARSET &unicharset)
void FakeClassifyWord (const UNICHARSET &unicharset, int blob_count, BLOB_CHOICE **choices)
void BestChoiceToCorrectText (const UNICHARSET &unicharset)
bool ConditionalBlobMerge (const UNICHARSET &unicharset, TessResultCallback2< UNICHAR_ID, UNICHAR_ID, UNICHAR_ID > *class_cb, TessResultCallback2< bool, const TBOX &, const TBOX & > *box_cb, BLOB_CHOICE_LIST_CLIST *blob_choices)
void copy_on (WERD_RES *word_res)

Static Public Member Functions

static WERD_RES * deep_copy (const WERD_RES *src)

Public Attributes

WERD * word
tesseract::BoxWord * bln_boxes
TWERD * chopped_word
SEAMS seam_array
TWERD * rebuild_word
DENORM denorm
tesseract::BoxWord * box_word
GenericVector< int > best_state
GenericVector< STRING > correct_text
tesseract::BoxWord * truth_word
GenericVector< STRING > truth_text
WERD_CHOICE * best_choice
WERD_CHOICE * raw_choice
WERD_CHOICE * ep_choice
REJMAP reject_map
BOOL8 tess_failed
BOOL8 tess_accepted
BOOL8 tess_would_adapt
BOOL8 done
bool small_caps
inT8 italic
inT8 bold
inT16 fontinfo_id
inT8 fontinfo_id_count
inT16 fontinfo_id2
inT8 fontinfo_id2_count
CRUNCH_MODE unlv_crunch_mode
float x_height
float caps_height
BOOL8 guessed_x_ht
BOOL8 guessed_caps_ht
BOOL8 combination
BOOL8 part_of_combo
BOOL8 reject_spaces
GenericVector< inT8 > best_choice_fontinfo_ids

Constructor & Destructor Documentation

WERD_RES::WERD_RES ( ) [inline]
WERD_RES::WERD_RES ( WERD *  the_word) [inline]
WERD_RES::WERD_RES ( const WERD_RES &  source) [inline]
WERD_RES::~WERD_RES ( )

Member Function Documentation

void WERD_RES::BestChoiceToCorrectText ( const UNICHARSET &  unicharset)
void WERD_RES::Clear ( )
void WERD_RES::ClearResults ( )
void WERD_RES::CloneChoppedToRebuild ( )
bool WERD_RES::ConditionalBlobMerge ( const UNICHARSET &  unicharset,
TessResultCallback2< UNICHAR_ID, UNICHAR_ID, UNICHAR_ID > *  class_cb,
TessResultCallback2< bool, const TBOX &, const TBOX & > *  box_cb,
BLOB_CHOICE_LIST_CLIST *  blob_choices 
)
void WERD_RES::copy_on ( WERD_RES *  word_res) [inline]
void WERD_RES::CopySimpleFields ( const WERD_RES &  source)
static WERD_RES* WERD_RES::deep_copy ( const WERD_RES *  src) [inline, static]
void WERD_RES::FakeClassifyWord ( const UNICHARSET &  unicharset,
int  blob_count,
BLOB_CHOICE **  choices 
)
void WERD_RES::InitPointers ( )
WERD_RES & WERD_RES::operator= ( const WERD_RES &  source)
void WERD_RES::RebuildBestState ( )
void WERD_RES::SetScriptPositions ( const UNICHARSET &  unicharset)
void WERD_RES::SetupBoxWord ( )
bool WERD_RES::SetupForRecognition ( const UNICHARSET &  unicharset,
bool  numeric_mode,
ROW *  row,
BLOCK *  block 
)

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines