#include <recodebeam.h>
|
| 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 (const RecodeNode &src) |
|
RecodeNode & | operator= (const RecodeNode &src) |
|
| ~RecodeNode () |
|
void | Print (int null_char, const UNICHARSET &unicharset, int depth) const |
|
Definition at line 92 of file recodebeam.h.
◆ RecodeNode() [1/3]
tesseract::RecodeNode::RecodeNode |
( |
| ) |
|
|
inline |
Definition at line 93 of file recodebeam.h.
DawgPositionVector * dawgs
◆ 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 |
( |
const RecodeNode & |
src | ) |
|
|
inline |
◆ ~RecodeNode()
tesseract::RecodeNode::~RecodeNode |
( |
| ) |
|
|
inline |
◆ operator=()
Definition at line 130 of file recodebeam.h.
130 {
132 memcpy(this, &src, sizeof(src));
134 return *this;
135 }
◆ Print()
void tesseract::RecodeNode::Print |
( |
int |
null_char, |
|
|
const UNICHARSET & |
unicharset, |
|
|
int |
depth |
|
) |
| const |
Definition at line 38 of file recodebeam.cpp.
39 {
40 if (
code == null_char) {
42 } else {
45 }
49 if (depth > 0 &&
prev !=
nullptr) {
51 prev->
Print(null_char, unicharset, depth - 1);
52 } else {
54 }
55}
void tprintf(const char *format,...)
void Print(int null_char, const UNICHARSET &unicharset, int depth) const
◆ certainty
float tesseract::RecodeNode::certainty |
◆ code
int tesseract::RecodeNode::code |
◆ code_hash
uint64_t tesseract::RecodeNode::code_hash |
◆ dawgs
◆ duplicate
bool tesseract::RecodeNode::duplicate |
◆ end_of_word
bool tesseract::RecodeNode::end_of_word |
◆ permuter
◆ 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:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/lstm/recodebeam.h
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/lstm/recodebeam.cpp