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

#include <recodebeam.h>

Collaboration diagram for tesseract::RecodeNode:

Public Member Functions

 RecodeNode ()
 
 RecodeNode (int c, int uni_id, PermuterType perm, bool dawg_start, bool word_start, bool end, bool dup, float cert, float s, const RecodeNode *p, DawgPositionVector *d, uint64_t hash)
 
 RecodeNode (RecodeNode &src)
 
RecodeNodeoperator= (RecodeNode &src)
 
 ~RecodeNode ()
 
void Print (int null_char, const UNICHARSET &unicharset, int depth) const
 

Public Attributes

int code
 
int unichar_id
 
PermuterType permuter
 
bool start_of_dawg
 
bool start_of_word
 
bool end_of_word
 
bool duplicate
 
float certainty
 
float score
 
const RecodeNodeprev
 
DawgPositionVectordawgs
 
uint64_t code_hash
 

Constructor & Destructor Documentation

◆ RecodeNode() [1/3]

tesseract::RecodeNode::RecodeNode ( )
inline

◆ RecodeNode() [2/3]

tesseract::RecodeNode::RecodeNode ( int  c,
int  uni_id,
PermuterType  perm,
bool  dawg_start,
bool  word_start,
bool  end,
bool  dup,
float  cert,
float  s,
const RecodeNode p,
DawgPositionVector d,
uint64_t  hash 
)
inline

◆ RecodeNode() [3/3]

tesseract::RecodeNode::RecodeNode ( RecodeNode src)
inline

◆ ~RecodeNode()

tesseract::RecodeNode::~RecodeNode ( )
inline

Member Function Documentation

◆ operator=()

RecodeNode& tesseract::RecodeNode::operator= ( RecodeNode src)
inline

◆ Print()

void tesseract::RecodeNode::Print ( int  null_char,
const UNICHARSET unicharset,
int  depth 
) const

Member Data Documentation

◆ certainty

float tesseract::RecodeNode::certainty

◆ code

int tesseract::RecodeNode::code

◆ code_hash

uint64_t tesseract::RecodeNode::code_hash

◆ dawgs

DawgPositionVector* tesseract::RecodeNode::dawgs

◆ duplicate

bool tesseract::RecodeNode::duplicate

◆ end_of_word

bool tesseract::RecodeNode::end_of_word

◆ permuter

PermuterType tesseract::RecodeNode::permuter

◆ prev

const RecodeNode* tesseract::RecodeNode::prev

◆ score

float tesseract::RecodeNode::score

◆ start_of_dawg

bool tesseract::RecodeNode::start_of_dawg

◆ start_of_word

bool tesseract::RecodeNode::start_of_word

◆ unichar_id

int tesseract::RecodeNode::unichar_id

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